Roadrunner technical documentation
The basic knowledge used to write this article comes from this page:
Omnivision OV7670 camera available on Amazon
Signal | SAMA5D2 pin | Camera pin |
---|---|---|
ISC_D0 | PB26 | GND |
ISC_D1 | PB27 | GND |
ISC_D2 | PB28 | GND |
ISC_D3 | PB29 | GND |
ISC_D4 | PB30 | D0 |
ISC_D5 | PB31 | D1 |
ISC_D6 | PC0 | D2 |
ISC_D7 | PC1 | D3 |
ISC_D8 | PC2 | D4 |
ISC_D9 | PC3 | D5 |
ISC_D10 | PB24 | D6 |
ISC_D11 | PB25 | D7 |
ISC_VSYNC | PC5 | VSYNC OUT Active High Frame Valid; indicates active frame |
ISC_HSYNC | PC6 | HREF OUT Active High: Line/Data Valid; indicates active pixels |
ISC_MCK | PC7 | XCLK INP Master Clock into Sensor |
ISC_PCK | PC4 | PCLK OUT Pixel Clock output from sensor |
TWCK1 | PD5 | SCL I2C Clock |
TWD1 | PD4 | SDA I2C Data |
PB11 | PB11 | RST INP Sensor reset signal, active low |
PB12 | PB12 | PWON INP Power down input, active high |
3V | VCC | |
GND | GND |
Device Drivers --->
<*> Multimedia support --->
[*] Cameras/video grabbers support
[*] Media Controller API
[*] V4L2 sub-device userspace API
[*] V4L platform devices --->
<*> ATMEL Image Sensor Controller (ISC) support
<*> ATMEL Image Sensor Interface (ISI) support
I2C Encoders, decoders, sensors and other helper chips --->
<*> OmniVision OV5640 sensor support
<*> OmniVision OV7670 sensor support
Install ffmpeg:
sudo apt update
sudo apt install -y ffmpeg
Record 5 secs of video:
sudo ffmpeg -y -r 25 -t 5 -i /dev/video0 out.mp4