Raspberry Pi Dual-Channel RS-485 Expansion Board

SKU: DFR0824

The Raspberry Pi Dual-Channel RS-485 Expansion Board offers enhanced data transmission reliability and protection for the Raspberry Pi mainboard with isolated transceivers and embedded protection circuits, including lightning and surge protection.

RS485 Expansion Hat for Raspberry Pi
  • Docs
  • Tech Specs
  • 1. Getting Started with Python Setup

    This article provides a detailed guide on setting up a Python environment, installing essential libraries, and configuring UART on Raspberry Pi devices. It includes specific commands and steps for various Python versions and Raspberry Pi models, ensuring a smooth setup process.

    2. Usage Example: Raspberry Pi RS-485 HAT Modbus Communication

    The article demonstrates how to use a dual-channel RS-485 expansion HAT with Raspberry Pi for Modbus communication, detailing configuration steps, code modifications, and sensor data retrieval.

    Reference

    This article provides an in-depth look at RS-485 and ModBus communication protocols, focusing on RS-485's long transmission distance, noise rejection, and differential transmission method, and ModBus's master/slave architecture, addressing structure, and command execution in industrial applications.

    Specification

    Parameter Value
    Operating Voltage 3.3V
    RS-485 Transceiver TP75176E
    Serial Chip CH432T
    RS-485 Communication Interface × 2
    120Ω Terminal Resistor × 2
    PWR Indicator red
    TX Signal Indicator blue
    RX Signal Indicator green
    RS-485 Wiring Method 3Pin 5.08 pluggable terminal block
    Supported Raspberry Pi Model 3B+, 4B, 5
    Fixed Through-hole Diameter 2.5mm
    Dimension 65mmx56mm/2.56×2.20"

    Pinout

    DFR0824-functional diagram

    Num Label Description
    1 Raspberry Pi 40 Pin Header DIP Raspberry Pi 40 Pin Header
    2 RS-485 Interface RS-485 interface, GND, A1, B1, A2, B2 are connected to the corresponding RS485 port respectively
    3 TX/RX Indicator The RX/TX indicator of the corresponding port will flash during RS-485 communication, TX for blue and RX for green
    4 120Ω Terminal Resistor There may be a garbled signal during long-distance RS-485 communication, at this time the 120Ω resistor should be connected. In normal cases, just put it to NC.

    Was this article helpful?

    TOP