Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chanulee/simplenodeserial
https://github.com/chanulee/simplenodeserial
Last synced: 1 day ago
JSON representation
- Host: GitHub
- URL: https://github.com/chanulee/simplenodeserial
- Owner: chanulee
- Created: 2024-12-13T20:35:12.000Z (9 days ago)
- Default Branch: main
- Last Pushed: 2024-12-13T20:52:00.000Z (9 days ago)
- Last Synced: 2024-12-13T21:27:43.778Z (9 days ago)
- Language: HTML
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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