You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
851 B
21 lines
851 B
2 years ago
|
# Camera driver support package
|
||
|
|
||
|
Example implementation of camera driver and export of images from OV2640 camera.
|
||
|
Data from camera are read from camera into MCU memory and the transmitted via CLI UART and RS-485
|
||
|
New image is captured every 2-3 seconds, format is JPEG and resolution 320x240 pixels.
|
||
|
If frame is broken (image cannot be open, JPeg corrupted) first frame must be cached,
|
||
|
|
||
|
## Image capture on computer
|
||
|
- Connect Serial adapter to CLI of FC
|
||
|
- Connect OV2640 to camera port of FC
|
||
|
- Power up FC from stable power source
|
||
|
- Reroute serial line into file `(stty raw; cat > received.jpeg) < /dev/ttyUSB0`
|
||
|
- replace interface name
|
||
|
- Wait for image capture (until red LED change state)
|
||
|
- Open image or edit it in okteta
|
||
|
|
||
|
## Example image
|
||
|
Image of FC taken by OV2640 connected to same FC
|
||
|
|
||
|
![](example_image.jpeg)
|