4 Replies Latest reply on Dec 14, 2019 3:07 AM by oguzhang55

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




      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.


      001 - Schematic Design.png


      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.