Hi guys!
I'm struggling to configure the RC5 component in FC8 and I can't make it work. I want to make a remote control for an old Philips TV. Do I need to add another PWM component? If so, how do I configure that as well? I work with a pic 16lf1824, configured with internal clock at 32MHz, internal MCLR, and the IR LED is connected to the RC5 pin (ccp1).
I am attaching the FC file, maybe you will help me with a correct configuration.
Thank you!
Puiu,
Configure RC5 component (SOLVED).
Moderator: Benj
-
- Posts: 161
- Joined: Sun Feb 25, 2007 10:56 am
- Location: bucharest, romania
- Has thanked: 90 times
- Been thanked: 34 times
- Contact:
Configure RC5 component (SOLVED).
- Attachments
-
- remote_philips.fcfx
- (8.63 KiB) Downloaded 172 times
Last edited by bercioiu on Fri Jan 15, 2021 9:23 pm, edited 1 time in total.
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Configure RC5 component.
Hello Puiu,
The PWM should be taken care of for you, you don't need a seperate PWM component in your program.
You do however need to use the PWM and TX pins on seperate pins on the MCU.
The pins then need to be connected together using a diode as shown here.
Hope this helps.
The PWM should be taken care of for you, you don't need a seperate PWM component in your program.
You do however need to use the PWM and TX pins on seperate pins on the MCU.
The pins then need to be connected together using a diode as shown here.
Hope this helps.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 161
- Joined: Sun Feb 25, 2007 10:56 am
- Location: bucharest, romania
- Has thanked: 90 times
- Been thanked: 34 times
- Contact:
Re: Configure RC5 component.
Thank you for your help in not knowing how many times, Benj.
I modified the connections according to the received scheme. No positive results. I want to mention that I did not find the SCHOTTKY diode in the drawer, so I put a normal diode. Can this be a cause? If I look at the IR LED through the camera of my mobile phone, I see some pulsating activity in the LED. Rename txt to mp4 to seee the video
I modified the connections according to the received scheme. No positive results. I want to mention that I did not find the SCHOTTKY diode in the drawer, so I put a normal diode. Can this be a cause? If I look at the IR LED through the camera of my mobile phone, I see some pulsating activity in the LED. Rename txt to mp4 to seee the video
- Attachments
-
- config.png (27.07 KiB) Viewed 2570 times
-
- Posts: 161
- Joined: Sun Feb 25, 2007 10:56 am
- Location: bucharest, romania
- Has thanked: 90 times
- Been thanked: 34 times
- Contact:
Re: Configure RC5 component.
I figured it out, I exchanged the wires between them pwm with tx and everything is working fine now.
Thanks for the prompt support!
Thanks for the prompt support!
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Configure RC5 component (SOLVED).
Excellent well done and thanks for letting us know
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel