Skip to the content
2 layers20.6 × 28 mmRS485M Unit, the printed circuit board in 3D
Size
20.6 × 28 mm
Copper layers
2
Thickness
1.6 mm
Parts
29
Nets
23
Pads
83
Tracks, vias
221, 25
Pours
1
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
6 Mar 2026
Updated
24 Apr 2026

Overview

RS485M Unit is an open-source printed circuit board by akita11, from the akita11/RS485M_Unit repository on GitHub, published under the MIT licence. It is a 2-layer board of 20.6 × 28 mm with 29 parts on 23 nets, routed with 221 tracks and 25 vias.

It is built around the TD1466A and WB485E. Its parts include 11 resistors, 4 capacitors, 3 ICs, 3 diodes and 2 connectors.

Main components

2

README

README.md

RS485M Unit

RS485規格の半二重シリアル通信を行うことができるUnitです。 Grove端子でM5Stackシリーズ等のマイコンと接続して使用します。

M5Stack社のRS485 Unitとは異なり、本来のRS485の通信仕様でマルチドロップの1:N通信トポロジを構成できます(詳細は後述)。 データを送信している期間のみ伝送路を送信駆動する制御を行います(通信速度は変更可能)。

伝送路側から最大24Vを供給してマイコン側に5Vを供給することができます。

理論上最大256台まで接続可能な低入力容量型のRS485ドライバを使用しています。

RS485通信の基本構成と「M5Stack社のRS485 Unit」との相違点

RS485は、2本の伝送路(Line)を使ってシリアルデータ(UART)を送受信する規格です。 規格の詳細と、M5Stack社のRS485 Unitでの留意すべき点はこちらを参照してください。

「M5Stack社のRS485 Unit」との相違点は以下です。 (以下のカッコ内の※以下は「M5Stack社のRS485 Unit」の仕様)

  • 非送信時には伝送路が非駆動(※"1"で駆動)
  • 送信時のみ伝送路を駆動、1バイト単位自動またはGPIOで制御(※常時"1"で駆動)
  • 給電入力は48Vまで、24V給電時の過渡応答でも破損しにくい(※給電入力の絶対最大定格が30Vのため24V給電時の過渡応答で破損する場合がある)

使い方

基本的にはM5Stack社のRS485 Unitと同じ使い方ですが、送信制御のみ異なり、以下の通りの仕様です。

なおJP5をショートすると伝送路の終端抵抗(120Ω)をONにできます。 またJP6とJP7をショートすると、伝送路のプルアップ・プルダウンを有効にできます(Aプルアップ、Bがプルダウン(5.1kΩ))。

データ送信

データ送信時には、送信している期間のみDriverが自動的に有効となり、伝送路Lineを駆動します。

スタートビット検出から1バイト分(10bit分=STARTビット+データ8ビット+STOPビット)の時間だけ自動的にDriverが有効となり、伝送路にデータを送信します(伝送路を駆動中はLEDが点灯)。 通信方式はN81(8ビット・STOPビット1ビット、パリティなし)で固定です。 初期設定では通信速度は9600bpsです。

データ送信時にDriverを有効とする時間は、データ転送速度(ボーレート)に依存するため、後述の方法で変更できます

データ送信中は、Receiverは無効となり、データを受信しません。 JP8を2-3側に切り替えると、伝送路レシーバReceiverを常時有効に設定できますが、この場合は、自分のDriverが送信したデータを常時受信することになります。

ピン配置

  • p1: RXD(マイコン側の受信。本ユニットはRS485受信データの出力)
  • p2: TXD(マイコン側の送信。本ユニットはRS485送信データの入力)
  • p3: +5V
  • p4: GND

伝送速度(ボーレート)の変更

Grove側からBREAK信号(一定時間以上、データ線を"L"に保持)することで、伝送速度変更モードに入り、LEDが点滅します。 この状態で、設定したい伝送速度(ボーレート)で以下のいずれか1バイトを送信することで、その波形から伝送速度を検出し、伝送速度の設定(Driverを有効とする時間)を変更します。 設定された伝送速度は電源を切っても保存されます。

  • 'U' (0x55) : 1バイト伝送モード。1バイト伝送終了後の伝送路ドライバがDisableに戻ります。(LEDが3回点滅)
  • '5' (0x35) : 連続伝送モード。送信開始語、一定時間データが送られなかった場合に伝送路ドライバがDisableに戻ります。(LEDが5回点滅)

なおBREAK信号は、PC用ターミナルソフトでも送出ができます(例えばTeraTermではAlt+B、MacのscreenコマンドではCtrl+A→Ctr+B)。 Groveケーブル-USBシリアル接続ケーブルなどを使って、PCと接続して設定変更や送受信テストができます。

電源給電の設定

デフォルトでは、RS485ドライバは5V給電(外部12/24Vから生成した5V)ですが、以下のように変更できます。 なおGrove端子側から5Vを供給することもできます。

  • JP9: 給電方法
    • 1-2間: 外部12/24Vから5Vを生成、本体とGroveへ供給(デフォルト)
    • 2-3間: 外部給電をそのまま本体・Groveへ接続(※この場合は外部からの給電電圧は5Vとしてください。5V以上の電圧を加えると破損する場合があります)

Author

Junichi Akita (@akita11) / akita@ifdl.jp

Parts

29
QtyValueFootprintReferences
31kResistor_SMD:R_0603_1608MetricR1, R2, R3
3Jumper_2_OpenJumper:SolderJumper-2_P1.3mm_Open_Pad1.0x1.5mmJP5, JP6, JP7
20.1uCapacitor_SMD:C_0603_1608MetricC1, C5
210kResistor_SMD:R_0603_1608MetricR10, R11
25.1kResistor_SMD:R_0603_1608MetricR5, R6
110uCapacitor_SMD:C_0603_1608MetricC3
1120Resistor_SMD:R_0603_1608MetricR4
112kResistor_SMD:R_0603_1608MetricR8
115uakita:L_CD43L1
11MResistor_SMD:R_0603_1608MetricR9
14.7uCapacitor_SMD:C_0603_1608MetricC4
162kResistor_SMD:R_0603_1608MetricR7
1CON_GROVEakita:CON_GROVE_HCN1
1Conn_01x04akita:CON_HT396R_4P_hole0.8sqJ1
1DDiode_SMD:D_SOD-323FD2
1Jumper_3_Bridged12Jumper:SolderJumper-3_P1.3mm_Bridged2Bar12_Pad1.0x1.5mmJP9
1Jumper_3_Bridged12Jumper:SolderJumper-3_P1.3mm_Bridged12_Pad1.0x1.5mmJP1
1LEDLED_SMD:LED_0603_1608MetricD3
1MCU_STC8G1Kxx-8PPackage_DFN_QFN:DFN-8-1EP_3x3mm_P0.5mm_EP1.65x2.38mmU4
1SM712_SOT23Package_TO_SOT_SMD:SOT-23D1
1TD1466AlibLCSC:SOT-23-6_L2.9-W1.7-P0.95-LS2.8-BLU2
1WB485ElibLCSC:SOIC-8_L5.0-W4.0-P1.27-LS6.0-BLU1

Similar boards

  • 2 layers52.3 × 10.5 mmStackLink, the printed circuit board in 3D

    StackLink

    gusmanb/logicanalyzer

    24 channel, 100Msps logic analyzer hardware and software

    29 parts5.1kGPL-3.0
  • 2 layers56 × 20 mmHallEffectXY Endstop, the printed circuit board in 3D

    HallEffectXY Endstop

    VoronDesign/Voron-Hardware

    Cool Hardware designed by the Voron Design group

    29 parts1.1kGPL-3.0
  • 2 layers50 × 23.2 mmAnalog, the printed circuit board in 3D

    Analog

    hoglet67/RGBtoHDMI

    Bare-metal Raspberry Pi project that provides pixel-perfect sampling of Retro Computer RGB/YUV video and conversion to HDMI

    29 parts1kGPL-3.0
  • 2 layers16.8 × 13.6 mmE Fidget Lite, the printed circuit board in 3D

    E Fidget Lite

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    29 parts915
  • 2 layers85 × 12.5 mmTERES PCB3-TOUCH BTN Rev.A, the printed circuit board in 3D

    TERES PCB3-TOUCH BTN Rev.A

    OLIMEX/DIY-LAPTOP

    Do It Yourself Open Source Hardware and Software Modular Hacker's Friendly Laptop

    29 parts578Apache-2.0
  • 2 layers33.7 × 97.8 mmHAN ESP TSS721, the printed circuit board in 3D

    HAN ESP TSS721

    UtilitechAS/amsreader-firmware

    ESP8266 and ESP32 compatible firmware to read, interpret and publish data to MQTT from smart electrical meters, both DLMS and DSMR is supported

    29 parts470

Questions

How big is the RS485M Unit PCB?

It measures 20.6 × 28 mm and has 2 copper layers, 1.6 mm thick.

What parts does the RS485M Unit use?

29 parts, built around the TD1466A and WB485E. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the RS485M Unit KiCad files?

From the akita11/RS485M_Unit repository on GitHub, at the commit this page was made from: the board is RS485M_Unit.kicad_pcb and its schematic RS485M_Unit.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the RS485M Unit design in my own project?

Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).