Penagwin
Posts: 2
Joined: Thu May 02, 2013 5:32 pm

Arduino IDE

Thu May 02, 2013 5:34 pm

Is there a tutorial on how to install the arduino ide on the raspberry pi? I really need one thanks!

DirkS
Posts: 10347
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: Arduino IDE

Thu May 02, 2013 8:03 pm

Well, installation is easy as executing

Code: Select all

sudo apt-get install arduino
from a command line

Gr.
Dirk.

Penagwin
Posts: 2
Joined: Thu May 02, 2013 5:32 pm

Re: Arduino IDE

Fri May 03, 2013 11:20 am

Yes but how do I upload the sketch to the arduino over usb?

DirkS
Posts: 10347
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: Arduino IDE

Fri May 03, 2013 4:51 pm

Penagwin wrote:Yes but how do I upload the sketch to the arduino over usb?
I wouldn't know, I only use Arduino with my Gertboard.
When I search for Arduino IDE on this forum I get several hits, though.

BTW: This *does* show the importance of giving as much relevant info a you can. You were asking about *installing* the IDE, but in fact you want information about *using* it. Quite a difference I would say...

Gr.
Dirk.

SimonSmall
Posts: 220
Joined: Tue Oct 09, 2012 8:13 pm

Re: Arduino IDE

Fri May 03, 2013 5:17 pm

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)

daniel6610
Posts: 4
Joined: Fri Apr 19, 2013 5:10 am

Re: Arduino IDE

Thu May 09, 2013 9:30 pm

Penagwin wrote:Yes but how do I upload the sketch to the arduino over usb?
Penagwin,

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

rickseiden
Posts: 411
Joined: Thu Aug 02, 2012 12:21 pm
Location: Buffalo, NY, USA

Re: Arduino IDE

Thu May 09, 2013 10:03 pm

This was a cover story on issue 7 of the magpi. http://themagpi.com/en/issue/7

Hope that helps!
There are 10 types of people in this world. Those that understand binary, and those that don't.

infotorpk8
Posts: 10
Joined: Fri Jul 05, 2013 6:33 am

Re: Arduino IDE

Fri Jul 05, 2013 6:47 am

hi ,
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

infected rex
Posts: 2
Joined: Fri Jun 28, 2013 4:22 pm

Re: Arduino IDE

Tue Oct 01, 2013 11:09 pm

I need help
i have tried twice to get the ardiuno software on my raspi but nothing :?: :?: :?:

klyick
Posts: 1
Joined: Tue Dec 31, 2013 6:32 pm

Re: Arduino IDE

Tue Dec 31, 2013 6:40 pm

Why is it that people say that the Pi cannot power the Arduino? From what I can tell, the Pi draws about 700 mA from the USB bus, and the bus can support about 1000 mA. I don't know specifically about other Arduinos, but my Arduino Uno draws about 33 mA, when running a sketch. Isn't this well within the limit of what the Pi can handle?

achrn
Posts: 408
Joined: Wed Feb 13, 2013 1:22 pm

Re: Arduino IDE

Tue Dec 31, 2013 7:43 pm

klyick wrote:Why is it that people say that the Pi cannot power the Arduino?
Dunno. I've run nanos and minis direct from the pi happily.

rickseiden
Posts: 411
Joined: Thu Aug 02, 2012 12:21 pm
Location: Buffalo, NY, USA

Re: Arduino IDE

Tue Dec 31, 2013 7:53 pm

achrn wrote:
klyick wrote:Why is it that people say that the Pi cannot power the Arduino?
Dunno. I've run nanos and minis direct from the pi happily.
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.
There are 10 types of people in this world. Those that understand binary, and those that don't.

jb63
Posts: 152
Joined: Mon May 11, 2015 6:41 pm
Location: Chicago, USA
Contact: Website

Re: Arduino IDE

Mon Mar 14, 2016 5:50 pm

I read somewhere that the GertBoard runs ok with older versions of the PI, but not RPI 2/3 ... is this correct?

PaulCarew
Posts: 2
Joined: Thu Jul 07, 2016 9:26 pm

Re: Arduino IDE

Thu Jul 07, 2016 9:31 pm

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
This worked well. One small note though, the openjdk is no longer version '6' but is now version '8'
So step 2 item should be:
"sudo apt-get install openjdk-8-jre"

PaulCarew
Posts: 2
Joined: Thu Jul 07, 2016 9:26 pm

Re: Arduino IDE

Thu Jul 07, 2016 9:41 pm

by 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
Here's the updated URL: https://www.raspberrypi.org/magpi-issues/MagPi07.pdf

Marnus
Posts: 1
Joined: Sun Oct 08, 2017 10:25 am

Re: Arduino IDE

Sun Oct 08, 2017 3:19 pm

:?:
daniel6610 wrote:
Thu May 09, 2013 9:30 pm
Penagwin wrote:Yes but how do I upload the sketch to the arduino over usb?
Penagwin,

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
""""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 sketch
""""

mgd
Posts: 1
Joined: Wed Jul 22, 2015 12:49 am

Re: Arduino IDE

Fri Jan 26, 2018 11:12 pm

infotorpk8 wrote:
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
Hi All,

The top level domain for this blogpost has changed from a .com to a .net

http://blogspot.tenettech.net/?p=2723


Mark

Return to “Automation, sensing and robotics”