Create an ir code in spin
Jkane
Posts: 113
Hello,
does anyone know if there is spin code to create an ir code, there seem to be many Get_ir_code routines from remotes but I am having difficulty in finding a spin ir code creator and transmitter.
thanks in advance
regards
Jeff
does anyone know if there is spin code to create an ir code, there seem to be many Get_ir_code routines from remotes but I am having difficulty in finding a spin ir code creator and transmitter.
thanks in advance
regards
Jeff
Comments
Check out the spin zone articles by Jonny Mac. I recall him doing an IR project for the Propellar in one of them.
Jim
I'll check it out, the reason I need this is that I have multiple ir sensors in a confined area, i need to make sure the sender_X and receiver_X are coupled.
regards
Jeff
I'm working on a 'Bot' controlled by a remote that uses the SONY IR code. I also want to experiment with radio and computer control. As long as I can decode what the transmitter sends I'm OK. For example, "If you see a 'binary five' accelerate".
this is some code that receives, which seems the trend is to use remote, cool but my sender and receiver are both spin. in a small confined area, with multiple ir led's I need to make sure the ir led that sent the code is bound to the a specific receiver.
this is the receiver code method, as an example
For the longest time, I stayed with Sony 12bit devices because that was what I learned with the BasicStamp. I picked up a nice little Arduino kit with an NEC 32bit IR device and was very quickly able to determine that was its code and quickly found the means to use it.
No shortage of software.
http://obex.parallax.com/object/292
"Uses Assembly to record the Mark and Space data of the IR signal. Fixed Mark, Fixed Space, and Manchester coding detection across several odd-ball remotes. Compression techniques applied for a smaller data representation footprint. Supports Pattern matching, and re-transmission of stored IR sequences."
enjoy!
I have mentioned before that some people are confused because a conventional 'universal remote' actually has several different behaviors. Knowing that there are a variety of behaviors coming from the remote really helps with programing.
Some buttons are one-shot, others keep repeating as long as held down (Like the volume control). Another group does more exotic things, like remembers and recall your last channel selection. And some are intended to switch from a TV to another device.
In sum, TV Remotes get overly complex. So I was happy to finally get something simpler.
I have noticed that some of the IR code in the OBEX allows you to ignore the auto-repeats that occur and use all the keys as one-shots.
Hopefully all this might help. There are hundreds of code formats and they seem to take roughly four different timing methods. That is why different remotes are ignored by other devices. I am not sure that I ever want to try and figure all that out, but the Linux information may help.
http://obex.parallax.com/object/71
http://obex.parallax.com/object/290