UK
Offline
God Member
Karma: 9
Posts: 895
Twitter: @simonmonk2
|
 |
« on: April 29, 2012, 04:36:08 pm » |
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
|
|
|
|
|
0
Offline
Full Member
Karma: 3
Posts: 218
Arduino rocks
|
 |
« Reply #1 on: April 30, 2012, 04:51:46 am » |
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
Full Member
Karma: 0
Posts: 128
|
 |
« Reply #2 on: April 30, 2012, 08:37:27 am » |
I am exhausted by the waiting though. one day...
|
|
|
|
|
Logged
|
|
|
|
|
UK
Offline
God Member
Karma: 9
Posts: 895
Twitter: @simonmonk2
|
 |
« Reply #3 on: April 30, 2012, 09:16:39 am » |
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
|
|
|
|
|
Netherlands
Offline
Tesla Member
Karma: 90
Posts: 9401
In theory there is no difference between theory and practice, however in practice there are many...
|
 |
« Reply #4 on: April 30, 2012, 12:32:00 pm » |
the link fails 
|
|
|
|
|
Logged
|
|
|
|
|
UK
Offline
God Member
Karma: 9
Posts: 895
Twitter: @simonmonk2
|
 |
« Reply #5 on: April 30, 2012, 12:47:53 pm » |
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. 
|
|
|
|
|
Logged
|
|
|
|
|
Belgium
Offline
Edison Member
Karma: 34
Posts: 1074
Arduino rocks; but with my plugin it can fly rocking the world ;-)
|
 |
« Reply #6 on: April 30, 2012, 12:56:08 pm » |
The link works for me.
I was wondering. It raspberry pi may be a great alternative for the ethernet shield. Best regards Jantje
|
|
|
|
|
Logged
|
|
|
|
|
UK
Offline
God Member
Karma: 9
Posts: 895
Twitter: @simonmonk2
|
 |
« Reply #7 on: April 30, 2012, 01:33:50 pm » |
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
|
|
|
|
|
Belgium
Offline
Edison Member
Karma: 34
Posts: 1074
Arduino rocks; but with my plugin it can fly rocking the world ;-)
|
 |
« Reply #8 on: April 30, 2012, 01:44:14 pm » |
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
|
|
|
|
|
UK
Offline
God Member
Karma: 9
Posts: 895
Twitter: @simonmonk2
|
 |
« Reply #9 on: April 30, 2012, 01:47:13 pm » |
Sounds good! An entire Linux box really shouldn't be cheaper than an Ethernet shield. Or is it the other way around 
|
|
|
|
« Last Edit: April 30, 2012, 04:43:19 pm by Si »
|
Logged
|
|
|
|
|
nr Bundaberg, Australia
Offline
Tesla Member
Karma: 71
Posts: 6826
Scattered showers my arse -- Noah, 2348BC.
|
 |
« Reply #10 on: April 30, 2012, 04:41:56 pm » |
An entire Linux box really shouldn't be cheaper than an Ethernet shield. That's the way things are going. ______ Rob
|
|
|
|
|
Logged
|
|
|
|
|
Belgium
Offline
Edison Member
Karma: 34
Posts: 1074
Arduino rocks; but with my plugin it can fly rocking the world ;-)
|
 |
« Reply #11 on: April 30, 2012, 05:53:51 pm » |
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
|
|
|
|
|
0
Offline
Full Member
Karma: 3
Posts: 218
Arduino rocks
|
 |
« Reply #12 on: May 01, 2012, 04:24:56 am » |
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
Brattain Member
Karma: 138
Posts: 19066
I don't think you connected the grounds, Dave.
|
 |
« Reply #13 on: May 01, 2012, 04:52:23 am » |
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.
|
|
|
|
New Hampshire
Offline
God Member
Karma: 13
Posts: 776
There are 10 kinds of people, those who know binary, and those who don't.
|
 |
« Reply #14 on: May 01, 2012, 03:37:12 pm » |
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. 
|
|
|
|
|
Logged
|
|
|
|
|
|