Materdaddy wrote:Just so you know, the Raspbeery Pi is a completely different beast. Arduino is an MCU with a bunch of easy-to-use libraries, shields, etc. Good for hobbyists, but also good for advanced MCU devs too.A Raspberry Pi is an embedded linux system. Getting started may be intimidating for people unfamiliar with linux and/or command-line use. I'm not convinced Raspberry Pi is very good for casual hobbyists yet.
I'd have to disagree.. The RaspberryPI was created to give our children a platform to start learning development.. albeit with their start up language SCRATCH.. but still to give the kids an insight into electronics and development... So if its easy enough for a 5-9yo to start learning on.. Why cant us adults learn something too while we're at it.. 🙂
+1
Google is helping to find the next generation of computer scientists by helping to donate 15,000 Raspberry Pi computers to various school-aged children across the U.Klink
MPH - you'd best up your figure. 500,000 + 15,000
rfallatt wrote:lol... what is an ad-card?
an ad card is what you get when you are typing too early in the morning before the caffine is circulating in your blood properly.
mrpackethead wrote:500,000 raspberry PI fans might dissagree with you.. Download an image copy to ad-card, pop in to pi, connect usb keyboard and monitor.. turn on.. Not that hard.
I'm not trying to debate this here, I'm a linux developer, but I can clearly see that to somebody unfamiliar with linux/writing code there's a HUGE difference between arduino wherein you get the IDE (cross platform binary) and whip up:
void setup()
{
pinMode(10, OUTPUT);
}
void loop()
{
digitalWrite(10, HIGH);
sleep(1000);
digitalWrite(10, LOW);
sleep(1000);
}
to blink an LED.
A similar task for raspberry pi would be to download a rootfs, write it to an SD card, pop it in, connect an additional USB/Keyboard, monitor, ensure python and the RPi libraries are there with the image you downloaded, then edit (using what, nano? vi?, some GUI thing it has built in after running startx?) the following code:
import RPi.GPIO as GPIO
import time
def blink(pin):
GPIO.output(pin,GPIO.HIGH)
time.sleep(1)
GPIO.output(pin,GPIO.LOW)
time.sleep(1)
return
GPIO.setmode(GPIO.BOARD)
# set up GPIO output channel
GPIO.setup(11, GPIO.OUT)
while true:
blink(11)
GPIO.cleanup()
Using the python example. for raspberry pi.
Again, I'm not trying to start a debate or anything, just backup my point specific to hobbyists likely having more trouble with a PI than an Arduino. I'm not talking engineers. That's a different story because the Pi is hands-down way more powerful, capable, etc.
Ummm...did you look at the java code below. It is *very* easy to control the pi via java.
winscp the results of a maven/ant build done via the eclipse ide. Then use a simple putty window on the pc which is connected to the pi so you can run the program. You don't have to "write" the code directly on the pi.
-Simon
