Go Down

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

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?
Web / sms / bluetooth / arduino / android remote control. Home Automation projects.
http://www.power7.net

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?

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?
Web / sms / bluetooth / arduino / android remote control. Home Automation projects.
http://www.power7.net

the looop start and stop again or still countdown ?
Web / sms / bluetooth / arduino / android remote control. Home Automation projects.
http://www.power7.net

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

I try decode the remote control for united a/c but when decrease the resolution delay time the pulse increase.Why?
Web / sms / bluetooth / arduino / android remote control. Home Automation projects.
http://www.power7.net

Go Up