Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/chanulee/simplenodeserial


https://github.com/chanulee/simplenodeserial

Last synced: 1 day ago
JSON representation

Awesome Lists containing this project

README

        

# 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
```
4. http://localhost:3000