IR Remote Control

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anna
Level 1
Level 1
10 sign-ins 5 replies posted 5 sign-ins

Hi! I have read a lot of articles about IR Remote Controls for Arduino and Raspberry but they are using special libraries for it. Is there any chance to use a IR Remote Control Kit with PSoC 5LP?

This link is with an Arduino app for remote control using IRremote.h: https://dronebotworkshop.com/using-ir-remote-controls-with-arduino/

0 Likes
1 Solution
MotooTanaka
Level 9
Level 9
Distributor - Marubun (Japan)
First comment on blog Beta tester First comment on KBA
0 Likes
4 Replies
Len_CONSULTRON
Level 9
Level 9
Beta tester 500 solutions authored 1000 replies posted

Anna,

I assume you're asking whether a PSoC5 can be used as a IR Remote Control receiver.

Yes it can ... in theory.

First you would need to acquire a IR Receiver HW.  There two basic types: raw IR and demodulated IR.  The raw IR is just the raw received IR signal with modulation included.  Demodulated IR will strip out the modulation signal (only if you pick the write one for your IR Transmitter).  If you use the raw IR, you can use a scope to determine the frequency.  You can use a mixer component on the PSoC5 to demodulate the resultant signal.

Next you need to determine the Manufacturer Codes of the IR Transmitter.  If the Arduino IR remote library comes with source code it may be possible to port the "C" code to the PSoC.    If you can successfully accomplish this, please share it with this forum.

 

Len
"Engineering is an Art. The Art of Compromise."
0 Likes

I tried but with no success. I really don t know how to port into "C" those codes. I also tried to implement a NEC protocol, but I got stuck at TopDesign. I found this article: http://iraj.in/journal/journal_file/journal_pdf/1-4-139024140852-55.pdf , but there is no explanation about configuring peripherals. Any idea how can my PSoC decode signals from remote controller?

0 Likes
MotooTanaka
Level 9
Level 9
Distributor - Marubun (Japan)
First comment on blog Beta tester First comment on KBA

Hi,

Recently I wrote the following sample.

https://community.cypress.com/t5/Code-Examples/An-experiment-of-RC5-remote-receiver-CY8CKIT-042-with...

Can this be some hint?

moto

0 Likes

It s really useful. Thank you!