BookScanner Part2 - Cameras

Nikolaus Gradwohl2016-03-16T08:25:02+00:00

I got two cheap canon A490 point and shoot cameras for my BookScanner.

cameras

I need to take a picture of the two pages of a book at the same time without touching the cameras, to prevent me from moving them. Unfortunately the cameras don't support a remote control. But I found that there is a nice alternative firmware for the cameras from the chkd project.

This alternative firmware adds a ton of new features and among others allows to execute a Lua script when the USB port gets power. This script then can be used to trigger the autofocus and take a picture. :-)

The installation of the firmware on the camera was pretty simple. Download the package for your camera unzip the package to a SD card and use the update firmware feature of the camera to install it. The chkd firmware starts without modifying the original camera firmware so you can test it without potentially destroying your camera.

In my BookScanner I don' t want to start the firmware manually all the time so I made the SD card booteable. Unfortunately my cameras only boot from the SD card when it is formated as Fat16. This limits the size of the partition to 4G which isn't great but should be sufficient for my BookScanner. To make the cards booteable I formated them as Fat16 and placed the firmware in the root directory. I started the firmware manually and then used the ..... menu to set the boot flag on the partition. Finally the card needs to be put in the read only mode using the little switch on the side. Than the camera loads the alternative firmware automatically when the camera is turned on. The new firmware also ignores the read only flag on the card and stores pictures on them whithout the need to flip the readonly switch again.

Tweet This! submit to reddit Digg! Tags: | no comments | no trackbacks

See also:

BookScanner part3 - remote Controll cable
bookscanner - Part 1

Trackbacks

Comments

Leave a response

Leave a comment