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
Personal Blogs
  • Community Hub
  • More
Personal Blogs
Frederick Vandenbosch's Blog Cypress CY8CKIT-059 PSoC 5LP Prototyping Kit - Getting Started & Breathing LED
  • Blog
  • Documents
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: fvan
  • Date Created: 13 May 2015 12:29 PM Date Created
  • Views 1651 views
  • Likes 2 likes
  • Comments 0 comments
  • RoadTest
  • cy8ckit-059
  • prototyping
  • review
  • guide
  • kit
  • cypress
  • psoc5lp
  • psoc
Related
Recommended

Cypress CY8CKIT-059 PSoC 5LP Prototyping Kit - Getting Started & Breathing LED

fvan
fvan
13 May 2015

This is the first in a series of posts I plan to create as part of the Cypress CY8CKIT-058 PSoC 5LP Prototyping Kit RoadTest. I'll be documenting the things I tried and learned while using this kit, from a beginner's point of view.

 

Getting Started

 

The first thing to do, is to ensure the software required to use the kit is installed. There are two parts:

  • PSoC Creator, the development environment for all things PSoC
  • CY8CKIT-059 Kit files containing examples

 

There are two software related downloads. One containing both items mentioned above, bundled in a single installer, and the other containing only the kit specific files, should PSoC Creator already be installed. Good to know, is that the software only runs on Windows.

imageimage

 

Once PSoC Creator has been installed or updated with the kit specific files, the examples should be listed on the Start page. To access the examples, expand the view of the kit and double-click the desired example.

The kit comes pre-programmed with the "Blinking LED" example. A full explanation of how this example is created and how it works is explained here: How to Blink an LED Using a PWM Component with PSoC 5LP

 

imageimage

 

If like me, you are not running Windows natively, you can still easily use the PSoC kit with a virtual Windows environment. I've described this before, using the PSoC 4 Prototyping Kit, but the procedure remains the same. The small guide can be found here: PSoC 4 Prototyping Kit on OSX (or Linux) with VirtualBox. Once the kit has been added to the list of USB devices, it should be detected by Windows and be ready to use.

 

image

 

Breathing LED

 

To familiarise myself with the kit and with the development environment, I started modifying the "Blinking LED" program and tried a few things:

  • accelerate the blinking (PWM clock frequency)
  • invert the functionality: push button to blink, release to stop (remove NOT gate)
  • different on/off periods for the LED (PWM duty cycle)

 

Testing these things also confirmed that my virtual environment is functional and can reprogram the kit successfully.

 

Once I felt more comfortable, I took the example program modifications a step further.

imageimage

 

By duplicating the PWM component, modifying its period to be slightly different than the first one and combining both signals with a XOR gate, a PWM signal with variable duty cycle is created. Attaching digital outputs at certain key points, it is possible to measure the output using an oscilloscope.

 

This is the output, with the signals being:

  • Yellow: output of the XOR gate
  • Cyan: output of PWM signal #1
  • Magenta: output of PWM signal #2

 

imageimageimage

 

The animated signals with the LED next to it looks like this:

 

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

 

Et voila, breathing LED! More adventures using this kit will be posted soon!

  • Sign in to reply
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