Pages: [1]   Go Down
Author Topic: Multiple Shields ?  (Read 5074 times)
0 Members and 2 Guests are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 7
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hey guys

So, I've seen the shield extenders on makershed.com - and I Think thats what I need, but I still wanna ask

For my project, I wanna be able to control motors with a motor shield, play some sound with a sound shield and control some led's

so that's 2 shields on top of a arduino - and I still need access to the actual arduino to control some leds

Is this even possible or would I have to use multiple arduino's and sync them somehow ?

-Mario
Logged

Manchester (England England)
Online Online
Brattain Member
*****
Karma: 509
Posts: 31458
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

In principal you can do this but in practice you have to make sure that the shields don't want to use the same pins and often they do. It can be tricky diverting the pins they require because of the hardware behind them inside the processor chip.
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 7
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

ok, so i'll take that as a no

so then, maybe to save some money, i'll use my duemilanova as the motor arduino

i'll need another duemilanova for the sound shield and i could probably get away with one of the mini arduino's to control the led's

if i connect a sound sensor to trigger the action to a mini one, i could probably use one of the pins to trigger the 2 bigger ones with the shields on them as a cheap way to sync them - for halloween - everything doesn't have to be dead on, just close enough to look cool

Logged

Manchester (England England)
Online Online
Brattain Member
*****
Karma: 509
Posts: 31458
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Well what I would do is just to make the electronics on strip board then I could use what ever pins I wanted. That way you would only need one Arduino and save you the problems of syncing them.
Logged

0
Offline Offline
Faraday Member
**
Karma: 7
Posts: 2526
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Check the schematics of the shields to see if they use any of the same pins.

Even if they do use the same pins, this may not be a show-stopper.  For example, I'm helping student put together a 3-shield stack.  All 3 have 2 SPI devices, and one has an I2C device on it.  The SPI pins (11-13) are shared on all three shields, with each shield's peripherals attached to a unique SS line.

There may be the issue of mechanical interference as well.  For example, my home-brew ethernet shield can't have anything stacked on top of it, since it's too tall.

-j
Logged

South Africa
Offline Offline
Full Member
***
Karma: 1
Posts: 141
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hmm which particular shields do you want to use.

If there is a conflict between shields wanting to use the same pins perhaps you could consider building your own shield that won't use

The motor shields I have seen,  seem to use H Bridge driver IC's, which you can easily work with on your own even if you have to copy the schematic of the shield and modify it somewhat.

Otherwise option B could be to take two off the shelf shields, ie the motor shield and the sound shield and make your own adapter that reroutes the connections.

This adapter can be made from veroboard/stripboard and be made to be placed inbetween shields. It could be done with a bit of fiddling.
Logged

South African Arduino User Group

http://arduino.za.net

0
Offline Offline
Newbie
*
Karma: 0
Posts: 7
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

the wave shield and the motor shield

both of them are in my cart now at adafruit.com - thinking i might pull the trigger

looks like the wave shield comes unassembled but the motor shield looks assembled. i'm pretty good with a soldering iron and have put together some project boards but i'm not sure i can design one that combines both shields - but we'll see

like someone said, maybe i'll put both boards side by side, run the pins to a bread board and see where i end up for the time being

thanks for the help guys
-Mario
Logged

Pages: [1]   Go Up
Jump to: