0
Offline
Jr. Member
Karma: 1
Posts: 71
Arduino rocks
|
 |
« on: February 02, 2011, 08:56:48 am » |
So I have quite a few shields sitting around right now, and I would like to use at least 4 of them in my latest project, however I know that the shields make use of the same pins. Is it possible to get these shields running by interfacing them to a bread board or am I physically limited by the amount of pins connected to the Uno?
|
|
|
|
|
Logged
|
|
|
|
|
Florida
Offline
Sr. Member
Karma: 3
Posts: 431
hookedup!
|
 |
« Reply #1 on: February 02, 2011, 09:58:43 am » |
Generally not an issue but it depends on if the conflicting pin(s) can be remapped or if the pin is a specific purpose pin.
Is this four of the same shield?
Do you have details on the shield(s) you want to use? That would help determine the feasibility.
|
|
|
|
|
Logged
|
|
|
|
|
Central MN, USA
Offline
Faraday Member
Karma: 35
Posts: 5915
Phi_prompt, phi_interfaces, phi-2 shields, phi-panels
|
 |
« Reply #2 on: February 02, 2011, 02:12:05 pm » |
Not long ago there were some very long discussions surrounding shields and their pins and I think someone ended up creating a website to detail the pin usage of each known shield. Does anyone recall the website address?
What shields are you using and who manufactured them? Very high chance exists that they won't work together.
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Faraday Member
Karma: 12
Posts: 2857
ruggedcircuits.com
|
 |
« Reply #3 on: February 02, 2011, 02:24:10 pm » |
I think you mean http://shieldlist.orgYou can use a "breakout shield" like our Quick Shield or Aussie Shield to keep the shield off the Arduino but still run wires to various pins, and possibly reassign pins that are in conflict. Still, it does depend on exactly what shields you are planning on using. -- The Aussie Shield: breakout all 28 pins to quick-connect terminals
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Jr. Member
Karma: 1
Posts: 71
Arduino rocks
|
 |
« Reply #4 on: February 02, 2011, 10:40:12 pm » |
Well the shields that I can see that conflict are the WiShield 2.0: http://shieldlist.org/asynclabs/wishield-v2WeatherShield1: http://shieldlist.org/ethermania/weathershield1They both use D7 and D2 pins, now I could probably reroute the pins and change the software for interacting with them, but this is just the first problem, I also want to add a XBee shield and a motor shield (as well as many other sensors), so can I somehow extend the number of pins I can use on the Arduino?
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Faraday Member
Karma: 12
Posts: 2857
ruggedcircuits.com
|
 |
« Reply #5 on: February 02, 2011, 10:48:59 pm » |
You know with that many shields you might be better off dedicating one Arduino per shield and having them communicate via I2C or (soft)serial. That will probably get you going faster than trying to stuff all the software on one Arduino and figuring out the pins. -- The Rugged Motor Driver: two H-bridges, more power than an L298, fully protected
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 38
EtherMania - For network enthusiasts
|
 |
« Reply #6 on: May 06, 2011, 02:58:37 am » |
@Narwhal
The WeatherShield1 uses the D7 (clock) and D2 (bi-directional data) pins to communicate with Arduino in a synchronous serial protocol similar to what is implemented in the "old" MM5450 LED driver. Moreover one could hack the shield un-soldering one side of the two resistors connected to these pins and connect them to the new pins. The libraries that control the communications between the shield and Arduino could be informed about this hardware change specifying the new pins in the constructor when building the main WeatherShield1 object hander (see the examples in the weathershield1_comm sketch).
Thank you.
|
|
|
|
|
Logged
|
|
|
|
|
Central MN, USA
Offline
Faraday Member
Karma: 35
Posts: 5915
Phi_prompt, phi_interfaces, phi-2 shields, phi-panels
|
 |
« Reply #7 on: May 06, 2011, 10:41:53 am » |
Just a generic suggestion: You can snip off the male pin on a shield, jump the top (female header) to a different pin. Say you need to move digital pin 2 to another pin say digital 6. The PCB has hardwired pin 2 to something but pin 6 is not used. You go ahead and clip off pin 2's male "tip" that is facing down, then use a jumper to jump pin 2 to pin 6, if the headers are female stacking headers with long pins.
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 38
EtherMania - For network enthusiasts
|
 |
« Reply #8 on: May 09, 2011, 03:43:38 am » |
Right! That's a good idea. Thank you!
|
|
|
|
|
Logged
|
|
|
|
|
|