Results 1 to 5 of 5

Thread: Arduino Shield Question

  1. Arduino Shield Question

    hi how to use multiple shields in Arduino?

    if i have two..
    example, GSM and Ethernet can this work simultaneously in void setup?

    void setup(){
        if (gsm.begin(2400)){
    Ethernet.begin(mac, ip);

  2. #2

    Re: Arduino Shield Question

    Hi Brian,

    Others can maybe give you a more concrete answer. But the ability to use multiple shields very much depends on which two specific shields. There are several issues with them, which include:

    1) Does the first shield you plug into the Arduino pass through all of the necessary signals and power/ground pins that are needed by the second shield. Many do not. Example some shields rely on signals that come up through the 6 pin ISP connector and many shields do not pass these through.

    2) Can both boards be configured, such that they don't both want the same resources, such as IO pins, Timers, Usarts, SPI, ... Example many boards require digital pins 0/1 (for the Usart).

    3) Like 2) can any support libraries that are used by the boards be configured to again work with other things. Example if you are using SoftwareSerial it will hog all of the PinChange Interrupts. Or Timers, or too much memory, or... Sometimes some of these you can only find out by trying them.

    Good Luck

  3. #3

    Re: Arduino Shield Question

    If you have an Arduino Uno or Leonardo, then no, that won't work, as both the shields will want to use the same serial port.
    You would have to modify one of the shields to use other pins for the serial port, and use the SoftwareSerial module, or you would have to use an Arduino Mega that has more serial ports (and a proper shield that interfaces with those ports instead.)
    If the shields you have do not support any kind of modification/switch to use other pins, then the two shields are not compatible to use together.

  4. Re: Arduino Shield Question

    i found site about pin configuration of each shield

    if for example ethernet shield uses pin 10~13 for communication and GSM shield is 2~3(softwareserial).
    it means they are compatible to work together with arduino uno?

    can this be possible to conflict with other libraries?

    hi thank you for the responsed.

  5. #5

    Re: Arduino Shield Question

    if for example ethernet shield uses pin 10~13 for communication and GSM shield is 2~3(softwareserial).
    it means they are compatible to work together with arduino uno?
    Yes, they will likely not clash.

    However, the software driver (library) for one may disable interrupts for longer than is acceptable for the other. There really is no way to know other than reading the code, or buying and testing it thoroughly.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Question in GSM shield
    By brian25 in forum Arbotix, Microcontrollers, Arduino
    Replies: 1
    Last Post: 08-28-2013, 07:49 AM
  2. Project Arduino Question
    By contextolibre in forum Robot Computers
    Replies: 6
    Last Post: 05-16-2013, 09:10 AM
  3. Question(s) Getting software for the Seeedstudio Bluetooth Arduino Shield...
    By st2000 in forum Software and Programming
    Replies: 1
    Last Post: 12-09-2012, 03:00 AM
  4. Designing a shield for Arduino Rev 3 boards that also work with non Rev 3 boards...
    By KurtEck in forum Arbotix, Microcontrollers, Arduino
    Replies: 4
    Last Post: 10-23-2012, 08:06 PM
  5. Quick Arduino Question...
    By Azinman in forum Arbotix, Microcontrollers, Arduino
    Replies: 14
    Last Post: 04-07-2009, 06:47 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts