Skip to content

open-simples/simpleNodeSerial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simpleNodeSerial

client (index.html + other js) --> server.js --> Arduino (test.ino)
This test code is set on Arduino uno R3.
Based on the button pressed on the client (port 3000), Builtin LED of Arduino Uno blinks.

Initial set up / dependencies

Make sure that npm and nodeJS are installed on the device.

npm init -y
npm install express serialport

How to use

  1. Upload the arduino code
  2. Close the serial monitor
  3. Initiate server
node server.js
  1. http://localhost:3000

About

Node.js/Express server using serialport to interface with Arduino, with HTML/JS frontend.

Topics

Resources

Stars

Watchers

Forks