/T-CAN485

Primary LanguageC++MIT LicenseMIT

🌟LilyGo T-CAN485🌟

Introduce

Onboard functions

  • 1 x RS485 receiver.
  • 1 x CAN receiver.
  • 1 x TF card connector.
  • 1 x WS2812 RGB LED light.
  • 8 x Reserved programmable GPIO.

Product 📷:

Product Product Link
T-CAN485 AliExpress

Quick Start

Arduino

  • Click "File" in the upper left corner -> Preferences -> Additional Development >Board Manager URL -> Enter the URL in the input box https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
  • Click OK and the software will be installed by itself. After installation, restart the Arduino IDE software.
  • Arduino Setting img

PlatfromIO

  • PlatformIO plug-in installation: Click on the extension on the left column -> search platformIO -> install the first plug-in
  • Click Platforms -> Embedded -> search Espressif 32 in the input box -> select the corresponding firmware installation

Q&A

  1. CAN bus protocol does not work properly.
  • A:Depending on the ESP32 chip, the CAN controller register IER parameter needs to be changed. If it is a V3 version chip, you can use 0xEF, otherwise, use 0xFF.