Cooking_Hacks
Posts: 5
Joined: Thu Oct 11, 2012 7:40 am

Raspberry Pi to Arduino shields connection bridge

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

thogue
Posts: 131
Joined: Wed Sep 19, 2012 2:16 am

Re: Raspberry Pi to Arduino shields connection bridge

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

goosemilk
Posts: 1
Joined: Thu Oct 11, 2012 3:52 pm

Re: Raspberry Pi to Arduino shields connection bridge

Thu Oct 11, 2012 9:28 pm

Thanks for the update!!
Will it be available in the USA?

Cooking_Hacks
Posts: 5
Joined: Thu Oct 11, 2012 7:40 am

Re: Raspberry Pi to Arduino shields connection bridge

Thu Oct 11, 2012 11:31 pm

Yes, it is available through our website and we ship worldwide. ;)

aaa801
Posts: 428
Joined: Mon Jun 04, 2012 9:06 pm
Location: Berkshire

Re: Raspberry Pi to Arduino shields connection bridge

Sat Oct 13, 2012 10:37 pm

Does this mean the touchscreen shields will work :D?

Cooking_Hacks
Posts: 5
Joined: Thu Oct 11, 2012 7:40 am

Re: Raspberry Pi to Arduino shields connection bridge

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.

aaa801
Posts: 428
Joined: Mon Jun 04, 2012 9:06 pm
Location: Berkshire

Re: Raspberry Pi to Arduino shields connection bridge

Tue Oct 16, 2012 4:01 pm

http://www.adafruit.com/products/376
if you could get X running on these id defiantly buy

peterbartels
Posts: 1
Joined: Sun Oct 28, 2012 8:02 pm

Re: Raspberry Pi to Arduino shields connection bridge

Sun Oct 28, 2012 8:05 pm

Can I connect a motor shield?

intelligentheating
Posts: 12
Joined: Mon Aug 27, 2012 12:29 pm
Contact: Website

Re: Raspberry Pi to Arduino shields connection bridge

Fri Nov 02, 2012 1:29 pm

This looks great. Just ordered one!

intelligentheating
Posts: 12
Joined: Mon Aug 27, 2012 12:29 pm
Contact: Website

Re: Raspberry Pi to Arduino shields connection bridge

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!

jfornango
Posts: 113
Joined: Fri Sep 14, 2012 7:46 pm
Location: St. Louis, MO USA
Contact: Yahoo Messenger

Re: Raspberry Pi to Arduino shields connection bridge

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.

Cooking_Hacks
Posts: 5
Joined: Thu Oct 11, 2012 7:40 am

Re: Raspberry Pi to Arduino shields connection bridge

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

intelligentheating
Posts: 12
Joined: Mon Aug 27, 2012 12:29 pm
Contact: Website

Re: Raspberry Pi to Arduino shields connection bridge

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.

intelligentheating
Posts: 12
Joined: Mon Aug 27, 2012 12:29 pm
Contact: Website

Re: Raspberry Pi to Arduino shields connection bridge

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:
http://intelligentheating.wordpress.co ... neak-peek/

Thanks :)

maxmike
Posts: 2
Joined: Thu Jan 03, 2013 5:50 pm

Re: Raspberry Pi to Arduino shields connection bridge

Thu Jan 03, 2013 5:53 pm

Does the shield use a resonator or a crystal?

inteloid
Posts: 4
Joined: Wed Jan 02, 2013 12:07 pm

Re: Raspberry Pi to Arduino shields connection bridge

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?

intelligentheating
Posts: 12
Joined: Mon Aug 27, 2012 12:29 pm
Contact: Website

Re: Raspberry Pi to Arduino shields connection bridge

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/

xinyun
Posts: 8
Joined: Tue Dec 18, 2012 9:53 am

Re: Raspberry Pi to Arduino shields connection bridge

Mon Feb 25, 2013 7:02 am

hi ,i m a new to linux.how can i use this lib?

aaa801
Posts: 428
Joined: Mon Jun 04, 2012 9:06 pm
Location: Berkshire

Re: Raspberry Pi to Arduino shields connection bridge

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..

supra
Posts: 726
Joined: Thu Feb 28, 2013 9:21 am
Location: Ontario, Canada

Re: Raspberry Pi to Arduino shields connection bridge

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

kOlaf
Posts: 1
Joined: Tue Jul 16, 2013 4:00 pm

Re: Raspberry Pi to Arduino shields connection bridge

Tue Jul 16, 2013 4:06 pm

Can i use the shield with python instead of the library arduPi??

clemzky
Posts: 1
Joined: Sat Jan 04, 2014 3:12 pm

Re: Raspberry Pi to Arduino shields connection bridge

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,

zid
Posts: 1
Joined: Sun May 25, 2014 2:14 am

Re: Raspberry Pi to Arduino shields connection bridge

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!

noelia1210
Posts: 2
Joined: Tue Jan 27, 2015 9:56 pm

Re: Raspberry Pi to Arduino shields connection bridge

Tue Jan 27, 2015 10:07 pm

hi,

I'm also a newbie here, but I want to buy one, but first I have a question:
I want to use a 3G/GPRS shield with my pi, that's the main reason why I'll buy the bridge, but I have an arduino motor shield
too and I want to know if all three could work together?? I use a step motor, but the motor shield is powered separately, so I
suppose that won't be an issue.
would there be any problem? :o

I'mPavan
Posts: 3
Joined: Wed Feb 10, 2016 4:48 am

Re: Raspberry Pi to Arduino shields connection bridge

Wed Feb 10, 2016 5:49 am

Dear sir,
We have been working with the e-health kit, Raspberry pi with ethernet connectivity, and cooking hacks shield for the last five days..
So, as per the tutorial of cooking hacks bridge with arduPi library, we successfully run the blink code.
But, while using arduino Ethernet sample code in arduPi template.cpp, we encounter the errors like fatal error: SPI.h and Ethernet.h
No such file or directory found.

Upon searching through various forums it was suggested to change #include<SPI.h> to #include"SPI.h". we changed it for all headers.
Then we came up with new error fatal error #include<Arduino.h> No such file or directory even after we change the angle brackets.
So we headed to the header files folder and then to Permissions tab and provided permissions to anyone for all the .h and .cpp files .
But this doesn't work at all.

Should we disable the UART port for using SPI library ?

I hope you people can understand the situation.

I await for the fruitful solution.

Regards,
PavanKumar K

Return to “For sale”

Who is online

Users browsing this forum: No registered users and 1 guest