Electronics > Beginners
Button input problem
<< < (3/5) > >>
KL27x:
Read my first post and watch Dave's video. You don't need to go out in the rain. Remove the diodes on the right side (the old ones) and use them for the left side (the new ones).

Page 75 of the Atmega 328P manual shows these ESD diodes that are already in there.
Raj:
actually, I need to properly ground the arduino for it and output phrephrals to work properly...I know the effects.... you can get the same effect by doing figure 5
Raj:
figure 4 worked...case solved... :-+ :-/O
KL27x:
Ok. It works because there is no short/leakage between the gate through the I/O pin esd diode and internal pullups to Vdd. Your diodes stops that.

And there is no way for the Arduino to keep itself on, which apparently is fine because you only want it to remain on as long as you hold one or more buttons down.

But why do you leave those diodes on the right? The old ones? Not only they are redundant to the esd diodes, but now I wonder what you think they are doing in the new pic4 schematic, with common ground rail between battery and MCU?

 |O
Oh, nevermind. I'm slow. Yeah, you got all those pins and switches connected to the base on the PNP. I had glitches switching gears between the ground-thru-tac switch vs the high side PNP switching.

Common ground with high side switch: You could probably ditch all those new diodes you added for a single zener of 4-5V on the base? Reduce the value of your base resistor, if needed. One diode vs 9.
Raj:
Being slow is ok .... It's better than getting kicked (kicked myself out) out of college like me :-DD
Got f in Hindi,Punjabi and maths
Navigation
Message Index
Next page
Previous page
There was an error while thanking
Thanking...

Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod