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.
Petr Malanik
ee7bed9344
|
2 years ago | |
---|---|---|
.. | ||
App | 2 years ago | |
Camera_driver | 2 years ago | |
Drivers | 2 years ago | |
Inc | 2 years ago | |
Src | 2 years ago | |
.gitignore | 2 years ago | |
.mxproject | 2 years ago | |
FC_camera.ioc | 2 years ago | |
Makefile | 2 years ago | |
Readme.md | 2 years ago | |
STM32L452CEUx_FLASH.ld | 2 years ago | |
example_image.jpeg | 2 years ago | |
startup_stm32l452xx.s | 2 years ago |
Readme.md
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