Forum >Conflict pins with MicroSD card module
General

Conflict pins with MicroSD card module

userHead wahmalik85 2014-04-06 22:37:15 3895 Views4 Replies

Hi all,

I use GPS/GPRS/GSM Module that use pin no. 4 and I use pins no. 10 and 11 as software serial in ardiuno uno which are conflict with the diagram that found in the wiki:
http://www.dfrobot.com/wiki/index.php/M ... 9)#Diagram

How to avoid conflict pins with MicroSD card module for Arduino?

best wishes :)

2014-04-18 00:46:51 Thank you Grey,

I did not think of this before ^______^
userHeadPic wahmalik85
2014-04-15 00:13:22 Oh! Sorry for missing your posts.
You could define other free pins as the Softwareserial pins, not only P10 and P11.
For example, Micro SD card module is using SPI interface port(4,11,12,13).  you could change the GSM drive pins to D2, D5, D6 in the sketch. And using D9&D10 as the Software sSerial port pins.
Code: Select all
#include <SoftwareSerial.h>
SoftwareSerial mySerial(9, 10);                    // Define SoftwareSerial pin RX, TX
int gsmDriverPin[3] = {
  3,2,5};   
Don't forget to connect D2 to GSM middle driver pin to instead of D4 with a jumper wire.
And the Software Serial port.
userHeadPic Grey.CC
2014-04-13 21:25:00 why there is no answer?
:(
userHeadPic wahmalik85
2014-04-10 03:02:56 up!!! userHeadPic wahmalik85