Using Arduino shields with the Raspberry Pi

Since the Arduino was launched years ago, many ‘shields’ or add-on boards providing additional functionality have been released. There are hundreds of different shields, from video capture shields to touch screen shields. Now that the Raspberry Pi is out in the wild, it was only a matter of time before a RasPi to Arduino shield bridge was created.

[Omer] calls his bridge ‘Ponte’ and it allows Arduino shields to be used with the incredible  horsepower of an embedded Linux system. While [Omer] originally expected to write the RasPi to Arduino software converter himself, but found WiringPi halfway through the build. Of course this build comes just a day after we saw a tutorial on controlling the GPIO pins on the RasPi, and we expect to see similar GPIO-hacking builds in the future.

Right now, the Ponte only supports Arduino Uno-sized shield, so the possibility of an all-in-one RepRap controller using the RAMPS motor driver is impossible for now. We expect that to change very quickly as more people get their RasPis delivered.


  1. Zee says:

    Hopefully. At least the Pi is a fully featured computer.

    • Hackerspacer says:

      Having worked with the Arduino in many different incarnations now for all sorts of projects (I have bought at least 30 of them), I am still on the fence about how well the RaspPi will offer an improvement over Arduinos. I can see the potential for a linux COMPUTER to best a single purpose device in many applications but in order to be truly useful, it needs lots more IO pins, including TRUE analog outputs, current protection, proper implementation of I2C, multiple 10 bit or greater analog inputs, true 10 bit or better analog outputs (not just 8 bit PWM).

      All things that can be added but it will be months and months before something like this gets added and when it does, will likely cost $40 – $50 on top of the RaspPi price.

    • Archillies says:

      I agree, these are two different animals in terms of engineering a project – but it is excellent that the shields are now duel use. Nice little hack.

    • crenn says:

      Hackerspacer, The RPi and Arduino are for different purposes and shouldn’t be compared as such. They can complement each other, in some cases, replace each other in a project but never really should be compared to each other.

      I’m actually working on developing a ‘topping’ to the RPi based around the STM32F103 microcontroller to be an IO hub for the RPi (and RTC) and communicates over SPI. This is for a later project of mine but highlights what I mean, I’m not replacing the RPi but augmenting it with another controller.

      And in my personal opinion, using 5V Arduino based shields on a 3.3V RPi is a little silly, but could be useful for some ‘IO basic’ projects.

  2. tim says:

    I do not see any timer or pwm output on my Raspberry-Pi, how could i control dc motors or hobby servos ?

    • Zee says:

      Seriosuly? all you need is a digital out port and you just pulse it to make PWM

    • crenn says:

      There is one PWM pin available on the Rpi. The other option is to use another microcontroller as an IO hub connected via either USART or SPI.

      • Eirinn says:

        I’m not an EE so take this with a grain of salt please.

        Wouldn’t it be better, in any case, to use an external chip to do motor control handling? I know that it’s nice and all to have everything embedded, but stuff like motors are fickle.

      • crenn says:

        I’m not an EE either, so take this with a grain of salt.

        Depends on your application, but for simple interfacing with a H-bridge, the GPIO (with a buffer) should be enough. If you’re driving multiple of motors, it may sense to use an external controller.

        In the case of brushless motors, it’s easier to use a designed controller than trying to do your own.

  3. Hans-Jacob says:

    To add to the Arduino vs RaspPi discussion:
    with the addition of the RaspBerryPi you could use all your old Arduinos as sensor nodes with the RaspPi as a hub or something. Then the Arduinos could act as expansions through SPI or I2C interface. I’d like to get that going some time

  4. Jordan says:

    Lol you know what is funny, Arudino cost more than a PI lol

  5. elghigno says:

    “ponte” means bridge in italian :)

  6. jamzc921 says:

    Wow, it looks like raspberry pi is going to be more fun than I expected

  7. antinorac says:

    I want to create an automatic irrigation system for my garden. I have seen the Plantduino and was wondering if I could use this adapter with a Raspi to achieve the same result. Can I use this adapter to get sensor information? Can I trigger relays? Any information about this would be appreciated. Thanks!

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


Get every new post delivered to your Inbox.

Join 96,421 other followers