Go Down

Topic: Is my board dead (Read 456 times) previous topic - next topic

gorstj

I have set pins 2 & 3 on my Uno to be INPUT_PULLUP and digital.write HIGH to enable the internal pullup resistor.

I am sure it was working (but have changed the hardware and software), now it is not....

Putting a multimeter between the pin 2 and ground gives 1.00v
Going between pin 3 and ground gives circa 5v

If I digital-write low to pin 2 then it reads 0v

Is pin 2 now dead? (I was planning on using it as an interrupt)

Thanks for any help (this is my first Ardunio project)

Nick Gammon

Show your code please.

Preferably a 5-line program that demonstrates what you are saying, and re-test with this program.
Please post technical questions on the forum, not by personal message. Thanks!

More info:
http://www.gammon.com.au/electronics

gorstj

Thanks for your help.

Worked it out as soon as I woke up! I left a 10k pull down resistor attached to that pin in my circuit.
After removal all working well

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy