Thats a good point 'Perhaps if none of these strategies work, the alarm should go off'. As per my code right now, the default PIN is stored in EEPROM. The user types in their PIN, hits enter and is then given the choice to arm/disarm the system, cancel or change the PIN. If they choose change PIN, they're prompted to enter a new PIN then hit enter. The new PIN is then stored in the EEPROM over the old one.
Im looking more and more at the 'divider chain' setup. The code is so short and simple. I could cut down 37 lines of code to about 10.
Im gonna get some parts and another protoboard Monday and build one to do some testing. I will try with 100k(maybe 1M) resistors. I may test the feasibility of making one of the alarms battery powered with solar recharge. The circuit with 10K resistors draws a constant 29uA. Using the 100k resistors draws a constant 2.94uA(1M draws .29uA). Regardless, Ill test it out, prove the mathcode works and possibly convert to it for my alarm. I certainly appreciate all you and everyone else who contributed input and opinions. More heads always make for a better product.
Edited by - Jon Henry on 12/08/2007 16:09:58
Edited by - Jon Henry on 12/08/2007 16:13:20
Im looking more and more at the 'divider chain' setup. The code is so short and simple. I could cut down 37 lines of code to about 10.
Im gonna get some parts and another protoboard Monday and build one to do some testing. I will try with 100k(maybe 1M) resistors. I may test the feasibility of making one of the alarms battery powered with solar recharge. The circuit with 10K resistors draws a constant 29uA. Using the 100k resistors draws a constant 2.94uA(1M draws .29uA). Regardless, Ill test it out, prove the mathcode works and possibly convert to it for my alarm. I certainly appreciate all you and everyone else who contributed input and opinions. More heads always make for a better product.
Edited by - Jon Henry on 12/08/2007 16:09:58
Edited by - Jon Henry on 12/08/2007 16:13:20