One issue I see here is that compact cameras do take a good few seconds to power up, and if it's one with a zoom lens then it'll probably make a noise as it does so.
Depends on how long your capture window is, I guess.
Hrmph. Yeah that's true.
I wish I could find a dirt cheap digital camera without a LCD screen - it'd save quite a bit of power.
Not anything to do with the project: we took one of the sides of my daughter's cotbed Sunday night and I am very tempted to get a night vision (IR LED) wifi camera so I can watch her fall out of bed.
Just as we were going to bed last night I opened the door to check on her. She was right on the edge of the bed then her head slipped down and she ended up on the floor. If I can record it we can both laugh at her if she falls out in the night :)
That's really appreciated, although I'd rather buy something from scratch (within an affordable budget) because I'd like to make something that's replicable at a low cost.
So far I think the most promising looking setup is looking like this:
1) A very cut-down arduino board. A tiny thing. £10-ish
2) A camera module (£20-ish)
3) a PIR sensor (£5)
So I should have the basics working for around £35.
This'll only give me 680x480, but that should be enough because the camera will be nice and close to the target.
The best thing about this set up is that it'll be extremely extremely extremely small - not much bigger than two match boxes on top of each other.
The next issue will be the power management. If I keep the arduino in sleep mode for the majority of the time and only have the PIR sensor active, I'll save a huge amount of power, but I'll need to find a way to have it interrupt the sleep mode.
Potentially then I could have it powered by a solar panel and a battery - although that'll increase the cost considerably. I'm guessing the total project cost would be around £100.
I've seen non-solar pre-built kits for around £80, so potentially I'm saving around £40 if I go without the solar panel - for a similar resolution.
I guess the advantage is that I'll have full control over mine. I could add a wifi module, bluetooth module, SD card..etc..
From what I've seen, the £80 ones just hook directly into the TV which isn't really ideal.
Aye, I keep going back to that, but the arduino wont be able to power it (or even process it), which then leads me to the raspberry pi, which in turn removes any chance of having this all completely solar powered.
gah
Canon PowerShot A800 10MP Compact Digital Camera camera from argos - £40.
A custom CHDK script to do the motion detection then take the photos..
Solder up a custom battery coupler for it
simples.
Cant really imagine i'll get it any cheaper than that with such good quality. Means I have a working camera too.
1. See what DC couplers currently exist for the camera. I bought one for mine.
2. There are motion-detection scripts already written and on the CHDK website. Check them out, might be easier to start with something that already works.
3. Some Canon cameras via CHDK have support for USB control, look into it, might help you avoid the servo and just use a USB cable connected to the arduino board to take the picture.
Regarding couplers:
I have one for my DSLR already - but this little cannon thing just takes 2 AA batteries and I've not seen one for that (yet). Making my own should be pretty simple (although if I can find a prebuilt one for under £10 I'll get it)
Regarding motion detection:
Aye, I'll use one of the pre-built ones to start with, although eventually I'll hopefully get rid of it and the PIR sensor will do the hard work. I want the camera turned on as little as possible.
Regarding USB:
I was thinking about that - but the servo will be turning the cameras power button on, not taking the shot. I need the camera turned on as little as possible if I'm gonna have any possibility of running this from solar.
Ideally, turning the USB connection on would turn the power to the camera on, but I tested that out and it doesn't work :(