With the Cache Maker club we’re always looking for ways to make it easier for kids to interact with hardware. Traditionally, interacting with hardware meant learning assembly or if you picked the right platform you could write embedded C. Today things are different.
- Johnny Five – node library to communicate via usb port to hardware device
- Arduino boards have a bunch of pins you can read from or write to – get a 1 or a 0
- You can set up callbacks for every time a pin is on
- Node Xbox Controller – let’s you bind to events coming from an xbox controller
- Slides and code from the presentation.
Here’s Jamison flying a parrot drone using an xbox controller via node.js: