OV7670 Camera Module with FIFO Using Featherboard M0
This is camera streaming test using Featherboard M0 and OV7670.First of all, it is difficult to stream video using this M0 core.. so I decided to use the camera module that has FIFO.
With this implementation, MCU can just grab the images from the FIFO and send it to the host without considering the timing of camera interface.
OV7670 camera module I am using is has AL422B FIFO behind the camera and you can find the datasheets here and here.
Connection
My connection between Featherboard M0 and OV7670 module is listed below.OV7670 | Featherboard |
1 | VDD |
2 | GND |
3 | SCL |
4 | SDA |
5 | 9 |
6 | |
7 | 6 |
8 | 5 |
9 | A5 |
10 | A4 |
11 | A3 |
12 | A2 |
13 | A1 |
14 | A0 |
15 | VDD |
16 | GND |
17 | |
18 | 10 |
19 | 11 |
20 | GND |
21 | 13 |
22 | 12 |
I2C bus requires the pull-up registers and I have 4.7k-ohm registers to 3.3V on both SDA and SCL.
Test
Here is the video of the test code.
As you can see in the video, frame rate is not so fast at this moment (less than 4fps), but it is good enough to use this as small camera project like monitoring system.