Skip to content

Commit

Permalink
Modified file structure to conform with the Arduino Library Manager f…
Browse files Browse the repository at this point in the history
…older layout
  • Loading branch information
peter.pinter committed May 13, 2020
1 parent ad0dadd commit 5e8d908
Show file tree
Hide file tree
Showing 14 changed files with 10 additions and 10 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
9 changes: 5 additions & 4 deletions library.properties
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
name=tss463c_van
version=1.1
name=Atmel TSS463C VAN bus Datalink Controller library
version=1.1.0
author=Peter Pinter <pinterpeti@gmail.com>
maintainer=Peter Pinter
maintainer=Peter Pinter <pinterpeti@gmail.com>
sentence=A library for the Atmel TSS463C VAN Datalink Controller with SPI
paragraph=It is intended to interface cars made by the PSA (Peugeot and Citroen)
category=Communication
url=https://github.com/morcibacsi/arduino_tss463_van
architectures=avr,esp32
architectures=avr,esp32
includes=tss463_van.h
11 changes: 5 additions & 6 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This is an Arduino library for the Atmel TSS463C VAN Datalink Controller with SP

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

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.
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.

### Message types
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.
Expand All @@ -17,16 +17,15 @@ So if you just want to have a working VAN bus reader and don't want to have your

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).

#### TSS463C + Rem0339 VAN line driver
#### TSS463C + Remq0339 VAN line driver


![schema_tss463c_remq0339](https://github.com/morcibacsi/arduino_tss463_van/raw/master/schema/schema_tss463c_remq0339.png)
![schema_tss463c_remq0339](https://github.com/morcibacsi/arduino_tss463_van/raw/master/extras/schema/schema_tss463c_remq0339.png)

#### TSS463C + MCP2551 CAN transceiver

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

![schema_tss463c_mcp2551](https://github.com/morcibacsi/arduino_tss463_van/raw/master/schema/schema_tss463c_mcp2551.png)
![schema_tss463c_mcp2551](https://github.com/morcibacsi/arduino_tss463_van/raw/master/extras/schema/schema_tss463c_mcp2551.png)

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

Check the **tss463_van_monitor** and **tss463_van_dashboard_experiment** folders for examples on how to read and write messages on the bus.
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.

### Tested boards
- Arduino UNO/Nano/Pro Mini
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 5e8d908

Please sign in to comment.