help me IR Remote sensor 8051

Status
Not open for further replies.

ajit4u

Banned
Joined
Nov 26, 2010
Messages
54
Helped
15
Reputation
30
Reaction score
15
Trophy points
1,288
Activity points
0
help me in IR Remote sensor 8051 code

i hv written the code such a way that by capturing the counter value whenever there is a falling edge pulse after pressing Remote key
while pressing the same key my IR sensor value is changing, what is the problem an di can overcome with that problem???

there is one code which is worked on HCS08 but not working on 8051
 

Attachments

  • IR.rar
    993 bytes · Views: 168
  • old ir code working.rar
    1.7 KB · Views: 166
Last edited:

Hi friend

First specify, which protocol used in your IR remote.
while pressing the same key my IR sensor value is changing
First change your sensor with same new sensor and used brand new IR remote and check result.
If problem doesn't solve, check your code.

i think, Problem is in your code, not in sensor

Hope this is help you,
Shyam
INDIA
 

i knows there is some problem with that code.......... if possible write the proper code and pass to me
 

Some IR protocols use a toggle bit.

It's purpose is to detect repeat button pressing as opposed to a held down button. Therefore each time you press the same button the code will alternate.

If you get the same different code alternating this is not a problem
you probably just have a code using the toggle bit. You just need to decode
it correctly.

If 3 presses produce 3 different codes - you have a problem.

jack
 


there is nothing wrong in the remote, there is some problem with that code if possible please change the code
 

First tell us about the protocol of your IR remote,
I worked on RC6 protocol in ccs maybe this will help you if your protocol is also RC6.
 

First tell us about the protocol of your IR remote,
I worked on RC6 protocol in ccs maybe this will help you if your protocol is also RC6.

i m using NEC protocol

---------- Post added at 11:23 ---------- Previous post was at 11:21 ----------

First tell us about the protocol of your IR remote,
I worked on RC6 protocol in ccs maybe this will help you if your protocol is also RC6.

i was using NEC i didnt get, then started with capture method by controller
 

Hi friend

I have attached some material for NEC Protocol
I write program for NEC protocol using this material and it work fine.

Hope this is help you
Shyam
 

Attachments

  • NEC Protocol.rar
    54.4 KB · Views: 159

Hi friend

I have attached some material for NEC Protocol
I write program for NEC protocol using this material and it work fine.

Hope this is help you
Shyam

i hv the protocol
that is not working. if u can alter the program means alter it please

i hv written the code by capturing from the PCA and displaying
 

Re: help me in IR Remote sensor 8051

is der any trick for reading IR remote
 

can you capture the waveforms and upload it here
find the attachment maybe it will help you
 

Attachments

  • Remote_Controls.ppt
    243.5 KB · Views: 148
can you capture the waveforms and upload it here
find the attachment maybe it will help you
can u tel me which protocol is used by seeng schematic
 

Attachments

  • IR schematic.JPG
    10.9 KB · Views: 162

No its a hardware circuit for interfacing IR reciver and all the protocols have same kind of hardware.
you can judge by the waveforms or by writting the program in microcontroller which will be able to detect all the protocols
 
Reactions: ajit4u

    ajit4u

    Points: 2
    Helpful Answer Positive Rating
No its a hardware circuit for interfacing IR reciver and all the protocols have same kind of hardware.
you can judge by the waveforms or by writting the program in microcontroller which will be able to detect all the protocols

can u tel me how to write the program?
 

which compiler you are using for programming?
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…