CANhack.de CAN-Interface RKS+CAN
CAN Hardware, CAN Software, CAN Protocols - CAN Bus Forum for Your CAN Bus Project.

Can Simulator

 
Go to page: 1, 2  Next
New Topic Reply 🔗 🖨 CANhack.de - Index » Engine CAN
Author Message
contraja
Guest




 


Free account, no CAN development support

Post16-02-2012, 20:28    Subject: Can Simulator Quote

Hi everyone icon_smile.gif

I installed a parking heater from an Audi into my Skoda.
Unfortunately, it won't start because it's not receiving a signal from the CAN bus regarding the fuel level.
What's the easiest way to let her know that the tank is full?
Unfortunately, I haven't really delved into the CAN bus yet.
Soldering is no problem.
And I also have enough measuring instruments icon_wink.gif.
I only lack the specialized knowledge icon_rolleyes.gif.

I would be grateful for any help you can provide.


Translated on 16-08-2026, 17:31.
Back to top
Dieselfahrer
CAN-Profi
CAN-Profi


Joined: 07/28/2011
Posts: 79
Karma: +6 / -0   Thank you, like it!


CAN Support

Post16-02-2012, 22:37    Subject: Can Bus Simulator: The Ultimate Guide Quote

Okay, you'll need a controller that supports the CAN protocol. My minimal solution is the AT90CAN32 (or 64/128, which are sometimes not even more expensive), but there are similar options from other manufacturers if you prefer PIC microcontrollers over AVR, for example.

And then you need to have the correct CAN matrix – or you'll have to experiment on a working car to figure out where the fuel level information is located.


Translated on 16-08-2026, 17:33.
Back to top Profile PM
contraja
Guest




 


Free account, no CAN development support

Post17-02-2012, 12:12    Subject: Can Simulator Quote

I have a programmer for AVR microcontrollers.
Can I connect it directly to the bus?
And for CAN beginners... icon_rolleyes.gif What is a CAN matrix?


Translated on 16-08-2026, 17:34.
Back to top
CAN-Diagnose
Administrator
Administrator
Avatar-CAN-Diagnose

Joined: 06/07/2011
Posts: 573
Karma: +29 / -0   Thank you, like it!
Location: Ländle



Post17-02-2012, 18:36    Subject: Can Simulator Quote

Hallo,

die CAN-Matrix sagt aus, welche Daten in den CAN-Bus Nachrichten was bedeuten.

Viele Grüsse, Rainer
Dipl.-Ing. (FH) Rainer Kaufmann - Embedded Software Freelancer
System RKS+CAN: CANHack.de CAN-Bus Interface
Back to top Profile PM WWW
Dieselfahrer
CAN-Profi
CAN-Profi


Joined: 07/28/2011
Posts: 79
Karma: +6 / -0   Thank you, like it!


CAN Support

Post17-02-2012, 23:08    Subject: Can Simulator Quote

Quote:
I have a programmer for AVR microcontrollers.
Can I connect it directly to the bus?


Almost. You still need a CAN transceiver in between.
e.g., PCA82C250 (high-speed, also works on the low-speed bus but then without single-wire operation and waking up from bus idle), or TJA1054 (low-speed).

Quote:
And for CAN beginners... icon_rolleyes.gif What is a CAN matrix?


"As my colleague has already mentioned, the term originated when Bosch, shortly after inventing CAN, thought, 'Let's simply create a matrix [table] where we put the message IDs in the far-left column, and then in the 64 columns to the right, we specify what each of the individual (of the maximum 8x8) bits means within that particular message.'"


Translated on 16-08-2026, 17:36.
Back to top Profile PM
contraja
Guest




 


Free account, no CAN development support

Post17-02-2012, 23:37    Subject: Can Simulator Quote

Because my assumptions turned out to be correct...
Only 'The Matrix' confused me.
I think someone in this forum might know the address where the fuel level signal is located.


Translated on 16-08-2026, 17:37.
Back to top
CAN-Diagnose
Administrator
Administrator
Avatar-CAN-Diagnose

Joined: 06/07/2011
Posts: 573
Karma: +29 / -0   Thank you, like it!
Location: Ländle



Post18-02-2012, 17:37    Subject: Can Simulator Quote

Stecker vom Tankgeber an eine "Simulation" anschliessen und schauen, wie sich die Werte in den CAN IDs verändern. icon_wink.gif
Dipl.-Ing. (FH) Rainer Kaufmann - Embedded Software Freelancer
System RKS+CAN: CANHack.de CAN-Bus Interface
Back to top Profile PM WWW
contraja
Guest




 


Free account, no CAN development support

Post19-02-2012, 13:57    Subject: Can Simulator Quote

Because all I need to do now is get a speedometer and a CAN adapter.
Unfortunately, the Audi is no longer available.


Translated on 16-08-2026, 17:38.
Back to top
Maxx
Guest




 


Free account, no CAN development support

Post26-02-2012, 0:11    Subject: Can Simulator Quote

Please pay attention to message with ID 621.
Byte 4, bits 0 through 6, indicate the content within the range of values from 0 to 126 icon_wink.gif.

Regards,
Maxx.


Translated on 16-08-2026, 17:39.
Back to top
contraja
Guest




 


Free account, no CAN development support

Post28-02-2012, 0:22    Subject: Can Simulator Quote

First of all, thank you to everyone.
I'm not sure yet if I can implement it.
I've only recently started working with digital electronics. Otherwise, I was 'just' an analog person icon_smile.gif.


Translated on 16-08-2026, 17:40.
Back to top
Dieselfahrer
CAN-Profi
CAN-Profi


Joined: 07/28/2011
Posts: 79
Karma: +6 / -0   Thank you, like it!


CAN Support

Post28-02-2012, 12:21    Subject: Can Simulator Quote

Quote:
Pay attention to the message with ID 621.
Byte 4, bits 0 through 6, indicate the content within the range of values from 0 to 126
.

Just out of curiosity:
I would have expected that bytes 3, bits 0 to 6, are located in ID 800 (0x320), which corresponds to the fuel level sensor on the instrument cluster.
Does the ID 621 originate from a fuel sensor/fuel pump that is directly connected to the bus?


Best regards,
Ingo


Translated on 16-08-2026, 17:41.
Back to top Profile PM
contraja
Guest




 


Free account, no CAN development support

Post28-02-2012, 12:57    Subject: Can Simulator Quote

I can only say for sure that the heating system is connected to the chassis scan.
According to the wiring diagram, the sensor connects directly to the speedometer (without using a communication bus).


Translated on 16-08-2026, 17:42.
Back to top
Dieselfahrer
CAN-Profi
CAN-Profi


Joined: 07/28/2011
Posts: 79
Karma: +6 / -0   Thank you, like it!


CAN Support

Post28-02-2012, 20:58    Subject: Can Simulator Quote

Quote:
I can only say with certainty that the heater is connected to the chassis scan.


There's no chassis available from the VAG group. So it's probably related to the drivetrain.

CAN drive.
CAN combination (only if the gateway is not in the combination).
CAN diagnostics.
CAN Comfort (== may be combined in some models ==)
CAN Infotainment

Quote:
And according to the wiring diagram, the sensor goes directly to the speedometer (without a bus)
.

Then, see my suggestion.

Best regards,
Ingo


Translated on 16-08-2026, 17:43.
Back to top Profile PM
contraja
Guest




 


Free account, no CAN development support

Post28-02-2012, 21:31    Subject: Can Simulator Quote

There are...

CAN-Bus chassis/control panel insert.
CAN-Bus Comfort Features.
CAN-Bus diagnostics.
CAN bus drive.

From an original wiring diagram.

Audi A4 2008.


Translated on 16-08-2026, 17:45.
Back to top
Dieselfahrer
CAN-Profi
CAN-Profi


Joined: 07/28/2011
Posts: 79
Karma: +6 / -0   Thank you, like it!


CAN Support

Post29-02-2012, 0:49    Subject: Can Simulator Quote

Quote:
There are...

CAN-Bus chassis/control panel insert.
CAN-Bus Comfort Features.
CAN-Bus diagnostics.
CAN bus drive.

From an original wiring diagram.

Audi A4 2008


Unfortunately, I'm not really an expert on audio equipment, but this is now bothering me.
Okay, since you already have the wiring diagram, where is the gateway located, and what else is connected to the "CAN bus chassis/control panel module" besides the instrument cluster? Or isn't the ABS/ESP system connected to the CAN drivetrain?

Best regards,
Ingo


Translated on 16-08-2026, 17:46.
Back to top Profile PM
CAN-Diagnose
Administrator
Administrator
Avatar-CAN-Diagnose

Joined: 06/07/2011
Posts: 573
Karma: +29 / -0   Thank you, like it!
Location: Ländle



Post01-03-2012, 11:45    Subject: Can Simulator Quote

Hallo,

das Gateway ist die zentrale Schaltstelle an die alle CAN Busse angeschlossen sind. Es stellt über CAN-Diagnose (am OBD2-Stecker) eine Schnittstelle zu den anderen Steuergeräten her.

Viele Grüsse, Rainer
Dipl.-Ing. (FH) Rainer Kaufmann - Embedded Software Freelancer
System RKS+CAN: CANHack.de CAN-Bus Interface
Back to top Profile PM WWW
New Topic Reply 🔗 🖨 CANhack.de - Index » Engine CAN
Go to page: 1, 2  Next
Similar articles and topics
Topic Forum
No new posts CAN Simulator: Test and Debug CAN Networks CAN Bus General
No new posts CAN Bus Simulator General
No new posts Looking for a CAN bus simulator CAN Bus General
No new posts Antwort auf PID00 für OBD2-Simulator Diagnostic CAN
Jump to:  
You cannot post new topics in this forum.