Skip to content

Barebones example of how to show data from a microcontroller (such as an Arduino) on a webpage, hosted locally. Uses Socket.io to send data from the local server to the browser.

Notifications You must be signed in to change notification settings

jenschr/ArduinoNodeExpressSocket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ArduinoNodeExpressSocket

import and run:

npm install

start the server:

npm start

upload test code to your Arduino:

void setup() {
  Serial.begin(9600);
}

void loop() {
  Serial.println("text from");
  delay(2000);
  Serial.println("your Arduino");
  delay(2000);
}

browse to http://localhost:3001 to see live data from the Arduino

About

Barebones example of how to show data from a microcontroller (such as an Arduino) on a webpage, hosted locally. Uses Socket.io to send data from the local server to the browser.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published