Hello,
I have a problem with my TSOP31238 38Mhz IR receiver and I can't figure out what is causing it.
When I press a button on the remote control the TSOP31238 sets the OUT pin to low (this is ok), and this properly generates an interrupt on the PIC16F688 micro-controller (port RA2). The problem is that at random times the TSOP31238 generates random pulses (without me pressing any button on the remote control).
I tried to isolate the IR receiver (I put it inside a cardboard box) but this only increased a little the time between the random pulses, the pulses did not disappeared.
I do limit the current to the TSOP by using a 220R resistor in series with the Vs of the TSOP, and I have placed a 4.7uF filtering capacitor between the GND and Vs of the IR receiver (I have also tried with bigger capacitors but the result was the same).
Also I have tried the circuit also by using the power from the PicKit2 programmer (connected through USB to my PC) and also by using a separate +5V regulated power source. The result was the same. The random pulses were generated by the TSOP without me pressing any button on the remote.
I have attached my schematics to this post.
Is there something wrong with my circuit? Or this random pulses are just a result of noise from the environment picked up by the TSOP IR receiver?
If this is caused by the noise of the environment (my office is in a basement, no wireless connection near by ...etc ... only my PC ) is this normal?
If so how can I eliminate this noise?
Thank you,
Buzai
I have a problem with my TSOP31238 38Mhz IR receiver and I can't figure out what is causing it.
When I press a button on the remote control the TSOP31238 sets the OUT pin to low (this is ok), and this properly generates an interrupt on the PIC16F688 micro-controller (port RA2). The problem is that at random times the TSOP31238 generates random pulses (without me pressing any button on the remote control).
I tried to isolate the IR receiver (I put it inside a cardboard box) but this only increased a little the time between the random pulses, the pulses did not disappeared.
I do limit the current to the TSOP by using a 220R resistor in series with the Vs of the TSOP, and I have placed a 4.7uF filtering capacitor between the GND and Vs of the IR receiver (I have also tried with bigger capacitors but the result was the same).
Also I have tried the circuit also by using the power from the PicKit2 programmer (connected through USB to my PC) and also by using a separate +5V regulated power source. The result was the same. The random pulses were generated by the TSOP without me pressing any button on the remote.
I have attached my schematics to this post.
Is there something wrong with my circuit? Or this random pulses are just a result of noise from the environment picked up by the TSOP IR receiver?
If this is caused by the noise of the environment (my office is in a basement, no wireless connection near by ...etc ... only my PC ) is this normal?
If so how can I eliminate this noise?
Thank you,
Buzai
Attachments
-
19.6 KB Views: 66