Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/27/04 15:07
Read: times


 
#74977 - RE: IR with AT89C52
Responding to: ???'s previous message
Probably he meant "teach". That is, how to make the microcontroller generate codes some other device generates (i.e. to build an all-in-one remote control...)
Probably the best method if you don't know the protocol is to attach an IR reader to either the microcontroller or some other device, then sample it while sending codes from the original RC - recording the incoming 0-1 stream i.e. as pulse lengths (so instead of wasteful 0000011111111111100001111000011110000000011111111111 you store (5,12,4,4,4,4,8,12)) then upload the data to the microcontroller, replay it with the same speed and it should work. That is if you don't know the device protocol. If you know it, just implement a program that generates 0-1 signal of timing specified in the protocol.

List of 10 messages in thread
TopicAuthorDate
IR with AT89C52            01/01/70 00:00      
   RE: IR with AT89C52            01/01/70 00:00      
      RE: IR with AT89C52            01/01/70 00:00      
         RE: IR with AT89C52            01/01/70 00:00      
   What sort of IR?            01/01/70 00:00      
      RE: more information            01/01/70 00:00      
         RE: more information            01/01/70 00:00      
            wealth of information on the web!            01/01/70 00:00      
            RE: more information            01/01/70 00:00      
   RE: IR with AT89C52            01/01/70 00:00      

Back to Subject List