Posted in October 2012

v0.4 boards are here!

I got the boards last Thursday, however, I had no chips available at that time. My Atmega chips only reached here yesterday. Anyway, got one already assembled and working pretty well. Still refining the code, but so far seems my boards are fine, no design errors, except the silkscreen which is a bit messy, was … Continue reading

Contrast/Brightness with OV7670

Contrast/Brightness with OV7670

Luminosity/Brightness control can be implemented on OV7670 sensor using their respective registers, as shown bellow.   Contrast OV7670 register responsible for this is: 0x56. Note: High contrast will make picture look sharper, however, will impact the dynamic range. Contrast +2 (0x56, 0x50) Contrast +1 (0x56, 0x40) Contrast 0 (0x56, 0x50) Contrast -1 (0x56, 0x38) Contrast … Continue reading

Streaming faster

Streaming faster

I thought of adding a new “mode” that allows me to stream the image and tracking information at a speed that make sense. For this I need to bring the frame-rate somewhere at least 4 FPS when streaming QVGA data. First, I “trimmed” the frame to fit in 256 x 240 instead of 320 x … Continue reading

White Balance control with OV7670

White Balance control with OV7670

OV7670 sensor have White Balance support. Several White Balance modes can be implemented programming the sensor through SSCB. WIll not go in details on how SSCB works or how should be implemented, there are plenty of sources online, however, I could not find details on how to add a While Balance control. Available modes are: … Continue reading

Good news, bad news

Good news, bad news

I just created few pages that summarise the details about this project here. Also has details on the board I’m coming up with and how to communicate with it once a final version will be available, for people interested to buy one. Seems the boards should be finally here (well, postman left a note in … Continue reading

Improvements

Improvements

For past few days I tried to sort out some image issues: white balance, sharpness, colour fringing, etc. And after a bit of research and trial and error I managed to get the AWB enabled, enable the sharpness and set a decent threshold and cleanup a bit the colour fringing. I will have to test … Continue reading

LPC1769 with OV7670

LPC1769 with OV7670

Managed to get working a stripped down version of my code on LPC1769 Xpresso board with OV7670 FIFO module. Since I’m handling the IO and interrupts using macros, was not that hard. With serial port running @ 921.6 kbps I am able to reach around 4 fps (@ 160 x 120) using Processing to display the serial stream. … Continue reading

Revamping

Revamping

While waiting for the boards to come from the factory, I’ve decided to rewrite the code completely and move from C to C++, encapsulate it in few classes. This way will be able to port it on ARM maybe (but this will increase the cost of the entire solution and restrict the development for some: … Continue reading

Prototype board coming soon

Prototype board coming soon

Just finished the first version of the PCB, had to remove the I2C connector for now as there is not enough space to fit it in this stage (well, once improve on using Eagle PCB, should put it back). However, managed to get the everything else in and still within the 3 cm x 3 … Continue reading

Preparing first PCB

Preparing first PCB

While still messing around with the code, i decided it will be better to create the first PCB prototype. Managed to get Eclipse running on MacOS and draw the schematic. Was an interesting experience, however, designing the PCB is an entire new thing all together. I know the basics of designing a good PCB, learnt … Continue reading