The data conversion from RS232 to LIN is very useful in case of changing the past mechanism generation to present. Those days we could find lot of communication processed by RS232 which was quite impressive on those days 😲 but not today 😃. There are so many communication available at present. The main perspective of introducing new communication is mainly for speed of data transfer and highly Encrypted data. The LIN communication is one among them. you can find complete information regarding RS232 and LIN here.
- USB - Serial Adapter.
- RS232 - TTL converter.
- LIN Tranceiver.
- Logic analyser.
- Download the code from the repository.
- Open the file RS232-LIN
- Open Command prompt on /RS232-LIN and run the following command:
$ gcc -o linsend lin-send.c argparse.c
- linsend.exe file will be generated on the same PATH.
- Open PowerShell on the same PATH and follow the command line given below:
$ ./linsend.exe -h
- Run the below command to send LIN data
$ lin-send -c COM1 -i 0x23 -d 0x12,0x96,0x34,0x45,0x00,0x00,0x00,0x00
- This project files are only for Window OS.
- white line - FT232(TX pin)--Logic analyser channel.
- Black line - FT232(GND)--Logic analyser GND.