Readers like you help support MUO. When you make a purchase using links on our site, we may earn an affiliate commission. Read More.

Can I use a Raspberry Pi as Arduino? What language will it use?

Can you explain how I could use a RasPi as part of an Arduino setup?

Guy McDowell
2013-02-25 17:34:48
If I recall correctly, both the Pi and Arduino use Atmel microcontrollers. So if you're handy with those and can hook up some digital ins and outs on your Pi, then sure, you can use it like you might use an Arduino controller.
ha14
2013-02-25 08:11:39
Raspberry Pi to Arduino shields connection bridgehttp://www.cooking-hacks.com/index.php/documentation/tutorials/raspberry-pi-to-arduino-shields-connection-bridge arduPi library allows to use Raspberry with the same code used in Arduino.Simplified Setup for Arduino on Raspberry Pihttp://baldwisdom.com/simplified-setup-for-arduino-on-raspberry-pi/
MAKEUSEOF VIDEO OF THE DAY
SCROLL TO CONTINUE WITH CONTENT
ha14
2013-02-25 15:57:18
RaspberryPi the Arduino Development Toolhttp://raspberrypi.homelabs.org.uk/raspberrypi-the-arduino-development-tool/
Oron Joffe
2013-02-25 00:46:34
Although the Raspberry Pi and the Arduino are similar in concept (small, low power kits for hobbyists) they are not the same thing. The Arduino is designed primarily as a controller (for robotics, home automation etc) and the Pi as a general purpose/multimedia computer. They have different processors and different capabilities. That said, if you want to use the Pi for controlling hardware, you can get expansion kits (e.g. http://uk.farnell.com/jsp/search/productListing.jsp?SKUS=2218566) that will allow you to connecct it to external devices. The Pi can run a number of OSs, including variants of Linux, Android and Risc OS, and there is a wide variety of programming languages for it. Have a look at the MUO Raspberry Pi guide (https://www.makeuseof.com/tag/great-things-small-package-your-unofficial-raspberry-pi-manual/) to get a better idea of how things fit together.
Garris Rago
2013-02-25 00:13:14
I'm not familiar with Arduino, maybe some of these links will help?http://www.raspberrypi.org/archives/tag/arduinohttp://www.raspberrypi.org/phpBB3/viewtopic.php?f=37&t=24705http://www.savagehomeautomation.com/projects/raspberry-pi-sunrise-sunset-timer-for-christmas-lights.html