Electronic – arduino – Powering a wireless camera

arduinocameraraspberry pi

I'm trying to design a camera system for use in my bike shed.
The bikeshed is in range of wifi but has no power.

First I thought I could use a Raspberry Pi with a Picam, and have video streamed to an endpoint I have set up in Azure.

I quickly realised it consumes a lot of power and after less than a day the battery would be empty.

A few things to note:

  • I could maybe change the microcontroller, but from what I've heard the Arduino isn't powerful enough to record and stream video.
  • I can't use solar power or wind power as I don't have access to the roof and I feel this would give away the camera too.
  • I have no power sockets available so I'm relying on a power pack. Ideally, I don't want to be charging it more than once a week.
  • I considered using an Arduino to "wake" the raspberry pi. But with a boot time of around 20 seconds, it could miss crucial footage.

Using a raspberry pi seems like overkill to me. But as mentioned my lower power microcontrollers don't seem to be powerful enough to operate the camera.

Best Answer

Long story short: There's no free lunch. For every bit you transmit wirelessly, you have to spend energy. The amount of power spent in the CPU is probably lower than what you have to spend to transfer the data.

Not to mention that the camera uses power too.

So: Use the camera and the wifi as little as possible. You probably have enough nice photographs of your bike shed. You don't need to know what it looks like when there's nothing moving in there.

Have a cheap PIR movement sensor, maybe attached to an actual low-power device (not an arduino board, typically these come with a lot of static power consumption, and also, Arduino is terrible at allowing you to actually put the MCU to sleep while you don't need it). With that, power up the camera and the pi only when needed. Suspend the Pi (or completely shut it down) when not in use.

I considered using an arduino to "wake" the raspberry pi. But with a boot time of around 20 seconds, it could miss crucial footage.

Get a different OS for your Pi. Boot time should not take more than 5 seconds. Also, have you ever heard of someone entering a bike shed and leaving with a bike within 20s? You could easily solve that issue with a low-tech solution like a 3-digit lock attached to a pole or something.

Related Topic