Home - Search - Members
Full Version: RC5 IR remote control
Sunrom
Apr 22 2008, 3:11 AM
hi
i built tth project RC5 code IR remote control provided by ajay . circuit is working fine with pressing buton no 3,4,5,6,7,8 and power . but it is not responding with 1,2,3
please help me out i have gone through codes (well i am still learning) but i really not understand why it is not working i have used phillips companey remote and codes are working same with TSOP1738 and TSOP1736 please help me ou t
Ajay
Apr 22 2008, 4:43 AM
thats really a strange problem. Well debugging this ip little difficult but if you con do it will be good for you. After command and data is extracted, display it on hyper terminal you need to make changes in program to display the values on pc. Thats the only way to check whats the real problem. You need to tell me what you get when you press 123 on remote.
Sunrom
Apr 23 2008, 5:21 AM
wel ajay i am talking about 'IR Remote Switch using TV remote (RC5 Protocol)' project
JAGADESH
Apr 23 2008, 3:31 PM
hai sir
JAGADESH
Apr 23 2008, 3:32 PM
sir i want to do project on ir remote
i have seen ur code for rc-5,but iam not understanding the how u have calculated the delay.it ia not giving the 1.728ms delay.please help me. and which remote should i use ??


Ajay
Apr 23 2008, 10:20 PM
sunrom i know which project you are talkin about, but what we are talkin here is debugging your problem so the only way to debug it is.. to find out the o/p you are getting from IR receiver. To check that o/p we need to display it somewhere so serial can be one way.. second could be LCD, third is LED on a port so whichever you feel better you can chose.
say2paul
Jun 21 2008, 11:02 PM
Could you please add a circuit to make it serial or to use with LCD or LED!
say2paul
Jun 23 2008, 5:20 AM
Can anyone help on this?
Ajay
Jun 23 2008, 8:49 AM
serial circuit is already there.. all you need to do is simply extract the three important things, address, command and flip bit and display it.. and check it on serial window after you press the button, so you can check whether you are getting the right value or not.
say2paul
Jul 1 2008, 4:30 AM
Ajay wrote ...

serial circuit is already there.. all you need to do is simply extract the three important things, address, command and flip bit and display it.. and check it on serial window after you press the button, so you can check whether you are getting the right value or not.


Dear Ajay, My hand is really tight in assembly as I am an IT pro, and the code attached with the project is written in Assembly. Can you please do me one favor, either rewrite the code in C or add few procedures in the existing assembly code to display the address, command and flip to the attached 2 line LCD terminal.

Hope it won't be that difficult for you

Ajay
Jul 1 2008, 10:39 PM
obviously its not difficult... but! i am short of time...
say2paul
Jul 2 2008, 2:46 AM
Then whenever you have time....
Arun Kumar V
Jul 2 2008, 5:55 AM
Hello say2paul,

here is my code which i use to read the Address and command values sent by a RC5 remote. Address is displayed on 1st line and command on 2nd line. both are displayed in decimal. its in asm but you can use it for debugging

hope you'll find it useful !


Arun
Arun Kumar V
Jul 2 2008, 6:30 AM

forgot to mention the code is for 8051 running @12 Mhz



rc5lcd.rar









Arun
say2paul
Jul 3 2008, 10:27 AM
Thanks Arun, I will definitely try this
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Rickey's World © 2003 - 2007