Skip to content

Simple NodeJS server to relay messages from a serial port device (e.g. Arduino) to a web page

License

Notifications You must be signed in to change notification settings

rolfmobile99/basic-socket-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

basic-socket-app

Simple NodeJS server to relay messages from a serial port device (e.g. Arduino) to a web page

Credits

Much of what is here is based on code from this excellent tutorial by Adam Thomas:

[Communicating from an Arduino to an HTML/JavaScript Webpage] (https://www.youtube.com/watch?v=gQYsUjT-IBo)

Instructions

Start your Arduino with the sketch called basic-analog-out. Of course, the USB cable needs to stay connected to your computer.

Then, start node server with:

node app.js

Then, start a web browser to view the results: Visit this URL:

http://localhost:3000/

About

Simple NodeJS server to relay messages from a serial port device (e.g. Arduino) to a web page

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published