element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • 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 & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • 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#066 – LED Blinky Revisited
  • 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 2 replies
  • Subscribers 26 subscribers
  • Views 496 views
  • Users 0 members are here
Related

PSoC 4 Pioneer Kit Community Project#066 – LED Blinky Revisited

cy.wbz
cy.wbz over 12 years ago

Hello!

 

Today’s example we are going to revisit our basic LED Blinky project. This week we want to focus on more basic projects that showcase core PSoC functionality. In our past example we implemented a simple PWM used to drive an LED. In the previous example we implemented the LED Blinky example using only our hardware resources. We wanted to show another simple example using a Counter and a Look up Table component.

 

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:

  • Counter
  • LUT
  • CyClock
  • CyPin

 

Firmware Description:

 

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

 

As stated earlier, there is no firmware for this project. This LED Blinky examples is a purely PSoC creation. You will not see this on other microcontrollers. We’re able to blink the LEDs using the configurable PSoC hardware with no firmware at all.

 

Please take a moment to review the project schematic to see the hardware implementation of the LED flashing project. In this example we’ve connected up a simple 3-bit Counter driven by a clock source. The output of the 3 bit counter is driving the inputs on the Look Up Table component. Based on the counter value the LUT will control the outputs on the three LED pins.

 

This is a great beginner’s example showcasing how the user can connect hardware elements that run independently of the source code to drive functionality. While this example is simple, the concepts here are key to understanding the value of a PSoC. The configurable hardware is designed to not only lower BOM costs by pulling external ICs into the PSoC, but also driving firmware into the hardware.

 

Hardware Connections:

 

This is a basic example that makes use of the existing RGB LED on the PSoC 4 Pioneer kit. No external hardware is needed.

 

Test Your Project:

 

Build and program the Pioneer kit with the sample project. See the LED’s scrolling through their selections.

 

I hope this example can help you in your design.

 

Best,

Matt

Attachments:
led3blink.cywrk.Archive01.zip
7851.Project Images.zip
  • Sign in to reply
  • Cancel
Parents
  • jesusantoniocar
    jesusantoniocar over 12 years ago

    Hello Matt.

    Thanks for this project.

    definitely there are always many ways to do things, interesting project.

     

    regards,

     

    Jesus Antonio.

    You don't have permission to edit metadata of this video.
    Edit media
    x
    image
    Upload Preview
    image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • jesusantoniocar
    jesusantoniocar over 12 years ago

    Hello Matt.

    Thanks for this project.

    definitely there are always many ways to do things, interesting project.

     

    regards,

     

    Jesus Antonio.

    You don't have permission to edit metadata of this video.
    Edit media
    x
    image
    Upload Preview
    image

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