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
Cypress Kits
  • Products
  • Dev Tools
  • Cypress Kits
  • More
  • Cancel
Cypress Kits
Forum PSoC 4 Pioneer Kit Community Project#052 – Strike A Pose! Digital Camera
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Cypress Kits to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 3 replies
  • Subscribers 26 subscribers
  • Views 2168 views
  • Users 0 members are here
  • 100projects
Related

PSoC 4 Pioneer Kit Community Project#052 – Strike A Pose! Digital Camera

cy.wbz
cy.wbz over 12 years ago

Hello!

 

We are continuing to expand on the SD card example by interfacing a small JPEG camera. In this example we will take an image using the camera and store that image on the SD card.

  • PSoC 4 Pioneer Kit
  • SD Card Breakout Board
  • C328 JPEG Camera
  • 2 gig SD card

 

image

 

image

 

Forum Post Attachments:

 

At the bottom of this post we are including the following items:

  • Example Project Zip File
  • Zip File of Images
    • Project Schematic
    • Component Configurations

 

Components Used:

 

The user can download the example project at the bottom of this post. The project uses the following list of Creator Components:

  • SD Card
  • UART
  • CyPins

 

The components are configured by right clicking on the component in your Top Design schematic view and selecting Configure. Please enable the following selections in the Configuration windows for the listed components above.

 

Firmware Description:

 

The main.c firmware is included in the example project. Please review the commented sections for more details.

 

The firmware for this project is likely the most complex we’ve released to this day. The complexity circles around the reading of the JPEG image and the writing to the SD card. Please take some time to review the code to understand the functionality. We have included the datasheet for the JPEG camera at the bottom of this post.

 

The PSoC4 firmware uses two serial communication protocols SPI (SD Card) and UART (JPEG Camera) to communicate with the peripheral devices. Also included in this design is a push button to trigger images. The PSoC 4 when triggered to take an image pulls the data from the JPEG camera and stores the data in the SD card. You can then view the image by taking the SD card and putting the card into your computer or an SD card reader.

 

Hardware Connections:

 

In this example we will be connecting the Pioneer kit to a custom breadboard that has an soldered SD breakout board. On the custom breadboard we have a connector that interfaces to the JPEG

camera.

 


image

 

Test Your Project:

 

Program the Pioneer kit with the code and then press the button to take a picture.


image

 

I hope this example can help you in your design.

 

Best,

Matt

Attachments:
imageSDCard_V1_0.pdf
imageC328_User_Manual.pdf
imageC328_Product_Description.pdf
Digital_Camera_with_SDCard.zip
1651.Project Images.zip
  • Sign in to reply
  • Cancel

Top Replies

  • DAB
    DAB over 12 years ago +1
    Hi Matt, A very interesting project. It fits in with the type of tools I build to support my lightning research. Very cool, DAB
  • DAB
    DAB over 12 years ago

    Hi Matt,

     

    A very interesting project.  It fits in with the type of tools I build to support my lightning research.

     

    Very cool,

    DAB

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • jesusantoniocar
    jesusantoniocar over 12 years ago

    Hello Matt.

    Thanks for this project.

    JPEG's primary advantage is that the compression creates smaller files, which means you can save more of them onto a memory card. Transmitting these small files online is easier, too, which is important for many amateur photographers.

     

    Great project.

     

    Jesus Antonio.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 12 years ago

    The C328 camera in the link you give is discontinued and the link is dead. There are several alternatives, listed here: http://www.electronics123.com/s.nl/sc.8/category.207684/.f

    Cameras are available with and without IR cut filters and there is even a switchable IR filter which has a small electrical actuator.

    This PSOC4 part looks really interesting and it's nice to see a lot of examples for it.

     

    best regards

    Bruce Boyes

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • 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