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.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
.gitignore
README.md
app.js
index.html
package-lock.json
package.json

README.md

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

You can’t perform that action at this time.