Forum Index
HomeZBasic Home   Forum RulesForum Rules   Forum FAQForum FAQ   MemberlistMemberlist   UsergroupsUsergroups   RSS FeedRSS Feed
Site SearchSite Search   LinksLinks   DownloadDownload   Digests and SubscriptionsDigests and Subscriptions
ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in   RegisterRegister
Storing IR Pulses

 
Post new topic   Reply to topic    Forum Index -> ZBasic Language
Author Message
chagy



Joined: 18 Mar 2006
Posts: 4

Posted: 18 March 2006, 21:52 PM    Post subject: Storing IR Pulses Reply with quote

I was just wondering if anyone knows how to store an IR pulse train after being accepting/decoded by the input capture pin. It would be useful to me to know how to store a pulse and retransmit that same pulse at anytime. Thanks for any kind of help!
Back to top
dkinzer
Site Admin


Joined: 03 Sep 2005
Posts: 2493
Location: Portland, OR

Posted: 18 March 2006, 23:52 PM    Post subject: Reply with quote

You could just store the data gathered by InputCapture(). That would make it easy to re-transmit the IR stream using OutputCapture(). If you do this, I would guess that it would be a good idea to normalize the data so that the pulse widths are the ideal size rather than the detected size.

On the other hand, it would likely take less space to store the bit pattern that is extracted from the InputCapture() data. For transmission, you'd have to create the pulse width data needed by OutputCapture using the bit pattern information.

In case you haven't seen it, there is an application note describing how to receive and decode IR signals. See AN-204.
Back to top
chagy



Joined: 18 Mar 2006
Posts: 4

Posted: 19 March 2006, 4:46 AM    Post subject: IR Signals Reply with quote

I've successfully decoded Sony IR signals using Application Note 204 and am now tring to save those decoded signals and replicate them out of Pin 27-Output capture. Can I save each byte (different devices/commands from sony remotes) and retransmit that command without the use of a sony remote anymore. I'm tring to inferface each command with the computer keyboard so I can control IR device via computer.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Forum Index -> ZBasic Language Time synchro. with the server - Timezone/DST with your computer
Page 1 of 1

 


All content Copyright © 2005-2012 Elba Corp. All Rights Reserved.
Opinions expressed in posts are those of the author and not necessarily those of Elba Corp.
Powered by phpBB © 2001, 2005 phpBB Group