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.
BUTCube/resources/Camera_driver
Petr Malanik ee7bed9344
Camera_driver: add Readme and example of captured image of FC
2 years ago
..
App Camera_driver: remove legacy driver 2 years ago
Camera_driver Camera_driver: remove legacy driver 2 years ago
Drivers Camera_driver: remove legacy driver 2 years ago
Inc Camera_driver: remove legacy driver 2 years ago
Src Camera_driver: remove legacy driver 2 years ago
.gitignore Camera_driver: remove legacy driver 2 years ago
.mxproject Camera_driver: remove legacy driver 2 years ago
FC_camera.ioc Camera_driver: remove legacy driver 2 years ago
Makefile Camera_driver: remove legacy driver 2 years ago
Readme.md Camera_driver: add Readme and example of captured image of FC 2 years ago
STM32L452CEUx_FLASH.ld Camera_driver: remove legacy driver 2 years ago
example_image.jpeg Camera_driver: add Readme and example of captured image of FC 2 years ago
startup_stm32l452xx.s Camera_driver: remove legacy driver 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