Pages: [1] 2   Go Down
Author Topic: Arduino with Raspberry Pi  (Read 11546 times)
0 Members and 1 Guest are viewing this topic.
UK
Offline Offline
God Member
*****
Karma: 13
Posts: 905
Twitter: @simonmonk2
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Logged

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

0
Offline Offline
Full Member
***
Karma: 4
Posts: 218
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

0
Offline Offline
Full Member
***
Karma: 0
Posts: 134
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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

UK
Offline Offline
God Member
*****
Karma: 13
Posts: 905
Twitter: @simonmonk2
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

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

Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 227
Posts: 14048
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
the link fails smiley-sad
Logged

Rob Tillaart

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

UK
Offline Offline
God Member
*****
Karma: 13
Posts: 905
Twitter: @simonmonk2
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.

smiley
Logged

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

Belgium
Offline Offline
Edison Member
*
Karma: 68
Posts: 1926
Arduino rocks; but with my plugin it can fly rocking the world ;-)
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

The link works for me.

I was wondering. It raspberry pi may be a great alternative for the ethernet shield.
Best regards
Jantje
Logged

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 -

UK
Offline Offline
God Member
*****
Karma: 13
Posts: 905
Twitter: @simonmonk2
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

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

Belgium
Offline Offline
Edison Member
*
Karma: 68
Posts: 1926
Arduino rocks; but with my plugin it can fly rocking the world ;-)
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

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 -

UK
Offline Offline
God Member
*****
Karma: 13
Posts: 905
Twitter: @simonmonk2
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Sounds good!

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

Or is it the other way around smiley-wink
« Last Edit: April 30, 2012, 04:43:19 pm by Si » Logged

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

nr Bundaberg, Australia
Offline Offline
Tesla Member
***
Karma: 130
Posts: 8621
Scattered showers my arse -- Noah, 2348BC.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
An entire Linux box really shouldn't be cheaper than an Ethernet shield.
That's the way things are going.

______
Rob
Logged

Rob Gray aka the GRAYnomad www.robgray.com

Belgium
Offline Offline
Edison Member
*
Karma: 68
Posts: 1926
Arduino rocks; but with my plugin it can fly rocking the world ;-)
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

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 -

0
Offline Offline
Full Member
***
Karma: 4
Posts: 218
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
« Last Edit: May 01, 2012, 04:49:23 pm by april » Logged

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 310
Posts: 26632
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

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

New Hampshire
Offline Offline
God Member
*****
Karma: 17
Posts: 781
There are 10 kinds of people, those who know binary, and those who don't.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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. smiley-sad
Logged


Pages: [1] 2   Go Up
Jump to: