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#091 – RC-5 IR Remote Control
  • 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 4 replies
  • Subscribers 27 subscribers
  • Views 2216 views
  • Users 0 members are here
Related

PSoC 4 Pioneer Kit Community Project#091 – RC-5 IR Remote Control

cy.wbz
cy.wbz over 12 years ago

Hello!

 

In today’s example we will demonstrates how to create an RC-5 infrared remote control using the PSoC 4 Pioneer kit, implementing a Manchester coding and pulse coding using 2 TCPWM blocks.

 

This example uses a TV1 (TV receiver 1) system as the target address. The design interfaces with a simple infrared emitting diode and communicates to a TSOP1836 infrared receiver.

 

In the example you will be able to control the volume of the TV using the CapSense slider and decrease the brightness of the display.

 

image

 

Forum Post Attachments:

 

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

  • Example Project Zip File
  • Project Images

 

Components Used: 

 

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

  • Timer Counter
  • Glitch Filter
  • PWM
  • Control Register
  • CapSense Slider
  • CyClock
  • CyPins
  • ISR

 

Firmware Description:

 

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

 

In this example we are implementing an RC-5 infrared remote control using the PSoC 4 device on the Pioneer board. In this example we are using two TCPWM components to perform the Manchester and Pulse coding for the infrared transmitter information. The project uses a TV1 (TV receiver 1) system as the target address and transmits button presses and CapSense slider information. The button presses will control the brightness while the CapSense slider will control the volume of the target TV.

 

Hardware Connections:

 

The hardware connections are already made set for the push button and CapSense inputs.

 

The user will need to connect the infrared transmitter to P0.0 which is the output of the PWM and Control Register circuitry.

 

Test Your Project:

 

Program the Pioneer kit with the example project and connect the infrared transmitter. Power up the kit and begin to send commands at a TV1 device.

 

I hope this example can help you in your design.

 

Best,

Matt

Attachments:
1050.Project Images.zip
IR_Remote_Control.zip
  • Sign in to reply
  • Cancel
Parents
  • oguzhang55
    oguzhang55 over 5 years ago

    Hello there

     

    I am a beginner to PSOC4. I wonder what the difference between the manchester coding and pulse coding is in this project?

     

    What does the Timer Counter do and what does the PWM do. I would like to know these things as I have spend a lot of time on figuring it out myself but I can't.

     

    Kind regards.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • clem57
    clem57 over 5 years ago in reply to oguzhang55

    https://en.wikipedia.org/wiki/Manchester_code  versus https://en.wikipedia.org/wiki/Pulse-code_modulation ...

    I would suggest taking some tutorials online to fill in your gaps. Welcome the the world of electronics BTWimage

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • oguzhang55
    oguzhang55 over 5 years ago in reply to clem57

    I undestand these concepts but I was windering how they are implemented in this project. What does the manchester coding do precisely in this project? I cannot figure that out.

    Thanks

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • oguzhang55
    oguzhang55 over 5 years ago in reply to clem57

    I undestand these concepts but I was windering how they are implemented in this project. What does the manchester coding do precisely in this project? I cannot figure that out.

    Thanks

    • 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