TerryFricker
New Member
I'm using a Picaxe to trigger a digital camera once an hour. I'm using a DS1307 rtc for the timing reference, and have connected an LCD (non-serial) to display Time and Date, number of shots taken and battery voltage. (the LCD is only for debugging and will be removed in the final project) I'm new to the Picaxe and was quite chuffed to get everything working.
However, problems started when I introduced a 'SLEEP' command. The idea being that the pic wakes up every 50 sec to check if the rtc has changed its hour (minutes=0, in fact). I used SLEEP 50000 - thinking the parameters were u.secs. When I tried to download a correction, I got the 'Hardware not found on COM1' error message. After several more failed attempts, including powering down and up the picaxe board and pc, and trying to send a 'blank' program, I gave up on this 28X, and loaded a 18X. I tested the program successfully - with a SLEEP 20 command. However, when I came to download a modification, I ran into the same download error as before.
To confirm the problem (my stupidity?), I've now killed off a 18A, using a short LED blinking program. Again, download worked until a SLEEP 2 command was introduced.
Any ideas gratefully received. (I'm using the rev-ed picaxe experimenter board)
However, problems started when I introduced a 'SLEEP' command. The idea being that the pic wakes up every 50 sec to check if the rtc has changed its hour (minutes=0, in fact). I used SLEEP 50000 - thinking the parameters were u.secs. When I tried to download a correction, I got the 'Hardware not found on COM1' error message. After several more failed attempts, including powering down and up the picaxe board and pc, and trying to send a 'blank' program, I gave up on this 28X, and loaded a 18X. I tested the program successfully - with a SLEEP 20 command. However, when I came to download a modification, I ran into the same download error as before.
To confirm the problem (my stupidity?), I've now killed off a 18A, using a short LED blinking program. Again, download worked until a SLEEP 2 command was introduced.
Any ideas gratefully received. (I'm using the rev-ed picaxe experimenter board)