Usage Instructions for Enalab's Camera Module for iMote2
This page contains the instructions for trying out ENALAB's camera module with iMote2. Using the binaries posted on this page, first time users should be able to take snapshots and download them to a PC. Future software releases will provide information on how to use the camera software over the web.
The Enalab Camera software runs on Windows XP with Cygwin. The JTAG Debug board and the Xflash program is required to load the embedded software onto the iMote2. The binaries for Enalab's Camera software can be downloaded from here. The following instructions explain how to connect the Enalab Camera and iMote2 over USB for capturing images to a PC.
- Setup Cygwin (at least a minimal installation is required).
- Setup Xflash
- Setup FTDI drivers for the JTAG Debug board
- Unzip the Enalab Camera software onto the PC
- Connect the Enalab Camera to the iMote2
- Connect the iMote2 to the JTAG Debug board
- Connect the USB cable to the mini-connector on the JTAG Debug board
- Connect the USB cable to the PC
- Press the reset button on the iMote2
- Load the embedded software camera_app.bin.out onto the iMote2 using the Xflash program. You may simply run the load.bat file to load the binary image
- Determine the Virtual Serial port for the iMote2 on the PC
- Set the DEV variable in the sossrv.sh script to the virtual serial port
- Run the snap.bat or snap.sh file to capture an image on the Enalab Camera, convert the image to grey-scale, download the raw image to the PC, and convert the raw data to a PNG image file.



ENALAB Testing Status
The Enalab Camera boards have returned from the assembler, and they pass the test - the boards are a success. The new BGA image sensor works well with the wide-angle lens. The assemblers mounted the LED in backwards, but I was able to fix the LED by hand on a few boards. I changed the capacitors C2 and C4 to a smaller 0603 size to fit better on the bottom side near the USB connector. I tapped the lens mount holes with a 1-72 thread and used a 0.25in X 1-72 screw to install the lens mount.
Troubleshooting
- If snap.sh does not work:
- Edit sossrv.sh to point to the correct device (ie, /dev/ttyS0, or /dev/ttyS1, or /dev/ttyS*, ...)
- Run the Cygwin setup program and make sure you do not have xorg-x11-bin-dlls version 9.8.99.901. There are some issues related to those dlls that can be solved by rolling back to a previous version, such as 6.8.2.0.
| Attachment | Size |
|---|---|
| snap.zip | 62.16 KB |