Pages: [1]   Go Down
Author Topic: Accessing the Arduino's Analog Pins  (Read 775 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Western New York, USA
Offline Offline
Faraday Member
**
Karma: 25
Posts: 4107
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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!
Logged

Western New York, USA
Offline Offline
Faraday Member
**
Karma: 25
Posts: 4107
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 167
Posts: 12417
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset


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
Logged

Rob Tillaart

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

Offline Offline
Newbie
*
Karma: 0
Posts: 22
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Western New York, USA
Offline Offline
Faraday Member
**
Karma: 25
Posts: 4107
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Western New York, USA
Offline Offline
Faraday Member
**
Karma: 25
Posts: 4107
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Don
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Western New York, USA
Offline Offline
Faraday Member
**
Karma: 25
Posts: 4107
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
« Last Edit: November 27, 2012, 08:13:25 pm by floresta » Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 22
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Pages: [1]   Go Up
Jump to: