// empty sketch void setup() { } void loop() { }
//Leo_passthru // Allows Leonardo to pass serial data between // fingerprint reader and Windows. // // Red connects to +5V // Black connects to Ground // Green goes to Digital 0 // White goes to Digital 1 void setup() { Serial1.begin(57600); Serial.begin(57600); } void loop() { while (Serial.available()) Serial1.write(Serial.read()); while (Serial1.available()) Serial.write(Serial1.read()); }
Now download and install the VC0706 CommTool software (see below in the Download section)
Start up the software and select the COM port that the Arduino is on.
The next button you should press is near the bottom FBUF CTRL.
- Point the camera at something you want to take a photo of
- Click Stop FBuf to freeze the frame buffer
- Click Sel File to select the file to save the JPG as
You might notice there's a dropdown for changing the baud rate. By default the baudrate is 38400 baud.
Despite the software letting you change the baud rate this is a very flaky setting and even if it works, when you power up the camera again it will reset. Some experimenters have accidentally disabled their cameras by trying to change the baud rate. We do not suggest you mess with the baud rate settings. If you do, you may permanently disable your camera and we will not replace it!
- Config - see above
- Get Version - see above
- R/W Data - this is for writing raw data to the DSP chip processor. Don't do this unless you're sure you know what you're doing since it will mess with the camera's ability. Even we don't know what it would be good for
- Color Ctrl - this is for selecting Color or Black&White or Auto select (probably based on lighting conditions). You probably want to keep it at Auto
- Mirror Ctrl - we think this is so you can flip the display (if its bouncing off a mirror)
- Power Ctrl - this is for testing the power down mode, and it seems like you might be able to have it auto-power down when there's no motion.
- Timer Ctrl - there is an RTC built into the DSP which you can set, however there's no battery backup so if power is lost the RTC will be reset so we don't think its terribly useful
- AE Ctrl - this is for controlling the auto-contrast/brightness. By default its set to auto-select for indoor or outdoor use. Probably best to leave it as is
- Motion Ctrl - this is for the motion detection system. You can tweak the settings and also test it. We have an Arduino sketch for interacting with the motion detection system. By default it works pretty good but you can super tweak it out if you want to.
- OSD Config - The protocol sheet and this seem to imply you can do on-screen-display but after much time spent on it, we determined its not activated somewhere in the DSP. We've never seen a VC0706 camera that could do it. :(
- Image property - see above
- Gamma - this is for more precise gamma control of the CMOS sensor. It seems to be preset to be OK but you can mess with this if you'd like
- SPI Flash - for reading/writing to the SPI storage? Not sure if its a good idea to mess with this
- Other Ctrl - for playing with the DAC? No idea what this is for.
- Up/Down Load - this is for reading and writing to the flash probably to upload new DSP code. We dont suggest messing with this
- System Reset - does a reset of the module. Press this if its not responding
- FBuff Ctrl - see above
- Zoom Ctrl - The module has built in 'Pan Tilt Zoom' ability BUT its for video only and wont affect photos snapped. You can play with the PTZ here, its pretty basic but could be useful for someone