Skip to content

Commit 5e8d908

Browse files
author
peter.pinter
committed
Modified file structure to conform with the Arduino Library Manager folder layout
1 parent ad0dadd commit 5e8d908

14 files changed

+10
-10
lines changed

library.properties

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
name=tss463c_van
2-
version=1.1
1+
name=Atmel TSS463C VAN bus Datalink Controller library
2+
version=1.1.0
33
author=Peter Pinter <pinterpeti@gmail.com>
4-
maintainer=Peter Pinter
4+
maintainer=Peter Pinter <pinterpeti@gmail.com>
55
sentence=A library for the Atmel TSS463C VAN Datalink Controller with SPI
66
paragraph=It is intended to interface cars made by the PSA (Peugeot and Citroen)
77
category=Communication
88
url=https://github.com/morcibacsi/arduino_tss463_van
9-
architectures=avr,esp32
9+
architectures=avr,esp32
10+
includes=tss463_van.h

readme.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This is an Arduino library for the Atmel TSS463C VAN Datalink Controller with SP
44

55
[VAN bus][van_bus] is pretty similar to CAN bus. It was used in many cars (Peugeot, Citroen) made by PSA.
66

7-
It is capable of reading and writing the VAN bus. To understand the VAN protocol and the library I **strongly recommend** to read the datasheet of the TSS463C VAN Datalink Controller. It is included in the repository. The library contains references to the pages of the document to have a better understanding on what is going on.
7+
It is capable of reading and writing the VAN bus. To understand the VAN protocol and the library I **strongly recommend** to read the datasheet of the TSS463C VAN Datalink Controller. It is included in the repository inside the extras folder. The library contains references to the pages of the document to have a better understanding on what is going on.
88

99
### Message types
1010
Understanding the various message types is essential (see page 19-21 and 42-45 in the datasheet). Some messages are pretty straightforward: they have a source and destination(s), but there are others which are like queries: a device (for example the display) asks another one (like the BSI or the CD changer or the head unit) for some data. So when you are testing and a message does not appear it could mean that you don't have the initiator in your setup (or maybe you are missing the device which should answer for the query). Or it could also mean that you misconfigured the receiver channels.
@@ -17,16 +17,15 @@ So if you just want to have a working VAN bus reader and don't want to have your
1717

1818
To have the library working, you need to build a shield first as such thing does not exists on the market for the VAN bus. To build the hardware you need to buy a TSS463C VAN controller and a REMQ 0339 VAN line driver (this is also known as Alcatel 2840). Unfortunately these are pretty hard to find but if you are lucky you can buy them on aliexpress (or you can also extract them from an old headunit or display).
1919

20-
#### TSS463C + Rem0339 VAN line driver
20+
#### TSS463C + Remq0339 VAN line driver
2121

22-
23-
![schema_tss463c_remq0339](https://github.com/morcibacsi/arduino_tss463_van/raw/master/schema/schema_tss463c_remq0339.png)
22+
![schema_tss463c_remq0339](https://github.com/morcibacsi/arduino_tss463_van/raw/master/extras/schema/schema_tss463c_remq0339.png)
2423

2524
#### TSS463C + MCP2551 CAN transceiver
2625

2726
Instead of the Remq 0339 it is also possible to use a CAN transceiver, for example the MCP2551
2827

29-
![schema_tss463c_mcp2551](https://github.com/morcibacsi/arduino_tss463_van/raw/master/schema/schema_tss463c_mcp2551.png)
28+
![schema_tss463c_mcp2551](https://github.com/morcibacsi/arduino_tss463_van/raw/master/extras/schema/schema_tss463c_mcp2551.png)
3029

3130
### Installing
3231
Copy the following files to your **documents\Arduino\libraries\tss463_van** folder
@@ -36,7 +35,7 @@ Copy the following files to your **documents\Arduino\libraries\tss463_van** fold
3635
- keywords.txt
3736
- library.properties
3837

39-
Check the **tss463_van_monitor** and **tss463_van_dashboard_experiment** folders for examples on how to read and write messages on the bus.
38+
Check the **tss463_van_monitor** and **tss463_van_dashboard_experiment** folders inside the extras folder for examples on how to read and write messages on the bus.
4039

4140
### Tested boards
4241
- Arduino UNO/Nano/Pro Mini
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)