Go Down

Topic: Arduino with Raspberry Pi (Read 11 times) previous topic - next topic

Si

The Raspberry Pi is creating quite a storm of interest. I have just got mine and one of the first things that I wanted to try was to get it talking to an Arduino over USB using Python.

.. and you know what? It proved to be a lot easier than I expected. This is mainly because, after all, despite its diminutive price tag, the Pi is just a Linux box. I got communication working both ways, with the Arduino sending 'Hello Pi' to the Pi and at the same time, testing for a digit coming in. When it receives a digit, it flashes the number of times indicated by the digit.

http://www.doctormonk.com/2012/04/raspberry-pi-and-arduino.html

--
My New Arduino Book: http://www.arduinobook.com

april

Were going to see a lot more of this little devil
Massive possibilities and lucky you to have one to play with already.

martin_bg

I am exhausted by the waiting though.
one day...

Si

I'm very impressed with it. I don't however see it as an Arduino replacement, because:

* The GPIO pins are 3V and direct from the great big system on a chip. One accidental short and it thats the end of your Pi. No chance of just popping in another ATMega328.

* Who want's an embedded controller that takes half a minute to boot Linux?

I think that the Raspberry Pi Foundation's biggest problem will be satisfying demand.
--
My New Arduino Book: http://www.arduinobook.com

robtillaart

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Si

Strange - the link works for me - I wonder if I have a DNS problem. Anyone else have a problem seeing it?

Positive and negative responses appreciated.

:)
--
My New Arduino Book: http://www.arduinobook.com

Jantje

The link works for me.

I was wondering. It raspberry pi may be a great alternative for the ethernet shield.
Best regards
Jantje
Do not PM me a question unless you are prepared to pay for consultancy.
Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -

Si

Quote
I was wondering. It raspberry pi may be a great alternative for the ethernet shield.


What a good idea!

A simple little proxy in Python to forward all requests coming from Serial. I like it.

Mind you, you still have the booting up problem.
--
My New Arduino Book: http://www.arduinobook.com

Jantje

My current project takes way longer than 1 minute to boot.
This because I need a GPS signal and the ethernet to connect.
So for some projects it may not be a problem.
Best regards
Jantje
Do not PM me a question unless you are prepared to pay for consultancy.
Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -

Si

#9
Apr 30, 2012, 08:47 pm Last Edit: Apr 30, 2012, 11:43 pm by Si Reason: 1
Sounds good!

An entire Linux box really shouldn't be cheaper than an Ethernet shield.

Or is it the other way around ;)
--
My New Arduino Book: http://www.arduinobook.com

Graynomad

Quote
An entire Linux box really shouldn't be cheaper than an Ethernet shield.

That's the way things are going.

______
Rob
Rob Gray aka the GRAYnomad www.robgray.com

Jantje

29 euro's for the ethernet shield on the arduino shop
35$ for the raspberrie pi
that doesn't make much financial difference. This way I can use the arduino for real time stuff and off-load the ethernet load and SD load to the raspberrie
Sounds like a good deal to me (that is except for the additional software stack - being a non Linux person)

Best regards
Jantje
Do not PM me a question unless you are prepared to pay for consultancy.
Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -

april

#12
May 01, 2012, 11:24 am Last Edit: May 01, 2012, 11:49 pm by april Reason: 1
I use Puppy linux
It takes 72 seconds to boot to where it is connected and I am usually reading my email .Configured the way i have it it closes in less than 3 seconds.

Puppy Linux is frequently run from a 1Gig memory stick or minature SD card if you want so its bringing the total package size needed down remarkably. In that configuration it loads in about 30 seconds and can be reduced by dropping a lot of unnecessary stuff from the kernel

Squash it all in a hard drive case with a lipo battery ?

The wait to get a Pi though is ridiculous but they just started advertising it way too soon to attract interest and discourage competition I suppose . It will get done better again by someone else very soon

AWOL

Quote
The GPIO pins are 3V

This is the biggest put-off for me too.
I have BeagleBoard and BeagleBone, and the interface level-conversions are a PITA.
"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

jraskell


29 euro's for the ethernet shield on the arduino shop
35$ for the raspberrie pi


Ethernet shield delivered to your door in 3-5 days (ground).
Raspberry Pi delivered to your door in... some day... maybe. :(

Go Up