interfacing arduino with raspberry pi

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.

 

Robert Wall's picture

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.

cybergibbons's picture

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.

ageurtse's picture

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

cybergibbons's picture

Re: interfacing arduino with raspberry pi

cybergibbons's picture

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.

 

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.