Im a beginner with Raspberry Pi and I want to connect a LIN Bus shield to it. I searched on the internet everywhere but I still can“t find a LIN shield for the RPi. is that normal? can you please help me with that ? is it possible to make my own LIN shield ? Waiting for your answers which will certainly help me with my project.
Asked
Active
Viewed 1,831 times
1 Answers
1
The easiest way to get LIN working in Linux is to implement a custom UART driver (or, more precisely, a TTY discipline), and use a level converter to make the UART work with 12V.
On the software side, take a look at slLIN project. Its authors also wrote a paper about it, which may help to understand how it works.
On the hardware side, buy a UART or an RS-232 module and make a 12V level converter for it. Example from the paper above:
Dmitry Grigoryev
- 28,277
- 6
- 54
- 147
