Receiving the right frequency from an IR receiver
Dear Cycling '74 users,
I'm New-ish with max/msp and i really enjoy it. But i encountered a problem, i installed several sensors including an IR receiver. This one: http://www.sparkfun.com/products/8554.
I am using an Arduino One and the Maxuino patch. But for some reason it doesn't react to any remote control i use.
it switches from 0.996 to 0.998 but nothing else.
My plan is to receive certain ir frequencies from a remote and than send out those to control a couple of electronic devices in my room.
Does anyone have any clue how i can realize my plan?
I know it's fairly easy to do it with out max/msp and only the arduino but i really want to do it in max/msp because i'm making some sort of A.I.-ish robot controller thingy.
Thanks in advance, greetings from holland!
As far as I understand it, IR remotes are sending out digital signals, flashing off and on to represent 0's and 1's, I would guess 0.996 is your 0 and 0.998 is your 1. You may be able to find a way to record the pattern of each button press (in a coll or something?), but I'm not convinced it will work as you'd have to know the start bit and the sequence repeats etc. Its a complicated signal really, have a look here: http://en.wikipedia.org/wiki/RC-5
The Arduino does seem like the right tool for the job and I'm sure there are ready made solutions on the forum which would take a little extra coding to get your translated message into/ out of Max.
Hopefully someone who knows more about this technology will be able to comment...
are you sure that your remote is also 38Khz? this is important, this carrier frequency differs per brand and then you need another ir module (if you want to use such an integrated module, other systems are more adaptable, but filter less noise)
I disagree with luke that 0.996 = 0 and 0.998 = 1, I think it is both 1.
Sorry for the very late reaction, i had a big delay with my project but i'm back in the game again!
I'm using the URC-8350 to test the signal, but i can't find the Khz. Not on the internet nor in the manual.
I will try some other techniques and remotes untill i got some decent feedback in max/msp. And i will get back to you guys !
I used another remote control and it made a big difference. Instead of the normal 0.99****. Every key now gives a different number ( for example. 0.****** ). But how to figure out how to use this number to send out a good ir signal. !! ideas are always welcome