Jittery LED
I'm having what I beleive is a problem with noise. I have hooked the IR receiver (Stock#: 350-00014) up as input to P10. P9 outputs to drive an LED (visible). The leads are short--all mounted on a BOE-BOT breadboard, but the LED flickers randomly all the time as if noise was affecting it. My TV remote makes the LED flicker as expected (indicating, I hope, that it's wired correctly), but even with the IR receiver covered, the LED flashes randomly. Can someone recommend a solution? Perhaps some filtering or something? My BOE-board is old (at least a couple of years) and I doubt my constant plugging and unplugging has done it much good, but even switching holes doesn't affect the average rate of apparent noise. I tried a simple flashing subroutine in hopes of detecting any kind of loose connection--works as exspected, then begins the random flash.
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
A copy of your PBASIC program would be real handy for helping to diagnose this problem. My suspicion is that you may be using SLEEP or NAP in your program, and if you are, therein lies your problem.
Regards,
Bruce Bates
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
<!--StartFragment -->
Just a thought...more details needed...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Truly Understand the Fundamentals and the Path will be so much easier...
Also, tried a different sensor--I noticed the one I was using was very hot. Problem much redueced, but the LED will occassionally change states-- normal? or would pull-up/ down improve performance to perfection?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
OS-X: because making Unix user-friendly was easier than debugging Windows
Thanks again,
Mark