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
Embedded and Microcontrollers
  • Technologies
  • More
Embedded and Microcontrollers
Pic Microcontrollers Forum PIC32MZ2048EFM100-OV7670 FIFO-SD CARD
  • Blog
  • Forum
  • Documents
  • Quiz
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Embedded and Microcontrollers to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 3 replies
  • Subscribers 196 subscribers
  • Views 1212 views
  • Users 0 members are here
  • image processing
  • ov7670fifo
  • SD card
  • pic32
Related

PIC32MZ2048EFM100-OV7670 FIFO-SD CARD

pnicolaides
pnicolaides over 7 years ago

Hello,

 

I would like to try out a project that was mostly based on Arduino. Secifically, I want to use a PIC microcontroller, using PIC32MZEF CURIOCITY BOARD:

Curiosity PIC32MZEF Development Board - DM320104 | Microchip Technology Inc.

Then I have connected the OV7670 FIFO camera (620x480 p), as I2C connection and an SD Card Module as SPI Connection (SC, MISO, MOSI, SCK).

I am having difficulty finding a way to code the camera to take periodic pictures and to store them to the sd card, so that I can just view them later on any PC. Has anyone done this before and would like to share his experience?

 

From My research I would need:

1. FAT 32 Library for PIC32.

2. Probably image compression to .jpeg as the PIC will need perform other stuff at the same time. (Smaller file translates to better performance).

 

In Sum:

1. I need to verify which library to use for FAT 32 (I found a couple).

2. Find how to take a picture for the camera module.

3.Verify if compression is indeed necessary (it can be optional).

4. How the data (picture) can be written and store on the sd card to view later.

 

Thanks for your help.

  • Sign in to reply
  • Cancel
Parents
  • genebren
    0 genebren over 7 years ago

    I have in the past worked on a device that would capture several images from a similar camera, which were then processed to extract features from the images (cells) which were counted.  We would then store images on to a USB thumb drive.  The process of writing the raw files to the drive took forever.  I ported a copy of the JPEG compression algorithm (stripped of unneeded variables/features removed) into our environment.  The processing time of the compressing the files was minimal compared to the amount of time that was saved by writing much smaller files to drive.  By using JPEG files, we were able to write directly to the disk (using FAT drivers). So yes, FAT routines and compression are useful, but only if you are going to be capturing a lot of images at a fairly high rate.  If you are only taking a image or two a minute, you should have plenty to time to save the images and you can skip the compression.

     

    Good luck on you project.

    Gene 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • genebren
    0 genebren over 7 years ago

    I have in the past worked on a device that would capture several images from a similar camera, which were then processed to extract features from the images (cells) which were counted.  We would then store images on to a USB thumb drive.  The process of writing the raw files to the drive took forever.  I ported a copy of the JPEG compression algorithm (stripped of unneeded variables/features removed) into our environment.  The processing time of the compressing the files was minimal compared to the amount of time that was saved by writing much smaller files to drive.  By using JPEG files, we were able to write directly to the disk (using FAT drivers). So yes, FAT routines and compression are useful, but only if you are going to be capturing a lot of images at a fairly high rate.  If you are only taking a image or two a minute, you should have plenty to time to save the images and you can skip the compression.

     

    Good luck on you project.

    Gene 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
No Data
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