Raspberry Pi to Arduino shields connection bridge


23 posts
by Cooking_Hacks » Thu Oct 11, 2012 9:30 am
Hi team!

the Cooking Hacks team is happy to announce at last the new development board we have been doing to use with Raspberry!

Image

The idea behind the Raspberry Pi to Arduino shields connection bridge is to allow to use any of the shields, boards and modules designed for Arduino in Raspberry Pi. It includes also the possibility of connecting digital and analog sensors, using the same pinout of Arduino but with the power and capabilities of Raspberry.

In order to make complete the compatibility we have created the arduPi library which allows to use Raspberry with the same code used in Arduino. To do so, we have implemented conversion functions so that you can control in the same way as in Arduino all the I/O interfaces: i2C, SPI, UART, analog, digital, in Raspberry Pi.

Let's summarize what we can do using this shield along with the arduPi library:

    - Connect any Arduino Wireless module in Raspberry. Some examples: XBee 802.15.4/XBee ZigBee, RFID, NFC, Bluetooth, Bluetooth Pro, Wifi, GPRS, 3G
    - Connect any sensor (analog 0-5V, digital) to Raspberry Pi with a precession of 16b using the ADC integrated. Connect also complex sensors through i2C and UART buses
    - Connect any Arduino specific shield such as: Radiation sensor shield, CanBus, Relay shield,...
    - Connect any electronic module or actuator which works over i2C, SPI, UART

All the information can be found in this tutorial: Raspberry Pi to Arduino shields connection bridge

For further information or any question which may arise we will be pleased to help you.

Best.

Cooking Hacks Team
Posts: 5
Joined: Thu Oct 11, 2012 7:40 am
by thogue » Thu Oct 11, 2012 3:53 pm
Looks great,
Can't wait to see some in the wild, been seeing discussion on this pop up here and there
Posts: 131
Joined: Wed Sep 19, 2012 2:16 am
by goosemilk » Thu Oct 11, 2012 9:28 pm
Thanks for the update!!
Will it be available in the USA?
Posts: 1
Joined: Thu Oct 11, 2012 3:52 pm
by Cooking_Hacks » Thu Oct 11, 2012 11:31 pm
Yes, it is available through our website and we ship worldwide. ;)
Posts: 5
Joined: Thu Oct 11, 2012 7:40 am
by aaa801 » Sat Oct 13, 2012 10:37 pm
Does this mean the touchscreen shields will work :D?
Posts: 427
Joined: Mon Jun 04, 2012 9:06 pm
Location: Berkshire
by Cooking_Hacks » Tue Oct 16, 2012 2:55 pm
Hi. Could you specify the Touchscreen you want to use? We will be glad to test them with our shield.
Posts: 5
Joined: Thu Oct 11, 2012 7:40 am
by aaa801 » Tue Oct 16, 2012 4:01 pm
http://www.adafruit.com/products/376
if you could get X running on these id defiantly buy
Posts: 427
Joined: Mon Jun 04, 2012 9:06 pm
Location: Berkshire
by peterbartels » Sun Oct 28, 2012 8:05 pm
Can I connect a motor shield?
Posts: 1
Joined: Sun Oct 28, 2012 8:02 pm
by intelligentheating » Fri Nov 02, 2012 1:29 pm
This looks great. Just ordered one!
Posts: 12
Joined: Mon Aug 27, 2012 12:29 pm
by intelligentheating » Tue Nov 06, 2012 12:45 am
I just received this in the mail today, thanks for the swift and excellent service.
I have some Arduino shields I plan to try out with it, including a TFT shield I purchased from Adafruit :)

Thanks!
Posts: 12
Joined: Mon Aug 27, 2012 12:29 pm
by jfornango » Thu Nov 08, 2012 8:29 pm
This is sweet. I've been eyeing the Arduino shields and modules as expanders for the RPi. You folks has a real winning product!

Question, if sales are successful, will you be looking to create similar backplanes for other platforms, such as the BeagleBone?
I'm only wearing black until they find something darker.
Posts: 113
Joined: Fri Sep 14, 2012 7:46 pm
Location: St. Louis, MO USA
by Cooking_Hacks » Tue Nov 13, 2012 7:29 pm
intelligentheating wrote:I just received this in the mail today, thanks for the swift and excellent service.
I have some Arduino shields I plan to try out with it, including a TFT shield I purchased from Adafruit :)

Thanks!


You're welcome!! We'd like to see your feedback about the shield.

peterbartels wrote:Can I connect a motor shield?

You can use 3.3V servo motors and if the motor shield works at 3.3V, there should not be a problem.

jfornango wrote:This is sweet. I've been eyeing the Arduino shields and modules as expanders for the RPi. You folks has a real winning product!

Question, if sales are successful, will you be looking to create similar backplanes for other platforms, such as the BeagleBone?

We have not tested Beagle Bone and we aren't reselling it yet, but if we start selling it, we will have to make similar shields for them. :D
Posts: 5
Joined: Thu Oct 11, 2012 7:40 am
by intelligentheating » Mon Dec 10, 2012 3:10 pm
For anyone interested:

http://intelligentheating.wordpress.com ... -dc-motor/

This uses the Cooking-Hacks shield and a modified Arduino motor-shield.
Posts: 12
Joined: Mon Aug 27, 2012 12:29 pm
by intelligentheating » Thu Dec 27, 2012 9:54 pm
I've also uploaded a video of the shield being used to switch a fan on and off:
[url]
http://intelligentheating.wordpress.com ... neak-peek/[/url]

Thanks :)
Posts: 12
Joined: Mon Aug 27, 2012 12:29 pm
by maxmike » Thu Jan 03, 2013 5:53 pm
Does the shield use a resonator or a crystal?
Posts: 2
Joined: Thu Jan 03, 2013 5:50 pm
by inteloid » Fri Jan 04, 2013 12:45 pm
Hi, How many PWM pins it gives? Can I have 4 ouputs and 3 inputs at the same time?
Posts: 2
Joined: Wed Jan 02, 2013 12:07 pm
by intelligentheating » Thu Jan 10, 2013 9:17 pm
inteloid wrote:Hi, How many PWM pins it gives? Can I have 4 ouputs and 3 inputs at the same time?


For PWM I generated it myself using C threads. That seems to be the most common method I have seen from folks using the shield (and others).
My understanding is that there is only one pin on the Pi's GPIO with PWM, however you can generate it yourself, this article is pretty handy:

https://projects.drogon.net/software-pw ... pberry-pi/
Posts: 12
Joined: Mon Aug 27, 2012 12:29 pm
by xinyun » Mon Feb 25, 2013 7:02 am
hi ,i m a new to linux.how can i use this lib?
Posts: 8
Joined: Tue Dec 18, 2012 9:53 am
by aaa801 » Mon Feb 25, 2013 11:46 pm
xinyun wrote:hi ,i m a new to linux.how can i use this lib?

its a hardware module..
Posts: 427
Joined: Mon Jun 04, 2012 9:06 pm
Location: Berkshire
by supra » Thu Jul 11, 2013 12:51 pm
@Cooking_Hacks

Can Arduino Sensor Shield exapnsion board V5 to Arduino shields connection bridge? :idea: :idea: :idea:

Supra
Posts: 105
Joined: Thu Feb 28, 2013 9:21 am
Location: Ontario, Canada
by kOlaf » Tue Jul 16, 2013 4:06 pm
Can i use the shield with python instead of the library arduPi??
Posts: 1
Joined: Tue Jul 16, 2013 4:00 pm
by clemzky » Sat Jan 04, 2014 3:18 pm
Hi Cooking Hacks,
When this will be available in Element14 as like the Raspberry Pi boards, since it carries the Raspberry logo?

Thanks,
Posts: 1
Joined: Sat Jan 04, 2014 3:12 pm
by zid » Sun May 25, 2014 2:19 am
Hi there,

I am newbie here and I am planning to purchase the pi to arduino connection bridge. Before I purchase I have questions on the hardware and compatibility.

1. Can I plug-in the adafruit RFID/NFC module on the bridge?
2. Is it possible to pull the RFID tags activity and store them on mySQL database in my rasp pi (the RFID module will update the database for every tag read)?

Thanks and more power!
Posts: 1
Joined: Sun May 25, 2014 2:14 am