That should work just fine. make sure external light cannot get to the LDR, just the light from the neon lamp.
It may be worth adding a capacitor across R2 so you get a more steady signal.
Are you using a commercial Neon lamp or wiring it yourself? Just remember to be VERY careful around mains!
i will put them as close as possible ^^just one point .... Neon has a very specific spectrum , mostly in the red , is your LDR sensitive to this ?? if the neon and LDR are very close it will probably be OK.
To work a uC input the voltage must cross the input thresholds and by selecting the resistor value that should be possible, especially if you make sure all external light is excluded.if i want to connect the output of the circuit to interrupt pin of any micro-controller should i modify the circuit ? or adding the capacitor across R2 enough?
|Thread starter||Similar threads||Forum||Replies||Date|
|Running about 7 to 10W through neon lamp electrodes & ballast (WITHOUT neon tube started)||General Electronics Chat||34|
|No LED to mains- here's a neon lamp to mains||General Electronics Chat||2|
|H||LED Neon Lamp||General Electronics Chat||2|
|S||Strange Neon Lamp?||General Electronics Chat||11|
|S||Qustion about Inductor + Neon Lamp Example||Analog & Mixed-Signal Design||2|