Pages: 1 [2]   Go Down
Author Topic: Help with shift bits...  (Read 1829 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Full Member
***
Karma: 2
Posts: 175
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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?
Logged

Web / sms / bluetooth / arduino / android remote control. Home Automation projects.
http://www.power7.net

Manchester (England England)
Online Online
Brattain Member
*****
Karma: 603
Posts: 33415
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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?
Logged

Offline Offline
Full Member
***
Karma: 2
Posts: 175
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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?
Logged

Web / sms / bluetooth / arduino / android remote control. Home Automation projects.
http://www.power7.net

Offline Offline
Full Member
***
Karma: 2
Posts: 175
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

the looop start and stop again or still countdown ?
Logged

Web / sms / bluetooth / arduino / android remote control. Home Automation projects.
http://www.power7.net

Manchester (England England)
Online Online
Brattain Member
*****
Karma: 603
Posts: 33415
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Offline Offline
Full Member
***
Karma: 2
Posts: 175
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Web / sms / bluetooth / arduino / android remote control. Home Automation projects.
http://www.power7.net

Pages: 1 [2]   Go Up
Jump to: