Code: Select all
sudo apt-get install arduinoI wouldn't know, I only use Arduino with my Gertboard.Penagwin wrote:Yes but how do I upload the sketch to the arduino over usb?
Just like you would on another computer: connect the cable to the Pi and Arduino, and the IDE should identify your Arduino and let you upload your sketch. Of course, you need the correct cable, the sort usually used for connecting a USB on a computer to a printer (I forget the proper description)Penagwin wrote:Yes but how do I upload the sketch to the arduino over usb?
Penagwin,Penagwin wrote:Yes but how do I upload the sketch to the arduino over usb?
Dunno. I've run nanos and minis direct from the pi happily.klyick wrote:Why is it that people say that the Pi cannot power the Arduino?
The GertBoard pretty much acts as a 3v3 version of an Arduino. I know there are differences, but at the core, they both run a version of the ATMega328 (I think they both use the 328P, but I'm not sure). And the Pi runs the entire GertBoard, so I would assume that it would be safe to run a 3v3 version of an Arduino at the very least. I've run my ATMega328P from the GertBoard on a breadboard, powered from the RPi, and when I get the 20mHz crystals, I'm going to run it at 5v from the RPi.achrn wrote:Dunno. I've run nanos and minis direct from the pi happily.klyick wrote:Why is it that people say that the Pi cannot power the Arduino?
This worked well. One small note though, the openjdk is no longer version '6' but is now version '8'by infotorpk8 » Fri Jul 05, 2013 6:47 am
Yes there is a tutorial for Arduino ide running on raspberry pi.if u have any issues kindly let me know.
http://blogspot.tenettech.com/?p=2723
Here's the updated URL: https://www.raspberrypi.org/magpi-issues/MagPi07.pdfby rickseiden » Thu May 09, 2013 4:03 pm
This was a cover story on issue 7 of the magpi. http://themagpi.com/en/issue/7
""""When I plug my arduino mega into my raspi the only option under (tools/serial port) is (/dev/ttyACM0) and not (/dev/ttyUSB0) so an error pop-up when I upload the sketchdaniel6610 wrote: ↑Thu May 09, 2013 9:30 pmPenagwin,Penagwin wrote:Yes but how do I upload the sketch to the arduino over usb?
First, make sure you are plugging your Arduino into a powered usb hub. The Arduino will draw too much power to power it right from the Pi.
When you run the IDE, you will look in the Tools menu and choose which board you are using. Then you will choose which port it is plugged into, ei. mine is:
Arduino Duemilanove w/ ATmega328 on /dev/ttyUSB0.
Everything else is the same as using it with Windows or Mac.
Hope this helps.
Dan
Hi All,infotorpk8 wrote: ↑Fri Jul 05, 2013 6:47 amYes there is a tutorial for Arduino ide running on raspberry pi.if u have any issues kindly let me know.
http://blogspot.tenettech.com/?p=2723