Go Down

Topic: Accessing the Arduino's Analog Pins (Read 1 time) previous topic - next topic

Halena

I have a SainSmart LCD Keypad Shield (looks like the one here: http://www.dfrobot.com/index.php?route=product/product&product_id=51#.ULQTkIa4_CX ) and want to connect another Arduino using the i2c on Analog pins 4 and 5. Unfortunately, I can't find figure out how to access the pins with the shield still attached. It is only actually using A0 as most of these shields do, so I think there's a way to use them, but I'm not sure how. Any help is greatly appreciated.

The pin out diagram is here: http://www.dfrobot.com/wiki/images/thumb/0/0f/LCD_Shield.png/350px-LCD_Shield.png

floresta

It looks like DF Robot has two very similar shields and their 'Manual' seems to be a bit confusing.  Your pinout diagram is shown in the manual but the photo directly above that pinout shows a slightly different shield.

If you have the one in the photo then you should be able to access the analog pins using the holes in the lower right corner.  If you have the one in the drawing then you may have to solder to the pins coming up from the Arduino.

In any case stay away from the LCD4bit library.  If you want to know why then just unzip it and read the comments. 


Don

Halena

The actual pins look like the pin out form I showed. Does that mean soldering the wire to the arduino is the best option? I can do that and was thinking about it, but wasn't sure if it would damage anything. Thanks for the help!

floresta

Quote
Does that mean soldering the wire to the arduino is the best option?

That's not what I meant.  From the photo it looks like all of the analog pins come up from the Arduino to the shield even though they only use one of them.  The others look like they are right there ready to be soldered to.  You could probably even solder on some sort of female header strip.

Don

robtillaart


you can insert a screwshield in between - http://wingshieldindustries.com/products/screwshield/ -

or this one - https://www.sparkfun.com/products/9729? -

or - http://www.ebay.com/itm/Screw-Shield-Screwshield-Expansion-Board-Kit-Arduino-/230755622878
Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

I'm using a sensor shield to get access to the UNO's analog pins and the same 16x2 shield for user feedback and control. Then any 3 pin "bricks" can easily connect. Just remember A0 is the keypad...  :smiley-red:

floresta

The previous post caused me to take a closer look at the washed out 'pinout' diagram.  It looks like the other five analog pins are right there near the lower right corner, at the 'bottom' of each of the five columns of three pins.

Don

Halena


The previous post caused me to take a closer look at the washed out 'pinout' diagram.  It looks like the other five analog pins are right there near the lower right corner, at the 'bottom' of each of the five columns of three pins.

Don


Those are where the pins that connect to the arduino are located, my current plan is soldering the wire to those pins, but I feel like there has to be an easier way since those pins come up slightly.

floresta

Aren't there fifteen pins (five groups of three) sticking up right there?

Don

Halena


Aren't there fifteen pins (five groups of three) sticking up right there?

Don


There are, but next to them are the labels 5V for the top row, GRN for the middle and S for the bottom.

floresta

#10
Nov 28, 2012, 02:10 am Last Edit: Nov 28, 2012, 02:13 am by floresta Reason: 1
The 'S' most likely stands for 'Servo'.  Servos are driven by the 'analog' outputs.

Don

P.S.   If I never see the name SainSmart again it will be too soon.

Since I'm dealing with monitoring sensors, in my brain S means sensor...  :smiley-slim:

Go Up