Skip to content

Latest commit

 

History

42 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple-Serialport

A simple node.js serial port communication code for Arduino based projects to send back and forth multiple data, added hand shack.

Usage

# Change to the working directory
$ cd .../Simple-Serialport

# This will install all package you need to run the code.
$ npm install

# Run the code
$ npm start

Update

Now support multiple data exchange. Quick look here:

You can send array from the node.js code. In the example, the serial runs a buadrate of 9600 bps, support up to 6 ~ 7 intiger data in an array, if you want to send more data in an array, you can increase the baudrate higher.

With the highest baudrate supported by regular Arduino(like UNO), 115200 bps, 15 ~ 18 intigers can be send in an array with decent speed. (like 1,34,356,1034,...etc. I assume you dont need to send crazy big interger value)

About

Simple but powerful serial communication node.js code for Arduino based projects.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages