LILYGO T-CAN485

LILYGO T-CAN485 ESP32 Development Board User Manual

Model: T-CAN485

1. Introduction

The LILYGO T-CAN485 is an ESP32-based development board designed for wireless IoT control applications, featuring integrated CAN bus and RS485 interfaces. This board supports TF card storage and offers Wi-Fi and Bluetooth connectivity, making it suitable for a wide range of industrial and hobbyist projects requiring robust communication and processing capabilities.

2. Product Overview

The LILYGO T-CAN485 board integrates an ESP32 microcontroller with various communication interfaces and features. Understanding the layout and components is crucial for proper use.

2.1 Board Components

Top view of LILYGO T-CAN485 ESP32 Development Board

Figure 2.1: Top view of the LILYGO T-CAN485 ESP32 Development Board. This image highlights the main components including the ESP32 module, USB-C port, and terminal blocks for CAN and RS485 connections.

Bottom view of LILYGO T-CAN485 ESP32 Development Board with TF card slot

Figure 2.2: Bottom view of the LILYGO T-CAN485 ESP32 Development Board, showing the integrated TF card slot for data storage.

LILYGO T-CAN485 ESP32 Pinout Diagram

Figure 2.3: Detailed pinout diagram for the LILYGO T-CAN485 board, indicating GPIO assignments for CAN, RS485, SD card, and other peripherals.

2.2 Product Application Instructions Video

Video 2.1: This video provides a visual guide to the application and features of the LILYGO T-CAN485 board, demonstrating its capabilities in a practical context.

3. Setup

3.1 Power Supply

The LILYGO T-CAN485 board can be powered via the USB-C port or through the DC 5-12V input. Ensure the power supply meets the specified voltage range to prevent damage to the board.

3.2 Driver Installation

The board uses the CH9102 USB to TTL chip. Drivers may be required for your operating system (Windows, macOS, Linux) to recognize the board. Typically, these drivers are automatically installed or can be found on the CH9102 manufacturer's website.

3.3 Development Environment Setup

To program the ESP32, you will need to set up a development environment. The Arduino IDE with ESP32 board support is a common choice. Follow these general steps:

  1. Install the Arduino IDE.
  2. Add the ESP32 board manager URL to Arduino IDE preferences.
  3. Install the ESP32 boards package from the Board Manager.
  4. Select the appropriate ESP32 board model (e.g., ESP32 Dev Module) and COM port in the Arduino IDE Tools menu.

4. Operating Instructions

4.1 Basic Programming

Once your development environment is set up, you can upload sketches (programs) to the ESP32. Connect the board via USB-C, select the correct board and port, then upload your code.

4.2 CAN Bus Communication

The T-CAN485 board includes a CAN bus interface. Refer to the pinout diagram (Figure 2.3) for CAN TX (GPIO27), CAN RX (GPIO26), and SE (GPIO23) connections. Libraries for ESP32 CAN communication are available and can be integrated into your Arduino sketches.

4.3 RS485 Communication

The board also features an RS485 interface. The RS485 TX (GPIO22), RX (GPIO21), SE (GPIO19), and EN (GPIO17) pins are available via the terminal blocks. Utilize appropriate RS485 libraries for ESP32 to manage data transmission and reception.

4.4 TF Card Usage

The integrated TF card slot allows for data logging or storing configuration files. Standard SD card libraries for ESP32 can be used to interact with the TF card. Ensure the card is properly formatted (e.g., FAT32) before use.

4.5 Wireless Connectivity (Wi-Fi & Bluetooth)

Leverage the ESP32's built-in Wi-Fi (802.11 b/g/n) and Bluetooth (BRV4.2+BLE) capabilities for network connectivity and device pairing. Standard ESP-IDF or Arduino ESP32 libraries provide functions for managing Wi-Fi connections, setting up access points, and handling Bluetooth communications.

5. Maintenance

To ensure the longevity and optimal performance of your LILYGO T-CAN485 board, follow these maintenance guidelines:

6. Troubleshooting

If you encounter issues with your LILYGO T-CAN485 board, consider the following troubleshooting steps:

7. Specifications

FeatureSpecification
MicrocontrollerESP32
USB to TTL ChipCH9102
Power InputDC 5~12V (USB-C also for 5V)
Bus InterfacesUART, SPI, I2C, CAN, I2S, SDIO
Wireless ConnectivityWi-Fi: 802.11 b/g/n, BRV4.2+BLE
Onboard ButtonsRST, BOOT
RGB LEDWS2812 RGB (GPIO04)
StorageTF Card Support
DimensionsApproximately 4.21 x 1.38 x 0.43 inches
Operating System CompatibilityWindows, macOS, Linux

8. Support & Warranty

For technical support, documentation, and community resources, please visit the official LILYGO GitHub page:

LILYGO products typically come with a standard manufacturer's warranty covering defects in materials and workmanship. For specific warranty terms and conditions, please refer to the purchase documentation or contact LILYGO customer service directly. Keep your proof of purchase for warranty claims.