Home > other >  Infrared transmitting and receiving
Infrared transmitting and receiving

Time:03-03


Infrared receiving tube OUT of the output pulse is pin? How to use the change of the single chip microcomputer to read it?
Let him 38 k output pulse infrared transmitting tube?

The infrared emission - infrared receiving - output (0/1), can do it?

CodePudding user response:

Can do it, it depends on what kind of circuit with. The first thing you need to check the parameters of the pipe, and then determine what circuit processing.

CodePudding user response:

On TaoBao buy
Tubes: 38 k common infrared transmitting tube;
Receiving tube: "HS0038 integrated infrared receiving tube";

CodePudding user response:

Timer 1 0 way because the crystals is 11.0592 MHz, each machine cycle is about 1.09 us, 38 KHZ is 26.3 us to produce a square wave, 24 26.3/1.09 need to count, thus TH0=(65536-24)/256=255, namely 0 XFF TL0=(65536-24) % 256=232, namely E8

CodePudding user response:

reference 3 floor wise men know already should good karma response:
timer 0 way 1 because the crystals is 11.0592 MHz, each machine cycle is about 1.09 us, 38 KHZ is 26.3 us to produce a square wave, 26.3/1.09 needs to count 24 times, thus TH0=(65536-24)/256=255, namely 0 XFF TL0=(65536-24) % 256=232, namely E8
can say in detail how to make it a 0, 1  I don't understand
  • Related