Go Down

Topic: Arduino's analog in not working. (Read 983 times) previous topic - next topic


I'm frightened I might of broken my arduino board, but maybe I just being stupid.

I am using the Simple Message System to communicate with PD. I have the pin values displaying correctly in PD, and they seem to correlate with Arduino's  Serial Monitor.
Where things are going wrong is the values my arduino is reading on the analog pins.

- Pins A0 and A1 always displays values around 63.
- Pin A2 seems to be working properly. ie when nothing is connected it the values jump around, when connected to ground I get 0, when connected to 5v I get 1024. 
- Pins A3, A4 and A5 display values around 900 and when connected to 5v give values of around 1004.

I am not sure when it started, but I might have fed 9v into the analog pins. Would that break it? If so is it irreversible?



You can use the General test of the Arduino Test Suite to see what's working:


Note that you have to jumper adjacent pins according to the diagram so that inputs and outputs can be tested against each other.
Send Bitcoin tips to: 1G2qoGwMRXx8az71DVP1E81jShxtbSh5Hp


Pins toasted...  :~
Lesson learned: double check which wire you're holding.


might be the internal pullups??

You could test if the blown analog ports stil work as an digital out port.

pinMode(Ax, OUTPUT);
digitalWrite(Ax, HIGH / LOW);


Rob Tillaart

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


Which board are you using? You can get a new 328 programmed with the bootloader for 5 - 6 dollars and plug that into your board and have the full function back.

Go Up