Jun 16, 2012 #1 T tmcn Newbie level 5 Joined Jan 9, 2012 Messages 10 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 1,336 all i need is just 2 output voltage from pic/avr to drive 2 different relays and control the direction of DC motor
all i need is just 2 output voltage from pic/avr to drive 2 different relays and control the direction of DC motor
Jun 16, 2012 #2 I i_chaitanya Member level 2 Joined Jun 4, 2012 Messages 47 Helped 4 Reputation 10 Reaction score 5 Trophy points 1,288 Location pune Activity points 1,569 i have the decoder file make a few changes and you can easily use it for your requirement . Attachments rc5_interrupt.zip 2 KB · Views: 126
Jun 16, 2012 #3 Tahmid Advanced Member level 6 Joined Jun 17, 2008 Messages 4,756 Helped 1,798 Reputation 3,588 Reaction score 1,656 Trophy points 1,413 Location Berkeley, California Activity points 30,586 Which compiler do you use? Have you first acquainted yourself with the RC5 format? https://www.sbprojects.com/knowledge/ir/rc5.php
Which compiler do you use? Have you first acquainted yourself with the RC5 format? https://www.sbprojects.com/knowledge/ir/rc5.php
Jun 16, 2012 #4 T tmcn Newbie level 5 Joined Jan 9, 2012 Messages 10 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 1,336 thanks i_chaitanya. by the way, may i know which chip that u are using?
Jun 16, 2012 #5 I i_chaitanya Member level 2 Joined Jun 4, 2012 Messages 47 Helped 4 Reputation 10 Reaction score 5 Trophy points 1,288 Location pune Activity points 1,569 its tsop 4838 - - - Updated - - - tmcn said: thanks i_chaitanya. by the way, may i know which chip that u are using? Click to expand... its TSOP4838 from vishay
its tsop 4838 - - - Updated - - - tmcn said: thanks i_chaitanya. by the way, may i know which chip that u are using? Click to expand... its TSOP4838 from vishay
Jun 16, 2012 #6 T tmcn Newbie level 5 Joined Jan 9, 2012 Messages 10 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 1,336 i_chaitanya said: its tsop 4838 - - - Updated - - - its TSOP4838 from vishay Click to expand... oppss.. i mean u using pic or avr? im still a beginner in c compiler
i_chaitanya said: its tsop 4838 - - - Updated - - - its TSOP4838 from vishay Click to expand... oppss.. i mean u using pic or avr? im still a beginner in c compiler
Jun 16, 2012 #7 Tahmid Advanced Member level 6 Joined Jun 17, 2008 Messages 4,756 Helped 1,798 Reputation 3,588 Reaction score 1,656 Trophy points 1,413 Location Berkeley, California Activity points 30,586 Looking at the code and register names, I'm quite sure it's PIC and not AVR.
Jun 17, 2012 #8 T tmcn Newbie level 5 Joined Jan 9, 2012 Messages 10 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 1,336 i_chaitanya said: i have the decoder file make a few changes and you can easily use it for your requirement . Click to expand... i_chaitanya. can let me know which pic chip that u are using to run those program?
i_chaitanya said: i have the decoder file make a few changes and you can easily use it for your requirement . Click to expand... i_chaitanya. can let me know which pic chip that u are using to run those program?
Jun 18, 2012 #9 I i_chaitanya Member level 2 Joined Jun 4, 2012 Messages 47 Helped 4 Reputation 10 Reaction score 5 Trophy points 1,288 Location pune Activity points 1,569 tmcn said: i_chaitanya. can let me know which pic chip that u are using to run those program? Click to expand... PIC 16f877a
tmcn said: i_chaitanya. can let me know which pic chip that u are using to run those program? Click to expand... PIC 16f877a
Jun 18, 2012 #10 sarge Full Member level 3 Joined Dec 29, 2009 Messages 187 Helped 56 Reputation 112 Reaction score 55 Trophy points 1,308 Activity points 2,170 Hi, i recently wrote a **broken link removed** about decoding RC5 protocol for pic16f877a, it on russian language, but you can use google translate for read article. I will be glad if this helps
Hi, i recently wrote a **broken link removed** about decoding RC5 protocol for pic16f877a, it on russian language, but you can use google translate for read article. I will be glad if this helps
Jun 18, 2012 #11 Tahmid Advanced Member level 6 Joined Jun 17, 2008 Messages 4,756 Helped 1,798 Reputation 3,588 Reaction score 1,656 Trophy points 1,413 Location Berkeley, California Activity points 30,586 i_chaitanya said: PIC 16f877a Click to expand... Are you sure? The file rc5_decoder.c has a line Code: ANSEL &= 0xfb; /* RA2 as digital I/O */ So, it can't be 16F877A, because 16F877A does not have ANSEL register.
i_chaitanya said: PIC 16f877a Click to expand... Are you sure? The file rc5_decoder.c has a line Code: ANSEL &= 0xfb; /* RA2 as digital I/O */ So, it can't be 16F877A, because 16F877A does not have ANSEL register.
Jun 18, 2012 #12 papunblg Advanced Member level 3 Joined Oct 22, 2010 Messages 716 Helped 172 Reputation 344 Reaction score 165 Trophy points 1,343 Location Kolkata India Activity points 6,421 Tahmid said: Are you sure? The file rc5_decoder.c has a line Code: ANSEL &= 0xfb; /* RA2 as digital I/O */ So, it can't be 16F877A, because 16F877A does not have ANSEL register. Click to expand... Hi i_chaitanya, Pay attention to what Thamid is saying.It is written for a Pic16F690. You will understand what he is saying if you look to these:- https://www.edaboard.com/threads/207818/ https://www.edaboard.com/threads/77201/
Tahmid said: Are you sure? The file rc5_decoder.c has a line Code: ANSEL &= 0xfb; /* RA2 as digital I/O */ So, it can't be 16F877A, because 16F877A does not have ANSEL register. Click to expand... Hi i_chaitanya, Pay attention to what Thamid is saying.It is written for a Pic16F690. You will understand what he is saying if you look to these:- https://www.edaboard.com/threads/207818/ https://www.edaboard.com/threads/77201/
Jun 19, 2012 #13 I i_chaitanya Member level 2 Joined Jun 4, 2012 Messages 47 Helped 4 Reputation 10 Reaction score 5 Trophy points 1,288 Location pune Activity points 1,569 thanks thamid .... and yes it is written for 16f690