Robots! Made of cardboard! Programmed with node.js!
How'd they turn out? Pretty terrible.
Featured in this Daily Dot article
- Cardboard
- Zip ties
- Tape or something
- An Arduino Uno
- A servo or something (here's one)
- Something that cuts, like a knife or broken bottle maybe
- A computer that can run node.js (like a laptop)
-
Install node.js on your computer
-
Install the Arduino IDE
-
plug in the Arduino
-
Open the Arduino IDE
-
Go to examples -> Firmata -> Standard Firmata
-
Program your Arduino with Standard Firmata
-
Build your awesome robot
-
Make your servo and Arduino plug together like this
-
Run this in your terminal to install the one dependency
$ npm install johnny-five
-
Run the robot robot
$ node terrible-robot.js