EmbDev.net

Forum: µC & Digital Electronics OPEL MID TID VDO CDR2005 WITH ARDUINO


von Bruno Murari (Guest)


Attached files:

Rate this post
useful
not useful
Hi folks!

I have an VDO CDR2005 radio from my Astra G/H (here in Brazil it's 
called Vectra C... by the way) and I want to communicate with this radio 
using my arduino uno r3 using SCL, SDA and MRQ like you I do with my 
MID/TID.

I cannot find a library or an example that shows how CDR2005 
communication works because everyone wants to send data/string to 
MID/TID but nobody needs to retrieve data from the radio like radio 
station.

Can someone tell me how can I read data from CDR2005 using Arduino?

: Moved by Moderator
von Danish B. (danishbelal)


Rate this post
useful
not useful
I wouldnt assume Multi-Master Capability.

I'm a bit confused, that this Car Equipment features an I2C Bus, 
though.

von Bruno M. (bmurari)



Rate this post
useful
not useful
Danish B. wrote:
> I wouldnt assume Multi-Master Capability.
>
> I'm a bit confused, that this Car Equipment features an I2C Bus,
> though.

Hi Danish,

I assume thats a I2C bus because this radio CDR2005 communicates to an 
MID (board computer) and when I did a Web search I found many kinds of 
sending data to that MID using this modified I2C (SDA, SCL, MRQ). So I 
assumed that's a I2C modified type...

See the code below of the communication to send data from an Arduino to 
an MID (I also attached the original code .ino, .cpp, .h to this post):

***********************************************************

#include "TID12_10.h"

TID MyTid(7,5,6); //D5->SCL, D6->MRQ, D7->SDA


void setup() {
MyTid.space1_init(0,0); //(first position,last position) (i. e. just the 
first digit)
MyTid.space2_init(1,9); //use digit 2 to 10
MyTid.clear_space(1);
MyTid.clear_space(2);
}

void loop() {
char first[2];
first[0] = 64; //define a symbol, here @, for more symbols see attached 
picture, thanks to Georg (Gorgeous188)
first[1] = ' '; // space for blinking
first[2] = '\0'; // null character termination

MyTid.display_message(first,1,1); // (speed,position)
MyTid.display_message("This is a test...",4,2);
}

***********************************************************

Do You have any idea of how can I receive data from this type of 
communication (SDA, SCL, MRQ)? This radio only send data using this type 
of comm and I need to read this data using an Arduino.

I already linked this radio using an Arduino UNO R3 but the Arduino 
shows nothing connected to the I2C bus when I perform an address scan.

Thanks again!

von Uwe (Guest)


Rate this post
useful
not useful
It seems you're looking for I2C slave mode.

See examples e.g here:
https://www.arduino.cc/en/Tutorial/MasterWriter
http://dsscircuits.com/articles/arduino-i2c-slave-guide

von Sergey (Guest)


Rate this post
useful
not useful
Was it possible to connect arduino with CDR 2005?

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.