mramos1
Active Member
I designed my light detector. It is an LDR and cap to a pin on a microcontroller. And a transistor to piezo to beep.. Thanks to Nigel's joystick tutorial.
Problem, battery last 5 days (9volt transistor type).
Any ideas on using the LDR, it drops to 1K when the light is at the level I want to detect. Can I use it and a resistor to an FET to power the microcontroller? Any other ideas.
I bought some AVR tiny11 chipd that draw less power, but my programmer will not program them (for some reason), so look for other ideas.
Thanks.
Problem, battery last 5 days (9volt transistor type).
Any ideas on using the LDR, it drops to 1K when the light is at the level I want to detect. Can I use it and a resistor to an FET to power the microcontroller? Any other ideas.
I bought some AVR tiny11 chipd that draw less power, but my programmer will not program them (for some reason), so look for other ideas.
Thanks.