GODIYMODULES LINTTL3

GODIYMODULES LINTTL3 TTL UART to LIN Bus Converter Data Analyzer Instruction Manual

Model: LINTTL3

1. Introduzione

The GODIYMODULES LINTTL3 is a TTL UART to LIN bus converter module designed for communication monitoring and maintenance of LIN bus equipment. This module integrates the TJA1021 IC, providing a reliable interface between TTL UART and LIN bus protocols. It is suitable for various applications requiring LIN bus communication analysis and control.

2. Caratteristiche principali

  • Conversione del protocollo: Facilitates seamless conversion between TTL UART and LIN bus protocols.
  • Integrated IC: Utilizes the TJA1021 IC for robust performance.
  • High Baud Rate: Supports a measured baud rate up to 57600bps, with a recommended maximum operating frequency of less than 20Kbps for optimal stability.
  • Caratteristiche di protezione: Includes power supply anti-reverse connection protection and LIN bus anti-surge protection.
  • Microcontroller Compatibility: Compatible with both 3.3V and 5V microcontroller systems.
  • Applicazione: Primarily used for communication monitoring and maintenance of LIN bus devices.

3. Configurazione e connessioni

Before connecting the LINTTL3 module, ensure all power sources are disconnected. Refer to the pin descriptions and wiring diagrams for correct installation.

3.1 Descrizione dei pin

Superiore view of LINTTL3 module with pin labels

Immagine: in alto view of the LINTTL3 module showing pin labels for VIN, INH, LIN, GND, RX, SLP, TX.

  • VIN: Power supply positive pole (DC 12V/24V)
  • INH: Used in host mode (refer to TJA1021 PDF for details)
  • LIN: LIN BUS connection
  • TERRA: Polo negativo di alimentazione
  • Trasmissione: TTL serial port data output (Connects to RX of MCU)
  • Discorso linguistico: Controllo della modalità di sospensione
  • RX: TTL serial port data input (Connects to TX of MCU)
  • TERRA: Ground wire (Connects to MCU)

3.2 Wiring Diagram (Master-Slave Configuration)

Wiring diagram for LINTTL3 module in a master-slave LIN bus configuration

Immagine: Example wiring diagram illustrating a master LINTTL3 module connected to multiple slave LINTTL3 modules on a LIN bus, powered by a 12V DC supply. This diagram shows the interconnection of VIN, GND, and LIN lines between modules and the master/slave microcontrollers.

When connecting the LINTTL3 module to a microcontroller (MCU), ensure the TX pin of the module connects to the RX pin of the MCU, and the RX pin of the module connects to the TX pin of the MCU. The GND pins should also be connected. For master-slave configurations, follow the provided wiring diagram carefully, paying attention to the power supply connections and LIN bus lines.

4. Istruzioni per l'uso

The LINTTL3 module acts as an interface between a microcontroller's UART and a LIN bus. It allows the microcontroller to send and receive data over the LIN network.

  1. Alimentazione elettrica: Connect a DC 12V or 24V power supply to the VIN and GND terminals of the module. Ensure correct polarity.
  2. Connessione UART: Connect the module's TX and RX pins to the corresponding RX and TX pins of your microcontroller (e.g., Arduino, Raspberry Pi). Connect the module's GND to the microcontroller's GND.
  3. LIN Bus Connection: Connect the LIN pin of the module to the LIN bus line of your system.
  4. Comunicazione dei dati: Use your microcontroller's UART to send and receive data. The module will convert TTL UART signals to LIN bus signals and vice-versa.
  5. Baud Rate: Configure your microcontroller's UART to communicate at the desired baud rate. The module supports up to 57600bps, but for LIN bus stability, a maximum operating frequency of less than 20Kbps is recommended.
  6. Sleep Mode (SLP): The SLP pin can be used to control the module's sleep mode, reducing power consumption when the LIN bus is inactive. Refer to the TJA1021 datasheet for detailed control of this feature.

Nota importante: When connecting the module to a computer's COM port directly, the computer can receive data. However, a standard computer COM port cannot act as a LIN bus host because it cannot generate the specific 13-bit start bit required by the LIN protocol. For host functionality, connect the module to a development board or microcontroller capable of generating the LIN protocol's start bit.

5. Specifiche

CaratteristicaDettaglio
ModelloLINTTL3
MarcaMODULI DIVINI
Principale ICTJA1021
ConnettivitàTTL, UART, LIN
Volume di eserciziotageDC 12V / 24V (via VIN pin)
Logic Level Compatibility3.3V / 5V Microcontroller Systems
Max Baud Rate (Measured)57600 bps
Recommended Max Operating Frequency< 20Kbps
ProtezionePower supply anti-reverse, LIN bus anti-surge
Dimensioni (L x P x A)1.69" x 1.69" x 0.47" (approximately 43mm x 43mm x 12mm)
Dispositivi compatibiliArduino, Raspberry Pi, other microcontrollers

6. Risoluzione Dei Problemi

  • No Communication with Microcontroller:
    • Verify TX/RX connections are crossed (module TX to MCU RX, module RX to MCU TX).
    • Ensure common ground (GND) connection between the module and the microcontroller.
    • Check UART baud rate settings on the microcontroller match the expected rate.
  • Issues with 3.3V Microcontrollers:

    While the module is stated to be compatible with 3.3V/5V systems, some users have reported that the onboard pull-up resistors are connected to a 5V supply derived from the 12V input. This can potentially stress 3.3V microcontrollers. If experiencing issues with 3.3V logic levels, consider the following:

    • Voltage Level Shifters: Usa voltage level shifters between the module's TTL UART pins and the 3.3V microcontroller.
    • Modify Onboard Regulator (Advanced Users Only): For advanced users, it may be possible to replace the onboard 5V regulator (e.g., 78L05) with a 3.3V regulator to ensure pull-ups operate at 3.3V. This modification should only be attempted by experienced individuals as it voids warranty and carries risk of damage.
  • LIN Bus Communication Errors:
    • Ensure the LIN bus line is correctly connected and terminated if necessary (though LIN typically uses a single master and slaves with internal termination).
    • Verify the LIN bus voltage levels are within specification.
    • Check for proper master-slave configuration and addressing on the LIN network.

7. Manutenzione

The LINTTL3 module is designed for reliable operation with minimal maintenance. Keep the module clean and free from dust and moisture. Avoid exposing it to extreme temperatures or mechanical stress. No user-serviceable parts are inside.

8. Garanzia e supporto

This product is manufactured by GODIYMODULES. For warranty information and technical support, please refer to the official GODIYMODULES websito o contattare direttamente il servizio clienti. Conservare la ricevuta d'acquisto per eventuali reclami in garanzia.

Ask a question about this manual

Ask about setup, troubleshooting, compatibility, parts, safety, or missing instructions. Manuals+ will review the question and use this page’s manual context to help answer it.