Real-time Meteor App connected with Arduino plus Wii Nunchuck.
This is a project where i try to figure out how Meteors real-time synchronization feature help with handling and viewing Sensor data. Figure out how it fits to the "Internet of Things" IoT. And how the sensor Data stored in MongoDB can be used for data analysis and visualization.
talk.Slides of related
This project is based on
[Arduino] (https://github.com/arduino/Arduino), an open-source electronics prototyping platform.
[Wii Nunchuck] (https://github.com/rwaldron/johnny-five/blob/master/docs/nunchuk.md), data can be read directly into an Arduino, using TWI (aka I2C).
[Nunchuck Characteristics] (http://lizarum.com/assignments/physical_computing/2008/wii_nunchuck.html)
- Standard I2C interface
- 3-axis accelerometer with 10-bit accuracy
- 2-axis analog joystick with 8-bit A/D converter
- 2 buttons
[Wire up your Wii Nunchuck] (http://lizarum.com/assignments/physical_computing/2008/wii_nunchuck.html) with a adapter to a breadboard and the Arduino. LED attached to Pin 12.
You need to have installed Git and Node.js.
$ curl https://install.meteor.com | /bin/sh $ git clone https://github.com/Goyapa/mongoduinometeor.git && cd mongoduinometeor $ meteor
Setting up Arduino Yun and install DDP client
After i had invested a lot of time figuring out how to get started Node.js on ArduioYun, and failed miserably. (There was an issiu with Yun at that time, don't know if it is actually fixed.)