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 Has anyone tried the STM32F4DIS-CAM?
  • 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 3 replies
  • Subscribers 6 subscribers
  • Views 673 views
  • Users 0 members are here
  • stm32f4dis-bb
  • stm32f4-cam
  • stm32f4discovery
Related

Has anyone tried the STM32F4DIS-CAM?

Former Member
Former Member over 12 years ago

I've been working with the camera expansion board and have hit a few issues/have some questions.

 

Unfortunately I'm not setup to compile the provided example directly so I don't really have a baseline as to how the camera should perform... I've been using gcc on top of libopencm3 so had to create a bunch of stuff (there is currently no dcmi support in libopencm3 and the dma support is under development).

 

I do have the camera working, mostly. image

 

But, I'm only able to get monochrome images out of it... From the docs I thought the camera was the OV9655 which is color. Might the provided module actually be the OV9155 monochrome camera? Is there any way to tell from the register set? The only one I've seen is the product ID but that turns out to be a revision (the module I have is REV5). I don't see any markings on the module itself.

 

There is one bug in the supplied code: it puts the camera in RGB565 mode (presumably to match the DCMI 565 mode). Given that it's dma'ing the data straight to the LCD this looks rather interesting on an RGB555 display... Fortunately it seems that everything is happy if you put the camera in RGB555 mode as the word size is still 16 bits.

 

The image quality is quite poor at present as well. Either much tuning is needed in the camera configuration or this is all the result of me having something grossly wrong image

 

Thanks for any help!

 

Shannon

  • Sign in to reply
  • Cancel

Top Replies

  • ntewinkel
    ntewinkel over 12 years ago +1
    Hi Shannon, The cam does give me full colour. I got the kit that included the colour touch screen, the baseboard, and the camera. Like you said, the quality isn't great. I have a picture in this blog post…
  • ntewinkel
    ntewinkel over 12 years ago +1
    I just checked out the specs again... It looks like the camera can handle 1280x1024, but the display only does 320x240 - And like you said, the sample has the camera stream the image data straight to the…
  • Former Member
    Former Member over 12 years ago in reply to ntewinkel +1
    Ahhh, thank you! This does indeed help as since you're getting color it means the camera is color (I can't imagine my board was stuffed with the incorrect part) and there's something wrong with my code…
  • ntewinkel
    0 ntewinkel over 12 years ago

    Hi Shannon,

     

    The cam does give me full colour. I got the kit that included the colour touch screen, the baseboard, and the camera.

    Like you said, the quality isn't great.

     

    I have a picture in this blog post, where I was testing all this out: http://www.element14.com/community/people/ntewinkel/blog/2013/03/01/sd-card-tests-picture

     

    Cheers,

    -Nico

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • ntewinkel
    0 ntewinkel over 12 years ago

    I just checked out the specs again...

     

    It looks like the camera can handle 1280x1024, but the display only does 320x240 - And like you said, the sample has the camera stream the image data straight to the LCD. Then when a button is clicked the picture is saved from the LCD, not taken directly from the camera.

     

    So that picture in my blog post is kind of a poor representation of what the camera can do. I haven't had much time to look at this yet, but you'd think it should be possible to take a picture directly from the camera to get better quality.

     

    ps, sorry, I noticed your question was also about how to tell what kind of camera it is, and I have no clue! it just sorta worked out of the box with the given samples.

     

    Cheers,

    -Nico

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 12 years ago in reply to ntewinkel

    Ahhh, thank you! This does indeed help as since you're getting color it means the camera is color (I can't imagine my board was stuffed with the incorrect part) and there's something wrong with my code...

     

    So, I shall have to dig into that and see if I can figure out what's up.

     

    If anyone has any suggestions as to which registers might be the culprit I would appreciate it!

     

    Thank you!

     

    Shannon

    • Cancel
    • Vote Up +1 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