2

I have a Raspberry Pi 2 and a bunch of old Arduino shields. I am switching a project from the Arduino to the Raspberry Pi 2, and I would not like to buy a lot of new components. I have limited space, so I cannot attach the shields to a breadboard and then connect it to the pi. I need them to be able to attach on top of the pi.

Is there any way to easily use my Arduino shields with my Raspberry Pi?

1
  • Adafruit (and perhaps other companies) make cheap Pi HAT perma-prototype boards you could use to make your own adapter; obviously this is going to add 1/4"-1/2" in height and have some limitations, but you should be able to fit, e.g., at least of couple of level shifters on there. The awkward part is pairing it with the shields you have.
    – goldilocks
    Jul 26, 2016 at 0:23

2 Answers 2

2

There are bridges that do this available. Arduberry springs to mind. Try googling for "rpi arduino shields" and you will get some options. Don't count on all shields to be supported, though.

1
  • Yes, that was what I was looking for
    – geek1011
    Jul 26, 2016 at 22:10
2

I'm not exactly sure about the software side of things (maybe the same for SPI and I2C), but whatever you do, make SURE you use 3.3v-5v logic converters. If that isn't an option to you, though, you might want to consider plugging the Arduino into a USB port on the RPi and communicating serially between the two, using the Arduino to drive the shields and the RPi to do the processing.

2
  • That's what I have been doing so far(about the serial communication), but it's too bulky
    – geek1011
    Jul 26, 2016 at 0:12
  • Also, I need the shield to stack well on the pi
    – geek1011
    Jul 26, 2016 at 0:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.