Taking pictures with the OV7670 camera module
Adding sight to the Arduino Nano is our first step to unlocking computer vision applications.
In this first recipe, we will build an electronic circuit to take pictures from the OV7670 camera module using the Arduino Nano. Once we have assembled the circuit, we will use the Arduino pre-built CameraCaptureRawBytes
sketch to transmit the pixel values over the serial.
The following Arduino sketch contains the code referred to in this recipe:
01_camera_capture.ino
:
Getting ready
The OV7670 camera module is the main ingredient required in this recipe to take pictures with the Arduino Nano. It is one of the most affordable cameras for TinyML applications – you can buy it from various distributors for less than $10. Cost is not the only reason we went for this sensor, though. Other factors make this device...