Better Voltage Regulator?
Thanks, Ingvar. That is just the kind of help I need.
I gave some effort to using AA cells, and decided that it was not practical. This device will be passed on to others who may not have a screwdriver, and would be hard pressed to replace the batteries. On the other hand, I can buy an enclosure with a separate hatch for a 9v battery that will be easy for anyone to change.
I am using the internal oscillator in the chip, as the time is plenty close enough.
You are right about the 78L05 using much of the power. As best I can figure, it uses about 3 ma of the 4.5 ma current. There is also a flashing led (so the user knows something is happening) and a buzzer, but they are on for such a short time their current does not matter much. But I don't know about a better voltage regulator. What do you suggest.
Thanks for your help.
AMay
Pin 0 & 1 are comparators by default
You need to change their mode as part of your a setup
Try:
poke $19, $7 'to disable comparator mode for pins 0 & 1
See the manual regarding these pins as comparators.
When used as comparators, the 12f629/75 make a great op-amp. It is on or off, no slope, and the turn on can be "smart. I made an "on at dark" light switch that stays on only 4 hours.
AMay
Where is your final solution ?
Did not find your "final solution",
Could you post it again ? It might interest other people too.
Thanks,
Quote:
Originally Posted by AMay
I have finished my timer project, and I think it came out pretty well. Pictures attached.
AMay
1 Attachment(s)
Final solution - Automatic turn off
The attachment to my original message got lost it seems, so here it is.
and, moreover saying "papa and mamma" ...
Ioannis,
this was an Example .... have a look to other brands too ( Micrel 29xxx ( 1µA ) ... etc, etc ).
Alain