0
votes

I would like to know if someone met the same problem on Arduino board. Know if there is a solution ? My Arduino board has only 1 month. The pin 0 worked well before. I don't know if it's possible to "burn" a pin. (ex : use a too high voltage ? ) Output A0 connected to 5V Output A1 connected to V

2
A0 or digital pin 0? - Dat Ha

2 Answers

0
votes

On the screenshots you provided it shows the value on the pin, so technically speaking your analogRead has no problems. Check the link and connections. But regarding your question - yes, you can burn pin and even board with high voltage, so don't forget resistance when it's needed. Also good practice to use arduino macro for analog pins like analogRead(A0); which is perfectly fine for arduino

0
votes

Your screenshots show that the values read from A0 are changing (190 first, 300 second). That suggests that the problem lies in the electrical connection. Try to resolder the A0 connector pin, and possibly appropriate pin of the microcontroller. Check if the path leading from the connector to microcontroller pin is not cut somewhere.