Infrared Recorder
CumQuaT
Posts: 156
Hello,
I'm new to using the Propeller (been working at it for a few months now, but have only had small amounts of time to dedicate to it) and I've gotten to the point where I want to build a circuit that can read IR frequencies coming from a TV remote. I have my circuit all set up with the output from my sensor going to pin 8 on the prop, but have no idea what to put into spin in terms of coding... Can anyone give me a kick start? I'm a fast learner, so all I need is a bit of a nudge in the right direction. I'm too used to using PBASIC!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Who are you, and why are you reading my signature?
I'm new to using the Propeller (been working at it for a few months now, but have only had small amounts of time to dedicate to it) and I've gotten to the point where I want to build a circuit that can read IR frequencies coming from a TV remote. I have my circuit all set up with the output from my sensor going to pin 8 on the prop, but have no idea what to put into spin in terms of coding... Can anyone give me a kick start? I'm a fast learner, so all I need is a bit of a nudge in the right direction. I'm too used to using PBASIC!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Who are you, and why are you reading my signature?
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Who are you, and why are you reading my signature?
No, you cannot program the Propeller in BASIC (not yet, anyway). Spin and PASM are easy to learn.
obex.parallax.com/objects/477/
but they are written in SPIN. A Propeller can only interpret SPIN or run Propeller-Assembler (PASM) code.
You can use this as a start. Of course this object has its limitations.
there are two objects in the obex related to IR remote-controls
IR-kit
and
IR remote
best regards
Stefan
Not too long ago I posted a spin program on this forum that does EXACTLY what you are trying to do.
Here is the link to the posting.....the program IR_Keypad.Spin is an attachment in that posting and you
can download it and study it....it allows you to use a Sony TV remote to enter numbers. It has all you
need to achieve what you are asking for.
http://forums.parallax.com/showthread.php?p=821283
Regards
Samuel
P.S. You may also be interested in this posting (attached program is IR_Music.spin)
http://forums.parallax.com/showthread.php?p=822242
Post Edited (SamMishal) : 8/4/2009 5:54:37 PM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Who are you, and why are you reading my signature?