JimPerry
Senior Member
First the background:
I have a caravan in Scotland that just got broken into ... OK installing an alarm is no problem (was doing it 40+ years ago).
The caravan site stopped having security on Sunday evenings - when the break in happened. So as well as loud noises and flashing strobe I need a GSM TXT message option (as I live nearly 250 miles away). Commercial units are available - from £20 to £300.
Tried a £20 unit didn't work - got a full refund.
Bought a £15 unlocked Samsung E1200 phone with a free O2 SIM (Tesco version is only £9).
A lot of faffing about with Epoxy, two cheap servo motors, paperclips and configuring phone to not get ads etc later - ITS ALIVE!
The phone has an SOS feature that sends TXTs to upto 5 numbers if a certain button is pressed 4-times rapidly (hence servo).
Works a treat off an 08M2 at moment.
Now the question:
I've cut the charger cable so I can run 5V into the phone when needed - not a good idea to leave it on charge 24/7 - so I figured to charge for about 2 hours every few days.
Is this a good idea for LiON?
Plus I thought to use the TIME variable to count to 36000 then increment 10Hr by one - every 10Hr = 4 reset TIME then CHARGE until TIME=720 (2 hours) - then start again.
Photo's and code will follow as I build more.
I have a caravan in Scotland that just got broken into ... OK installing an alarm is no problem (was doing it 40+ years ago).
The caravan site stopped having security on Sunday evenings - when the break in happened. So as well as loud noises and flashing strobe I need a GSM TXT message option (as I live nearly 250 miles away). Commercial units are available - from £20 to £300.
Tried a £20 unit didn't work - got a full refund.
Bought a £15 unlocked Samsung E1200 phone with a free O2 SIM (Tesco version is only £9).
A lot of faffing about with Epoxy, two cheap servo motors, paperclips and configuring phone to not get ads etc later - ITS ALIVE!
The phone has an SOS feature that sends TXTs to upto 5 numbers if a certain button is pressed 4-times rapidly (hence servo).
Works a treat off an 08M2 at moment.
Now the question:
I've cut the charger cable so I can run 5V into the phone when needed - not a good idea to leave it on charge 24/7 - so I figured to charge for about 2 hours every few days.
Is this a good idea for LiON?
Plus I thought to use the TIME variable to count to 36000 then increment 10Hr by one - every 10Hr = 4 reset TIME then CHARGE until TIME=720 (2 hours) - then start again.
Photo's and code will follow as I build more.