🤖 This repo serves as resources for the Hardware && JS workshop given at SHA2017
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
blink
button
hello-world
twitter
webserver
.env.example
.gitignore
LICENSE
README.md
nano-button-led.fzz
nano-button-led_bb.png
nano-led.fzz
nano-led_bb.png
package-lock.json
package.json

README.md

JavaScript plus Hardware equals Nodebots

Nodebots Workshop

🤖 This repo serves as resources for the Hardware && JS workshop given at SHA2017

Requirements

If you have a new Arduino you will need to install the Firmata firmware on the Arduino. Perform the instructions in this blog post to do so.

Examples

There are in total five examples in this repository that you can check out. In each of the folders you can find instructions on the hardware setup and how to run the code. But first make sure to perform the following instructions:

git clone git@github.com:dkundel/nodebots-workshop.git
cd nodebots-workshop
npm install

Make sure you Arduino is plugged in. You might have to install a driver for your Arduino to be recognized. If your Arduino is a clone that uses the CH340G chip you can take the driver from this Sparkfun page.

These are the examples available:

Name What? Command to run
hello-world Makes the LED on the Arduino blink npm run helloworld
blink Makes an external LED blink npm run blink
button Lights up LED when a button is pressed npm run button
webserver Spins up a webserver, lights up an LED on every request and performs a POST request on button press npm run webserver
twitter Lights up the LED whenever someone tweets about #nodebots and tweets on button press npm run twitter

Resources

License

MIT

Collaborators