https://github.com/chanulee/simplenodeserial
https://github.com/chanulee/simplenodeserial
arduino nodejs nodejs-server serial-communication
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/chanulee/simplenodeserial
- Owner: chanulee
- Created: 2024-12-13T20:35:12.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-12-18T01:00:00.000Z (12 months ago)
- Last Synced: 2025-02-13T17:17:39.904Z (10 months ago)
- Topics: arduino, nodejs, nodejs-server, serial-communication
- Language: HTML
- Homepage:
- Size: 27.3 KB
- 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