Johnny-Five servo clock
A firmware project using nodejs to implement a servo motor clock
Artwork by Ryan
this project is just for fun, cause i really want to try build something based on node bot, and i think node clock may be a good choice.
- build one digit (done!!)
- build the whole clock (include four digits)
- Arduino UNO x 1
- SG90 servo motor x 7 (per digit)
- some peripherals
- based on the official github of Johnny-Five to set up the hardware (UNO board, upload Firmata, etc.)
- use terminal to start the code
cd Johnny-Five clock/ node strobe.js
- start the sr function in REPL (after run the strobe.js script, it will automatically enter the REPL env)
sr() // must run this function; otherwise, it won't work
All contribution is warmly welcome.