Offline
Newbie
Karma: 0
Posts: 14
|
 |
« on: May 22, 2012, 02:32:08 pm » |
Hi Folks, Thought I'd share my very quick walk through for getting ArduinoIDE running on RaspberryPi. http://go.je/19b
|
|
|
|
|
Logged
|
|
|
|
|
Belgium
Offline
Edison Member
Karma: 32
Posts: 1066
Arduino rocks; but with my plugin it can fly rocking the world ;-)
|
 |
« Reply #1 on: May 22, 2012, 03:55:28 pm » |
wauw great work. Where can I order a rasppberry?  Greetings from Belgium
|
|
|
|
|
Logged
|
|
|
|
|
Tacoma, WA
Offline
Full Member
Karma: 3
Posts: 179
Arduino rocks
|
 |
« Reply #2 on: May 23, 2012, 12:16:41 am » |
Cool. The default Debian install had 018 in the package manager. I never could figure out how to update it to 1.0 (1.0.1 now). The only thing I see being a problem with your instructions is you don't cover the final install, which would put it into the apps menu in the window manager..
|
|
|
|
|
Logged
|
Brian from Tacoma, WA Arduino evangelist - since Dec, 2010.
|
|
|
|
France
Offline
Jr. Member
Karma: 3
Posts: 68
Arduino rocks
|
 |
« Reply #3 on: May 23, 2012, 12:48:58 am » |
Raspberry pi is out of stock now. Next orders will be opened in June/July.
|
|
|
|
|
Logged
|
|
|
|
|
Manchester (England England)
Offline
Brattain Member
Karma: 269
Posts: 25394
Solder is electric glue
|
 |
« Reply #4 on: May 23, 2012, 10:07:57 am » |
Where can I order a rasppberry Farnell www.farnell.comor RS http://www.rs-online.com/index.htmlThat is RS as in Radio Spares not Radio Shack.
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
God Member
Karma: 0
Posts: 592
|
 |
« Reply #5 on: May 23, 2012, 10:13:34 am » |
hey can you try bootloading using the UART on the GPIO header directly?
|
|
|
|
|
Logged
|
I'm an electrical engineering student. I designed the USnooBie (V-USB dev kit) which is sold at Seeed Studio 
|
|
|
|
Manchester (England England)
Offline
Brattain Member
Karma: 269
Posts: 25394
Solder is electric glue
|
 |
« Reply #6 on: May 23, 2012, 10:23:11 am » |
on the GPIO header directly? Well as the Pi uses 3.3V and the arduino uses 5V, you would fry your pi. The only place I have seen a fried pie is Scotland where they deep fry a macaroni pie.
|
|
|
|
|
Logged
|
|
|
|
|
Tacoma, WA
Offline
Full Member
Karma: 3
Posts: 179
Arduino rocks
|
 |
« Reply #7 on: May 23, 2012, 11:09:02 am » |
Is there a device like the MAX232, but instead of going from 5v to 12v, goes from 5v to 3.3v? Seems like this would be handy.
|
|
|
|
|
Logged
|
Brian from Tacoma, WA Arduino evangelist - since Dec, 2010.
|
|
|
|
Manchester (England England)
Offline
Brattain Member
Karma: 269
Posts: 25394
Solder is electric glue
|
 |
« Reply #8 on: May 23, 2012, 11:31:04 am » |
There are plenty of ways to do logic level translation, transistor, FET or buffer.
I have used the 74LS07, that is a non inverting buffer with an open collector output so you simply power it with 5V and connect the output to a 1K pull up resistor to 3V3.
|
|
|
|
|
Logged
|
|
|
|
|
Belgium
Offline
Edison Member
Karma: 32
Posts: 1066
Arduino rocks; but with my plugin it can fly rocking the world ;-)
|
 |
« Reply #9 on: May 23, 2012, 11:49:56 am » |
You can only show interests on these sites. I just checked on farnell and I'm enlisted at RS. So: Where can I order a rasppberry?  Best regards Jantje
|
|
|
|
|
Logged
|
|
|
|
|
Manchester (England England)
Offline
Brattain Member
Karma: 269
Posts: 25394
Solder is electric glue
|
 |
« Reply #10 on: May 23, 2012, 02:11:01 pm » |
Where can I order a rasppberry? Those are the only two places you can order them from. First you register an interest, then they log that and put you in a queue, then they invite you to order one. I have been sent today by RS, a unique activation code that will allow me to order one. However, I ordered one on the launch day from Farnell and was sent an email yesterday saying it had been dispatched so I am expecting mine tomorrow. They sold 100,000 on day one alone. There is a bit of a backlog.
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 27
Arduino rocks
|
 |
« Reply #11 on: June 13, 2012, 09:22:39 pm » |
I followed your directions, and it does run, however it's having trouble detecting the serial ports. If I put an ftdi based arduino on (at boot time) it shows up as /dev/ttyUSB0 in the Serial port menu, but the download fails. UNOs don't show up in the menu, but they do show up in the /dev/tty.... but Arduino IDE can't see them. Using the stock debian squeeze image.
|
|
|
|
|
Logged
|
|
|
|
|
Dubuque, Iowa, USA
Offline
Edison Member
Karma: 12
Posts: 1521
|
 |
« Reply #12 on: June 14, 2012, 01:12:53 am » |
try: "chmod a+rwx /dev/ttyUSB*". If that's the issue then the serial port should be immediately available in the Arduino IDE.
You can modify the udev rule to make this automatic. For me this was /lib/udev/rules.d/40-usb_modeswitch.rules and adding "MODE=0666" to the line beginning with "KERNEL==".
|
|
|
|
|
Logged
|
|
|
|
|
Tacoma, WA
Offline
Full Member
Karma: 3
Posts: 179
Arduino rocks
|
 |
« Reply #13 on: June 14, 2012, 10:20:02 pm » |
Raspbian has Arduino 1.0.1 in the repository's.. Simple "sudo apt-get install arduino", sets all the permissions and everything.. 
|
|
|
|
« Last Edit: June 14, 2012, 10:24:05 pm by UnaClocker »
|
Logged
|
Brian from Tacoma, WA Arduino evangelist - since Dec, 2010.
|
|
|
|
Germany
Offline
Full Member
Karma: 1
Posts: 126
|
 |
« Reply #14 on: June 15, 2012, 02:20:10 am » |
Just Great! I´m on both Lists for a while and only got one "Just wait a bit"-Mail until yet :-/ It really gets an amazing combination of Pi & Ardu, I expect. My whole livingroom will be connected then, I suppose 
|
|
|
|
|
Logged
|
|
|
|
|
|