hi friends...i m using keil to write my c program to decode the rc5 signal.. and also how to connect IR detector to the microcontroller...wat r the libraries and functions should i use to write program...can anybody help me?....
Use TSOP1836 and connect it directly to any micro controller pin use a Pullup of 4.7k. I am not sure if there are any ready library available for it but you can study the waveform of RC5 protocol and implement it. Check this link for waveform Introduction to RC5 Protocol | 8051 Tutorial | Tutorial
getting digital output(0&1 )from a input signal given to the microcontroller 8051
hi friends..
plz help me..i want to write the c program to read the input signal (in 0's and 1's) given to the 8051 microcontroller..i planned to use the counter programming but it only counts pulses so how to check wheather 0 and 1's are passing the pin of mc...
---------- Post added at 17:03 ---------- Previous post was at 16:52 ----------
thank you amol for ur valuable reply..ya i used the TSOP1836,its working well...thankq
thankq.. u said me to use timers,,but i dont know the timing of input signal...its unknown signal given to pin of mc...then how to get the passing 0&1's through that pin..so we can identify it trough the counters only na..?or any other way?..
thankq.. u said me to use timers,,but i dont know the timing of input signal...its unknown signal given to pin of mc...then how to get the passing 0&1's through that pin..so we can identify it trough the counters only na..?or any other way?..
As you mentioned you are going to decode RC5, if so RC5 protocol has timings.
Look here RC-5 - Wikipedia, the free encyclopedia
you will find everything you need.
As you mentioned you are going to decode RC5, if so RC5 protocol has timings.
Look here RC-5 - Wikipedia, the free encyclopedia
you will find everything you need.
sorry nandhu ....not only for RC5,i want to generate dig output(0's and 1's) from any unknown signal passing through the pin of mc...so how to do that?....
plz reply..
sorry nandhu ....not only for RC5,i want to generate dig output(0's and 1's) from any unknown signal passing through the pin of mc...so how to do that?....
plz reply..