Sketch/Code/Scheme Help Please

Hi Guys!

Here's the question I have and if you could help I would really admire it.

I'll try to explain in details what scheme/code I'm seeking for.

First of,

I have a IMA multimedia unit in my car that has two wires to control IR units like DVD players, Homedock Deluxe etc. I know the codes it sends to Homedock Deluxe (DISCRETE CODES (HEXIDECIMAL) IN SHORT AND LONG FORMAT like 900A 006D 0000 0001 EE87 80F1 etc). As far as I understood these wires should go to analog in (Arduino Duemilanove). So what I need is to build a receiver for these codes using Arduino and then trigger the digital pins on the Arduino scheme to open or close them if it sees the code like this. Maybe anyone could help me out how to build a sketch or code? I hope you understand what I mean (I'm not so good in programming :frowning: )

Thanks in advance

As far as I understood these wires should go to analog in

Almost certainly not, unless you're using the analogue pins as digital inputs.
I'd try to get hold of a 'scope and work out what the codes are and more importantly, what voltage levels they use.
Or contact the manufacturers and ask for the physical and electrical interface specification.

Thanks for your reply, Groove.

I have all the codes (like for Track Up, Track Down, Source etc), the only thing I need to build a receiver with program that would recognize the codes and trigger the pins on scheme.

My bad, "digital in" that's for sure :slight_smile:

the only thing I need to build a receiver with program

No - you also need to know the signalling protocol - bit rate, levels, bit order, start/stop conditions.

I see now, is there any way to get this information (like using oscilloscope) not from manufacturer?

You might get lucky.

It might be SIRCS.

http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1196401210/3

I think I found something useful:

carrier frequency: 38.4khz
signal duration: 118.7ms
number of pulses: 36
carrier duty cycle 40%

This is a cut of signal image

Will it help?

pwillard, thanks for the link

Anyone please? :slight_smile: