element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
STM32F4DISCOVERY Expansion Boards
  • Products
  • Dev Tools
  • STM32F4DISCOVERY Expansion Boards
  • More
  • Cancel
STM32F4DISCOVERY Expansion Boards
Forum OV5640 camera via DVP interface
  • Blog
  • Forum
  • Documents
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join STM32F4DISCOVERY Expansion Boards to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 10 replies
  • Subscribers 6 subscribers
  • Views 4347 views
  • Users 0 members are here
Related

OV5640 camera via DVP interface

Former Member
Former Member over 9 years ago

I have  STM32F4DIS-BBSTM32F4DIS-BB board and OV5640 camera http://www.arducam.com/camera-modules/5mp-ov5640/

via DVP interface

Pin No.PIN NAMETYPEDESCRIPTION
1VCCPOWER3.3v Power supply
2GNDGroundPower ground
3SCLInputTwo-Wire Serial Interface Clock
4SDATABi-directionalTwo-Wire Serial Interface Data I/O
5VSYNCOutputActive High: Frame Valid; indicates active frame
6HREFOutputActive High: Line/Data Valid; indicates active pixels
7PCLKOutputPixel Clock output from sensor
8XCLKInputMaster Clock into Sensor
9DOUT9OutputPixel Data Output 9 (MSB)
10DOUT8OutputPixel Data Output 8
11DOUT7OutputPixel Data Output 7
12DOUT6OutputPixel Data Output 6
13DOUT5OutputPixel Data Output 5
14DOUT4OutputPixel Data Output 4
15DOUT3OutputPixel Data Output 3
16DOUT2OutputPixel Data Output 2 (LSB)
17M+POWERPower for VCM
18GNDGroundGround for VCM
19RSTInputSensor reset signal, active low
20PWDNInputPower down input, active high

I need to connect them together.

Do I need to solder something to the BB board test point 22 and then connect it to the camera connector XCLK

or

can I just use whatever timer output pin and set it to generate 24 MHz or whatever frequency I need directly?

 

What is M+? What voltage it requires to power it up?

 

Please advise.

 

Thanks.

 

barcamera

  • Sign in to reply
  • Cancel
Parents
  • gihu
    0 gihu over 9 years ago

    Hi,

     

    About the XCLK I think that the  STM32F4DIS-CAMSTM32F4DIS-CAM connects the camera clock to the PA6 so you can do it in the same way no need to modify the base board

    About the VCM, as far as I know is a power supply for the auto-focus, you must check if it can work in 3V3, I think typically are lower voltages.

     

    Hope that helps,

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 9 years ago in reply to gihu

    Thank you for reply.

     

    PCLK goes from the camera and is input for mcu. XCLK goes to the camera and mcu output. I am pretty sure that mcu gpio should be able to handle it but want to know for certain.

     

    What is M+ (VCM) voltage? Don't want to guess either!

     

    I don't like any guessing games.

    If someone has actual compatible arduino board with the schematics should be easy enough to answer.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • Former Member
    0 Former Member over 9 years ago in reply to gihu

    Thank you for reply.

     

    PCLK goes from the camera and is input for mcu. XCLK goes to the camera and mcu output. I am pretty sure that mcu gpio should be able to handle it but want to know for certain.

     

    What is M+ (VCM) voltage? Don't want to guess either!

     

    I don't like any guessing games.

    If someone has actual compatible arduino board with the schematics should be easy enough to answer.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
  • gihu
    0 gihu over 9 years ago in reply to Former Member

    Hi,

     

    You are right about the clock, so the best option will probably be the one you say, connect it to tp22.

    And about M+, I mean check the datasheet or any info from the supplier, it will depend on what is integrated inside your hardware, some hardware add integrated voltage regulators, for example the one you say has an integrated 1.5V voltage regulator for the core, and for the analog says typically 2.8V.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 9 years ago in reply to gihu

    I looked at the schematics: both BB and CAM boards have the same snippet on. It confuses me, but still not too much worrying here.

    M+ is a totally different story. I did ask arducam and got nothing yet... What the &^%$#@ that nobody can answer something seemingly not too difficult question.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • gihu
    0 gihu over 9 years ago in reply to Former Member

    I am looking now the schematics for the arducam shield, just to know which voltage injects to the arducam, but it seems to use a 16-pin connector, quite confusing.

    Do you know for which hardware or sheield is your arducam designed to?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 9 years ago in reply to gihu

    All I can tell is the link I have already provided...I wasn't able to find anything there nor to get any response/help.

    Thank you for trying to help me out.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • gihu
    0 gihu over 9 years ago in reply to Former Member

    Hi,

     

    See this link:

    http://www.arducam.com/downloads/shields/ArduCAM_RevC+_Camera_Shield_DS.pdf

    This shield is supposed to work with the different arducams.

    See at page 6 this image:

    image

    So I guess you can use your cam without connecting VCM, reset and power down.

    Hope this time it helps

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 9 years ago in reply to gihu

    hmmm....

    I saw that, but p.5

    http://boundarydevices.com/wp-content/uploads/2014/12/CM8359-B500SA-E_V0.1.pdf

    points to 2.8V

    https://cdn.sparkfun.com/datasheets/Sensors/LightImaging/OV5640_datasheet.pdf

    look ch 3.3

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 9 years ago in reply to Former Member

    Auto-Focus Specification

    NO.                Item                                    Specification

    1                    Auto-Focus Type                VCM (Voice Coil Motor)

    2                    VCM Driver                         Sensor internal driver

    3                   Power Supply                      2.6~3.3V

    4                   Rated Current                      ≤100mA

    5                   Resistance                          16±2Ω

    6                   Focusing Range                 10cm to infinity

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • gihu
    0 gihu over 9 years ago in reply to Former Member

    These datasheets are for different hardwares, I would trust on arducam documents.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube