Go Down

Topic: Help with shift bits... (Read 3940 times) previous topic - next topic

antkan

My basic question is why pin 2 still high?The Pulse Ir is high ,low every 13usec when fall to zero what happen ?How read this?The pin arduino or ir receiver has internal small capacitor?

Grumpy_Mike

Quote
My basic question is why pin 2 still high

I do not understand what you mean by this? What is the problem you have?

antkan

When send a pulse IR is a pulse 13usec High,13usecs Low,13usec High,13usecs Low,13usec High,13usecs Low,13usec High,13usecs Low....for 700usecs the loop work counter when pulse is high only for 13usecs or for total time 700usecs?

antkan

the looop start and stop again or still countdown ?

Grumpy_Mike

Quote
When send a pulse IR is a pulse 13usec High,13usecs Low,13usec High,13usecs Low,13usec High,13usecs Low,13usec

No that is not what the IR is sending.

The IR is a modulated signal, that is when it wants to send a logic one it sends a 13 uS high and 13uS low. If it is modulated at 38KHz. When it sends a zero it sends nothing. The IR remote will send a stream of zeros and ones. You will see this in the program as a low determined by the number of zeros followed by a 13uS high.
You are seeing a 680uS high. This suggests that either:-
1) your modulation frequency is 735Hz
2) the code is not accurate at timing the pulses

antkan

I try decode the remote control for united a/c but when decrease the resolution delay time the pulse increase.Why?

Go Up