uCam- TLL
teganburns
Posts: 134
hi my name is Tegan Burns and I recently bought the uCam-tll and need help interfacing the device with the propeller. I have the Programming and customizing the multi core propeller microcontroller book but It didn't seem to help me with this. It would help me out a lot if you could check this link out ( http://www.4dsystems.com.au/prod.php?id=75 ) and lemme know what to do. Thank you!
Comments
http://www.ikalogic.com/image-processing-as-a-sensor/
http://www.cmucam.org/projects/cmucam4
From the description on the linked website:
"User commands are sent using a simple serial protocol that can instruct the camera to send low resolution (160x120 or 80x60) single frame raw images for a quick viewing or high resolution (640x480 or 320x240) JPEG images for storage or viewing."
So 160x120 and 80x60 pictures should be possible with the Propeller. These resolutions fit well to the video generation capabilities of the Prop.
Andy
While reading the datasheet of the camera I have extracted the important infos into a Spin code, which is attached.
These code is for sure untested, I don't have such a camera. But it compiles, that's a good start...
To try it out, you need to connect the camera at portpins P0 and P1 and use the Parallax Serial Terminal (PST) for the debug output.
The code should be commented enough to compare it with the description in the datasheet. If it is too complex for you, then work first through a few tutorials that use the FullDuplexSerial driver for serial connection.
Good luck
Andy