Archive for the ‘Time Lapse Video Throwie’ Category
Here’s the underside of the Throwie showing a couple of rare earth magnets glued into some Sugru.
Sadly I think I was a little enthusiastic pushing everything together in the case and I damaged the LiPo battery, which swelled up and wouldn’t hold a charge. I swapped it out for a larger one I had and put them in heatshrink.
The new units I ordered behave slightly different from my first one and I’ll have to modify the code anyway.
Here’s the ATTiny45 installed into the camera case, “dead bug” style. Btw the code for this is available at my Github repo.
The software is complete and works the way I want. You can now stop and start the timelapse anytime. Once the units I ordered arrive I’ll do a video which shows how it all works.
I’ve modified the code so that the timing is now driven off of the internal counter/timer instead of using a delay loop. This means that the variable image processing time is at least partially resolved, at least while the image processing time
is smaller than the image capture interval. For instance if I have a 15 second capture interval then while the image processing takes less than about 12 seconds, it’s fine. After that the image capture interval grows.
I’ve also modified the code to have the chip wait for a button press on the power switch before it starts working. This means that you can charge the unit and not have it capture images until you are ready. It also tests the power button in between image captures so you can turn it off anytime. I’m not going to bother putting the chip to sleep between intervals since it only draws about 0.5ma when busy.
I think that’s about it for the features I wanted to put in. The next step is to put the Atmel into the case and put the camera unit back together. I have some units coming from Hong Kong so hopefully they’ll arrive soon.
Because the grass was already grown and the paint was already dry, here’s some ice melting.