Skip to content
This repository has been archived by the owner on Apr 14, 2022. It is now read-only.
forked from ArduCAM/STM32

ArduCAM library conversion to handle DCMI interface

Notifications You must be signed in to change notification settings

LigasN/Archived_CameraOV2640

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Archived! Doesn't work!

STM32

Brief Introduction

  • This program is a demo of how to use ArduCAM Mini camera on STM32 f103C8T6/ f103ZET6 / L152RBT6.etc platform.
  • This demo was made for ArduCAM_Mini_2MP. It needs to be used in combination with PC software.
  • It support signal capture
  • It can take photo continuously as video streaming.

Mainly tasks

  • Set the camera to JPEG output mode.
  • Read data from Serial port and deal with it
  • If receive 0x00-0x08,the resolution will be changed.
  • If receive 0x10,camera will capture a JPEG photo and buffer the image to FIFO.Then write datas to Serial port.
  • If receive 0x20,camera will capture JPEG photo and write datas continuously.Stop when receive 0x21.
  • If receive 0x30,camera will capture a BMP photo and buffer the image to FIFO.Then write datas to Serial port.
  • If receive 0x11 ,set camera to JPEG output mode.
  • If receive 0x31 ,set camera to BMP output mode.

Hardware connection (STM32 f103C8T6/ f103ZET6)

         Arducam   ->        STM32 

         SCL       ->        PB10
         
         SDA       ->        PB11
         
         VCC       ->        3.3V
         
         GND       ->        GND
         
         SCK       ->        PA5 
         
         MISO      ->        PA6
         
         MOSI      ->        PA7
         
         CS        ->        PA4

Hardware connection (STM32L152RBT6)

         Arducam   ->        STM32 

         SCL       ->        PB10
         
         SDA       ->        PB11
         
         VCC       ->        3.3V
         
         GND       ->        GND
         
         SCK       ->        PB13 
         
         MISO      ->        PB14
         
         MOSI      ->        PB15
         
         CS        ->        PB12

Alt text

Operation Demo

Part1: Download the Project from https://github.com/ArduCAM/STM32.git

EasyBehavior

Part2: Upload the firmware to the STM32 platform

EasyBehavior

Part3: Signal capture demo:

EasyBehavior

Part4: Video streaming demo:

EasyBehavior

Releases

No releases published

Packages

No packages published

Languages

  • C 97.7%
  • Assembly 2.3%