Lunar Vein: Arduino
A REST API based serial communication, assisted Firmata protocol and johnny-five API, enabling software communication with the Arduino board using the Server API., that's it. Idk about electronics and networking actually. But that piece of knowledge motivated me to interact it with other software. Enjoy (づ ̄ ³ ̄)づ
Setup
Board
Arduino assembly guide also available in johnny-five documentation
- Download Arduino IDE
- Plug in your Board via USB
- Open Arduino IDE then select your Board
- Go to
File > Examples > Firmata
SelectStandarFirmataPlus
- Upload the sketch
Server
- Clone project and Install
> git clone https://github.com/norman-andrians/lunar-vein-arduino.git && cd lunar-vein-arduino > npm i
- Add
.env
file in the project root directory with theSERIAL_PORT
variableSERIAL_PORT=/dev/ttyUSB0
- Run the project
> npm start
Languages
TypeScript
97%
HTML
1.5%
JavaScript
1.5%