Low power foto-webcam

I’m working on a new project, a low power foto-webcam. The idea come from http://www.foto-webcam.eu website, they are installing this systems in remote area from many years. However, they use to leave the system always turned on, instead I want to turn the system ON only when the camera have to take the picture.

I’m doing this with a STM32L0 evaluation board and a Mosfet to turn the system ON/OFF.

Here is the picture of the first prototype (the camera power supply is not yet implemented)

I will write further details and post my script.

[Update 08/2016]

OpenWrt Wireless in station mode

config wifi-device  radio0
	option type		mac80211
	option channel	11
	option macaddr	xx:xx:xx:xx:xx:xx
	option hwmode	11g
	option htmode	HT20
	option disabled 0

config wifi-iface
	option device   radio0
	option network  lan
	option mode     sta
	option encryption psk2
	option ssid     blabla
	option key 	blablabla

basic capture script


echo $(date +%F_%T) "Start myCapture.sh script"
gphoto2 --auto-detect

cd /tmp

while ! ping -q -c 1 -W 1 >/dev/null; do
    echo $(date +%F_%T) "wait for connection"

echo $(date +%F_%T) "internet connection ready"

echo $(date +%F_%T) "take photo with gphoto"
gphoto2 --set-config capture="1" --set-config imagesize="2" --set-config imagequality="0" --set-config zoom="7" --set-config meteringmode="0"  --set-config focusingpoint="0" --force-overwrite --capture-image-and-download --filename "image.jpg"

curl -T image.jpg ftp.bla.bla --user bla:bla

echo $(date +%F_%T) "upload to archive"    

now=$(date "+%Y%m%d%H%M")
month=$(date "+%m")
year=$(date "+%Y")
mv image.jpg $now.jpg
curl -T $now.jpg ftp.bla.bla/archive/$year/$month/ --user bla:bla --ftp-create-dirs
rm $now.jpg

echo $(date +%F_%T) "end myCapture.sh script"

[Update 05/2017]

Now the script move the picture on the /years/month directory and automatically create the new directory each month.

Some useful link:


[Update 20/08/2016]

Problems with communication between camera and tplink 3420, to solve the problem i removed all the picture from sdCard:



[Update 21/08/2016]

DC supply connector size looks like to be 2.35mm X 0.70mm

ca-ps800 is the original Canon power supply




Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.