element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Members
    Members
    • Benefits of Membership
    • Achievement Levels
    • Members Area
    • Personal Blogs
    • Feedback and Support
    • What's New on element14
  • Learn
    Learn
    • Learning Center
    • eBooks
    • STEM Academy
    • Webinars, Training and Events
    • More
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • More
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • More
  • Products
    Products
    • Arduino
    • Dev Tools
    • Manufacturers
    • Raspberry Pi
    • RoadTests & Reviews
    • Avnet Boards Community
    • More
  • 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
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
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Cypress Kits requires membership for participation - click to join
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 3 replies
  • Subscribers 12 subscribers
  • Views 267 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 8 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

 

 

 

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.

 


 

Test Your Project:

 

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


 

I hope this example can help you in your design.

 

Best,

Matt

Attachments:
SDCard_V1_0.pdf
C328_User_Manual.pdf
C328_Product_Description.pdf
Digital_Camera_with_SDCard.zip
1651.Project Images.zip
  • Reply
  • Cancel
  • Cancel

Top Replies

  • DAB
    DAB over 8 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 8 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
    • Up +1 Down
    • Reply
    • Cancel
  • jesusantoniocar
    jesusantoniocar over 8 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
    • Up 0 Down
    • Reply
    • Cancel
  • Former Member
    Former Member over 8 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
    • Up 0 Down
    • Reply
    • Cancel
Element14

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 © 2022 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

  • Facebook
  • Twitter
  • linkedin
  • YouTube