shadowmite@May 9th, 2009
C328R Camera module…
So I’ve spent the better part of the last 2 days working on coding for the C328R vga serial camera module to get it talking through the weegee over the wireless link. So far it’s not been going well. Suffice to say I made about every mistake you can make when coding a serial device (FIFO, delays, etc) but eventually have now gotten myself to where I can sync up to the camera, init it, set the types etc and snap (sometimes…) a jpeg and get the byte size back. I then implemented my SD card writing code to write the 512byte raw sectors to the on board card. And when I checked afterward, I’ve got a valid jpeg header, but not a valid image. I’ll have to play with it more! I’ll put up my open source code once I complete it. That will be a ATMEGA644p AVR C example project…

