First, I'm a newbie to arduino so any help is highly appreciated ! :)
My project is a simple voltage / current monitor device with ACS 758 sensor . Basically the sensed voltage / current is to be shown in a 16x2 LCD . Also making a data log into a SD card is essential .
I tested the circuit with ONLY with the SD CARD MODULE and another time ONLY with the LCD MODULE . BOTH WORKED . But i haven't tried connecting both at same time as I have a problem .
So I have the LCD and SD CARD MODULE ; but my problem is both modules use the same pins ( pin 11, pin 12, pin 4 ) ?
Please help me to proceed .
Many Thanks, Dileesha.
According to arduino site, the pin configuration for LCD is as below ,
- LCD RS pin to digital pin 12
- LCD Enable pin to digital pin 11
- LCD D4 pin to digital pin 5
- LCD D5 pin to digital pin 4
- LCD D6 pin to digital pin 3
- LCD D7 pin to digital pin 2
- LCD R/W pin to ground
- 10K resistor:
- ends to +5V and ground
- wiper to LCD VO pin (pin 3)
According to SD CARD MODULE site, the pin configuration for SDCARD MODULE is as below ,
PIN 1: GND ---> Arduino GND PIN 2: +3.3V ---> Arduino 3V PIN 3: +5V ---> Arduino 5V PIN 4: CS ---> Arduino DIO 4 PIN 5: MOSI ---> Arduino DIO 11 PIN 6: SCLK ---> Arduino DIO 13 PIN 7: MISO ---> Arduino DIO 12 PIN 8: GND ---> N/A
You may copy, alter and reuse this code in any way you like but please leave reference to HobbyComponents.com in your comments if you redistribute this code. */