Opel TID Display

Do you have a blog?
Have you tryed hackaday?
I would dry AOC (Astra Owners Club but don't know my password.
EDIT: Back into the forum and just spread the word.

Do you have a blog?
Have you tryed hackaday?
I would dry AOC (Astra Owners Club but don't know my password.
EDIT: Back into the forum and just spread the word.

i don't have a blog but i will try hackaday, thanks for the suggestion.

Out of blind curiosity..... Did the i2c scan sketch work with the TID?

if you mean this sketch, i just tried: keeps saying "no i2c devices found"

Giovanni83:
if you mean this sketch, i just tried: keeps saying "no i2c devices found"

Yup thats the one.
Hmn not good then.
Thanks for answering yet another daft question.

AJB2K3:
Were working on the Astra G/corsa C/ Vectra C version.

I'm very thankful for the lib creators - top work!
I've made a modification for my Astra F with the 10 character display - some differences/error in the original for this.
src:Eelke Visser.nl - The 10 character Protocol

void TID::cycle(){
	start_tid();
	tid_address();
	tid_data(_SYMBOLS1);
	tid_data(_SYMBOLS2);
	tid_data(_SYMBOLS2);// needs three sets of symbols for the 10 digit display
	for (int i=0; i<10;i++){ // <<<<<<<needs to cycle up to 10!!!
		tid_data(_display[i]);
	};
	stop_tid();
}

(plus some other variables i've exttended)
and there was an error in the code, it said 0x9A where 0x9B is needed

 tid_byte(0x9B);		//the address for the 8 char display is embedded here, for the 10 char you have to use 0x9A <<wrong

Next up, SD interface for in-car MP3 player!

Daniel Crane

TID.zip (3.34 KB)

dandymon:
and there was an error in the code, it said 0x9A where 0x9B is needed

really? i read everywhere that the 10 char version needed 0x9A... oh well.

Great job fixing the library for this version of the display, i was interested in doing so myself, but i have only an 8 char version so it would had beed hard to check if everything was properly working. Thanks for your contribution, have fun with your project! :slight_smile:

Hi there,

I bought myself an Arduino Nano for displaying the current speed in my Corsa C with 10 letters display.
At first I simply extended the .ino file from the first page. But nothing happend. Then I tried the lib from dandymon by running the example. But still nothing is happening. Im using this code:

#include <TID.h>
//Created by Daniel Crane
TID mydisplay(3,4,5);//SDA, SCL, MRQ

void setup()
{
  pinMode(13,OUTPUT);
}

void loop()
{
    mydisplay.display_message("SCROLLING MONKEY5!",500);
    digitalWrite(13,HIGH);
    delay(500);
    digitalWrite(13,LOW);
    delay(1000);
  
}

I've connected SDA to D3, SCL to D4 and MRQ to D5. But even the LED L on the board doesnt light. When uploading the basic blinking sketch from Arduino examples, the LED starts to blink right after uploading.

I've experienced another problem. When connecting a 12V= powersource to VIN, the LEDs RX and TX start to light, but even the blinking sketch doesn't start to blink LED L. Only if I connect 5V= via USB from a power supply for mobile phones, L starts to blink.

Im using Arduino 3.0 and Im new to Arduino, but Im very experienced writing C-code. Im not too familiar with C++.

@gorgeus
the line

mydisplay.display_message("SCROLLING MONKEY5!",500);

contains an error: the speed value must be between 1 and 255 (it's specified in the tid.h file). My guess is that a value of 500 causes your project to hang. Try lowering this value and see if at lest the led blinks.

hope this helps

Thanks for the response. I've corrected the line, but still nothing happend.

Meanwhile I have loaded the Blink Sketch and evaluated the power supply. 12V= to VIN causes RX TX to light, L doesnt blink. When I increase the current to 15V=, L starts to blink. I don't understand this behaviour, since VIN is specified to 6-12V.
I am not sure, how to power the Arduino in the car. When the battery is not charged I have 14,5V and 13,8V when charged. How can I get 15V in the car? Or other suggestions? Or is my Arduino kind of buggy?

BTW: the TID in my Corsa is the same like in the Astra G, dandymon has shown a picture of it.

BTW: the TID in my Corsa is the same like in the Astra G, dandymon has shown a picture of it.

yup, i made a bit of confusion between the various display models, so i edited my post

on the power supply matter, to get 12 v as you said in your firts post, what kind of power supply you used?

I am using an adjustable power supply that provides 0-16V= at 500mA. I have placed a measuring device inbetween while powering my Arduino for viewing the current under load. When the current exceeds 15V, the Blink Sketch starts to blink the LED.

by your description (and please don't take offense) i'm guessing electronics is not your strong suit :slight_smile:

when the power supply is set to 12V and the measuring device (looks like this?) is removed and disconnected, the simple blink sketch works properly?

I don't feel offended. I am indeed familiar with electronics, what I dont know for sure are the english terms since I am not a native speaker. If you want a circuit diagram, I can provide one.

Yes I am using a so called Multimeter. But I have to disappoint you, it doesn't matter if with or without, the Blink Sketch starts only with 15V=. Or if I am connecting the USB cable to the 5V recharger of my mobile phone. Setting the power supply to 5V= and connecting it to the special "5V" pin for stabilized input, the sketch isn't starting either.

what I dont know for sure are the english terms since I am not a native speaker

neither am i, but wathever the language, current is in amperes, not volts, so i thought you were putting an high resistance between the power supply and the supply input of your nano by emploing the DMM in the wrong manner

if you have another suitable dc power supply, please try it. Maybe is just the one that you are using that is faulty (maybe the capacitor inside of it is gone bad, the voltage output is just a rectified sine, and the multimeters still reads 15V because does internal averaging, or something like that), the fact that with the usb power supply everything works fine makes me think that.

If you don't have another power supply, for now please keep running your test with the phone charger or the arduino plugged to your computer, so you can focus on the code and exclude that the sketch isn't working because of supply issues.

You are right, I confused the word current with voltage, I am sorry. Please replace every "current" in my posting with "voltage".

if you have another suitable dc power supply

I have ordered a new power supply with fixed steps of the output voltage. And also a breadboard for more serious experimenting :smiley:

Now away from the supply: the TID expects 12V on a pin called DIS for switching from calendar date to "incoming" String. It is the red/gray wire (same for 8 and 10 letters display). Right now I have connected this pin directly to VCC. In my car I would connect it to ... I dont know how that wire is called - not the positive pole from the battery but the one from the dynamo. Or should this be managed from the Arduino, too?

Or should this be managed from the Arduino, too?

well, this is up to you: you can keep the date/time function if you control that line with arduino, or forget about it and connect the line to permanent +12V (i'm pretty sure you can't choose between alternator or battery, it's automatic)

I've done some scanning of my Haynes manual because I thought this might help a few people.

You don't have to access the TID from the wiring loom as you can get to it from the ISO connector behind the radio.

[gorgeous] I too have a nano and power it from the usb connector which plugs into a USB cigarette charger adapter. When i've made a final product, i'll buy a cheap usb charger and wire it into the loom behind the console, and attach a (very short) USB to mini-USB adapter.

I didn't mention in the PDF that the arrow J> is the Red/White connector ('gorgeous' put red/grey) that tells the display to display the date or the text string. This wire is just the antenna-power wire given out by the radio that is meant for electric aerials, which tells them to rise or drop when the radio is switched on/off.

My radio for example, turns this off when I listen to CD or AUX, leaving the display to return back to the date, and tells the TID to expect a string when it's powered on (because it would be receiving an RDS station name).

###Potential BUG with the arduino###
My nano is a bit of a pain if the power isn't steady. If it loses power or has a power ripple, you need to turn the arduino off for a couple of seconds before turning back on. There appear to be some capacitors holding charge that don't quite let the arduino power down and boot up properly, unless it loses power for a good 2 seconds. This might be why the blink program isn't even working sometimes, the bootloader doesn't load properly, causing all sorts of blkinking lights, but not the correct program to run.

Dan

astra radio and triple info display.pdf (759 KB)

Back in town with some news. I've got a new power supply, and I bought an 8 Letters TID from an Astra F. I switched back to Basic_Functions.ino, which worked pretty good, I can display any text up to eight Letters on this TID. Using the library doesnt work properly. Displaying a short text results in flickering the display, 1 second text, 1 second empty, and so on. I cant judge the scrolling, there is scrolling something, but there is the same flickering. A speed of '4' seems to be the right for me, with 128 the TID isnt quick enough to display letters readable.

Now using my 10 Letters TID: with Basic_Functions.ino, text ist beeing displayed for 4 seconds, 62 seconds blank, 4 seconds text, and after further 75 seconds I gave up waiting. The library isnt working at all.

I didn't mention in the PDF that the arrow J> is the Red/White connector ('gorgeous' put red/grey) that tells the display to display the date or the text string. This wire is just the antenna-power wire given out by the radio that is meant for electric aerials, which tells them to rise or drop when the radio is switched on/off.

My radio always powers this pin, regardless of radio or not, TP or not. In my car, the Pin 5 in the ISO is connected to the antenna amplifier and also to the red/white wire to the TID. Cutting the red/white wire lets the TID always display the date. Cutting the thicker wire on the radio disables the antenna amplifier.

I have made another discovery. Inbetween stop_tid() and start_tid(), a delay of maximum 30ms is allowed, otherwise the display clears the screen. I am using some code like this

    char light[12];
for ( int i = 0; i < 70; i++ )
    {
        start_tid();
        tid_address(0x94);
        tid_data(0);
        tid_data(0);
        //tid_data(0);            // delete if 8 Letters

        //tid_data(light[1]);     // delete if 8 Letters
        tid_data(light[2]);
        tid_data(light[3]);
        tid_data(light[4]);
        tid_data(light[5]);
        tid_data(light[6]);
        tid_data(light[7]);
        tid_data(light[8]);
        tid_data(light[9]);
        //tid_data(light[10]);    // delete if 8 Letters

        stop_tid();

        */delay(30)

a delay of 30ms works at the 8 Letter TID, more than 30ms not.

i'm curious about the 8 letters astra F display, could you please post the connections scheme used and the sketch you wrote using the library (wich version btw?)?