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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/05/01 23:36
Read: times


 
#7882 - RE: Serial port and basic
Well, in so far as transmitting out to a PC or printer, you can buffer the output ince the IR Remote packet is of fixed length and you can frame it from the onset of IR detect until your on chip ram buffer of samples is full. Then you can dump the buffer serially to the PC or printer. This will get you started.

I'd suggest when implementing this that you wait for a IR detect, and then sample as quickly as you can in BASIC 52 first, then later in ASSEMBLY and load samples into a buffer. When the buffer is filled, link to a routine that serially dumps it via RS232 to a PC or printer; the baud rate won't matter since its buffered and no longer live data. When the buffer is transferred, reinitialize it and start looking for the next IR detect.

Note that most IR Remotes will auto-repeat some keys as long as their held down. When you initiate a buffer capture, press the remote key momentarily, just enough to get one frame off.

As you collect your sample buffer you can go online and read the documentation of IR Remote controllers and see how close the data you read is to the expected protocol. As you collect and analyze over and over, you'll form the next approach in your experiment.

Good Luck, sounds like fun. :)

aka j

List of 48 messages in thread
TopicAuthorDate
IR please help...            01/01/70 00:00      
RE: IR please help...            01/01/70 00:00      
RE: IR please help...            01/01/70 00:00      
for aka j            01/01/70 00:00      
RE: IR please help...            01/01/70 00:00      
RE: IR please help...            01/01/70 00:00      
4 kelvin            01/01/70 00:00      
RE: IR please help...            01/01/70 00:00      
RE: IR please help...            01/01/70 00:00      
RE: IR please help...            01/01/70 00:00      
RE: IR please help...            01/01/70 00:00      
4 taylor            01/01/70 00:00      
4 aka j            01/01/70 00:00      
4 rauf            01/01/70 00:00      
RE: IR please help...            01/01/70 00:00      
4 kelvin            01/01/70 00:00      
4 eric            01/01/70 00:00      
SFH506-36 works oke...            01/01/70 00:00      
RE: IR please help...            01/01/70 00:00      
RE: 4 aka j            01/01/70 00:00      
RE: Serial port and basic            01/01/70 00:00      
RE: Serial port and basic            01/01/70 00:00      
for eric            01/01/70 00:00      
for steve            01/01/70 00:00      
for steve            01/01/70 00:00      
RE: Serial port and basic            01/01/70 00:00      
RE: Serial port and basic            01/01/70 00:00      
RE: Serial port and basic            01/01/70 00:00      
RE: Serial port and basic            01/01/70 00:00      
RE: IR please help...            01/01/70 00:00      
RE: Talk to a Chinese in Chinese......            01/01/70 00:00      
RE: a correction....            01/01/70 00:00      
RE: a correction....            01/01/70 00:00      
RE: a correction....            01/01/70 00:00      
for Simon            01/01/70 00:00      
RE: Talk to a Chinese in Chinese......            01/01/70 00:00      
RE: Talk to a Chinese in Chinese......            01/01/70 00:00      
RE: for aka j            01/01/70 00:00      
RE: IR please help...            01/01/70 00:00      
RE: for Daxx teryn            01/01/70 00:00      
RE: for Daxx teryn            01/01/70 00:00      
RE: for aka j            01/01/70 00:00      
RE: for Daxx teryn            01/01/70 00:00      
RE: for Daxx teryn            01/01/70 00:00      
IR help            01/01/70 00:00      
2nd serial port by software            01/01/70 00:00      
RE: 2nd serial port by software            01/01/70 00:00      
RE: 2nd serial port by software            01/01/70 00:00      

Back to Subject List