UPDATE: Johnny-Five is fully working now! read more about it here!
However, the Arduino board I got with my course, was an Arduino Leonardo, not an Arduino UNO, which was the model of the board that we had used previously. Apparently, there are some issues with Johnny-Five that make it wise to compile it using the Arduino 1.0 IDE and Standard Firmata. The Arduino Leonardo does not appear as a selectable board in the Arduino 1.0 IDE, and, although there seems to exist some workarounds, I wasn’t able to make it work (the board connected but didn’t respond).
Load the duino framework to your Arduino board, and then, try:
1 2 3 4 5 6 7 8 9
And if you have correctly placed a LED in the PIN 13, you should be seeing it blinking right now.
So… enter the Raspberry Pi!
What about deploying your code to a Raspberry Pi, talking to the Arduino board via serial port?
Apparently it should work, as a Raspberry Pi should have no problem running Node.js… but I found a couple of problems I had to solve before seeing it working.
We’ll see this problems and how to solve them in the next post :)