Hello,
is there a way to connect my arduino board to the raspberry. i don't want to use the rf interface.
just becaus the rasp and the arduino are in the same space.
is there some kind of example with source code how to do this.
Archived Forum |
|
interfacing arduino with raspberry piSubmitted by ageurtse on Fri, 03/01/2014 - 14:20Hello,
is there a way to connect my arduino board to the raspberry. i don't want to use the rf interface. just becaus the rasp and the arduino are in the same space.
is there some kind of example with source code how to do this.
» |
Re: interfacing arduino with raspberry pi
I believe I have seen this asked before. Try searching the forums. I think the I2C interface was used.
Re: interfacing arduino with raspberry pi
Any of the interfaces (I2C, SPI, serial or USB) should work fine between the two boards. Personally I would use USB, as then you can remotely update the firmware on the Arduino from the Pi.
Re: interfacing arduino with raspberry pi
and how do i connect the arduino to a pi over usb.
do i have to load some kind of usb library on my pi.
i have the pi setup with harddrive and emoncms
Re: interfacing arduino with raspberry pi
Just connect them up - no need for any modules/drivers/libraries.
http://openenergymonitor.blogspot.co.uk/2013/12/developing-for-arduino-r...
https://github.com/openenergymonitor/EmoncmsPythonLink
Re: interfacing arduino with raspberry pi
Ah, sorry. Links are being moderated.
Go top the main blog of openenergymonitor, the 27th December entry explains what to do.