Hacker News new | past | comments | ask | show | jobs | submit login

Do you have an opinion on which platform is better for projects that need to connect to the internet over wifi? Other than the networking issue, Arduino is more than powerful enough for my purposes. I don't really want to shell out $80 for a wifi shield, so I was thinking it might be better to just switch to RaspPi + a cheap usb dongle. Any thoughts?



It depends on what software you want to use, what software you want to write, how much power you have available, how many production units you'll want, etc.

If you want to do a one-off and have AC power, use the Pi. If you want to make a billion of these and fit them in a tiny box with 4 AA batteries, the AVR is going to be a better choice. But Linux + Python is easier to program than AVR firmware, so it's going to take a lot of units before the AVR pays for its difficult software development with its reduced parts cost. (Really, you should be using ARM, not AVR. It costs the same but it's a modern architecture.)


code for Linux and code for AVR are two totally different beasts. With AVR, I feel that you could just drum up a quick hack and have code running within a couple of hours. With Linux, I always felt that you need at least a couple of days to get things to going (eg, having a root fs structured, choose a kernel, make sure that your memory map is set up correctly etc). Maybe, I have been away from embedded Linux for too long and the goal post have shifted towards a better location.


The Raspberry Pi is desktop Linux. You install Ubuntu, connect a monitor and keyboard, and write your Python script.


If you absolutely have to have WiFi, then you might consider the raspi, since it is cheaper.

But...cost on it is going to be ~$50. ($35 + $12 for a wifi chip). That's getting close to the cost of the wifi shield, and if you already know the arduino platform, then I would stick with it.

I don't know, for instance, if PWM is yet support on the raspi (or ever will be, since it's not an RTOS)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: