To my surprise and delight everything just worked out of the box. A couple of people have asked me what I did.
Here's what:
Installing the IDE
sudo apt-get updatesudo apt-get upgrade
sudo apt-get install arduino
Since I normally work at the command line, I needed to fire up X-windows
startx
The menu included a category electronics, and the Arduino IDE was located there.
Uploading a sketch
![]() |
Shrimp and Pi |
I configured the IDE to use the appropriate board type (normally Arduino UNO for a Shrimp) and selected /dev/ttyUSB0 as the port.
I opened and uploaded the examples/blink sketch. The IDE compiled it (which took about a minute) and uploaded it successfully. Then I watched the blinkenlight, as Liz Upton would say :)
Update
This morning I repeated my experiment with an Arduino Uno. Everything worked without problem. The only difference was that I needed to select /dev/ttyACM0 as my port in the IDE.One thing I forgot to mention yesterday: on the Pi I used, the pi account was a member of the dialout group, which I suspect is a requirement.
No comments:
Post a Comment