NerdKits - electronics education for a digital generation

You are not logged in. [log in]

NEW: Learning electronics? Ask your questions on the new Electronics Questions & Answers site hosted by CircuitLab.

Basic Electronics » Why does my LED light if i so much as get near the circuit

February 26, 2011
by nckomodo
nckomodo's Avatar

So I'm having a bit of an issue,

I have the controller programmed to light up an LED if another pin is powered, which SEEMS to work but the LED also lights up if I touch the connecting wire to the sensing pin or even just hover my hand close to it, why is this?

February 26, 2011
by mongo
mongo's Avatar

It sounds like you are providing an electrostatic field that the inputs are picking up on. One quick fix is to put a 1 MegOhm resistor on the input and ground. That will sink off anything like that. You might also try grounding yourself some how to dissipate and static that might be built on you.

February 26, 2011
by nckomodo
nckomodo's Avatar

Hey thanks, the resistor seems to do the trick!

Post a Reply

Please log in to post a reply.

Did you know that you can connect a pushbutton to a microcontroller with only one wire? Learn more...