I am using the Arduino Uno with the Motor Shield with stackable headers, and I cannot get good readings on A4 and A5. Basically I am reading the analog signal from emitter/detector pairs and everything works great on A0-A3. I have ensured that the shield is seated snug onto the uno, swapped out emitters/detectors, wire leads and nothing seems to work. While A0-A3 correctly reads the emitter/detectors (around 20-30 to start) A4 and A5 always start out at 500 or so when hooked up. Do I have a defective motor shield? Any help would be very much appreciated.
Thanks,
Todd
Arduino Motor Shield Analog Input Problem
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_mike
- Posts: 67485
- Joined: Thu Feb 11, 2010 2:51 pm
Re: Arduino Motor Shield Analog Input Problem
Are you using the v2 Motor Shield?
If so, that uses the alternate function of pins A4 and A5 as the I2C signals SDA and SCK.
If so, that uses the alternate function of pins A4 and A5 as the I2C signals SDA and SCK.
Please be positive and constructive with your questions and comments.