Skip to the content
4 layers68.6 × 22.9 mmRS-485, the printed circuit board in 3D

A high-speed (12 Mbaud) USB-to-RS485 adapter with 15 W power supply.

Size
68.6 × 22.9 mm
Copper layers
4
Thickness
1.6 mm
Parts
14
Nets
50
Pads
191
Tracks, vias
0, 0
Pours
1
Routed
Not yet
KiCad
KiCad 8.0 (file 20240108)
Created
23 Jun 2024
Updated
25 Jun 2024

Overview

RS-485 is an open-source printed circuit board by JetForMe, from the JetForMe/USB-to-RS485 repository on GitHub, published under the MIT licence. It is a 4-layer board of 68.6 × 22.9 mm with 14 parts on 50 nets.

It is built around the LFXTAL055999 and USB4105-GF-A. Its parts include 5 resistors, 4 connectors, 2 capacitors, 2 ICs and 1 crystal. It belongs with the interfaces and adapters boards of this library.

Main components

2

README

README.md

High Speed USB to EIA-485 Adapter

I got fed up trying to find a USB-to-EIA485 adapter that could do 4 Mbps or better. Most of the available FTDI and CP2102N ICs top out at 3 Mbps, and most of the available EIA-485 driver ICs are slew rate-limited to well below 4 Mbps.

So I’ve created this adapter. Some of its features include:

  • USB-C
  • 12 Mbps maximum speed
  • 5 V, 3 A power output
  • 3.3 V, 600 mA (including the adapter itself) power output
  • Configurable USB-C PD output, up to 20 V @ 100 W (hopefully)
  • FTDI-compatible 3.3 V 6-pin UART header (5V tolerant)
  • 3.3 V or 5 V selectable, ±70V fault-protected EIA-485 driver (PROFIBUS compatible)
  • Full- or half-duplex operation
  • Optional bus termination resistors
  • EIA-485A and EIA-422B compatible
  • JTAG programmer/debugger
  • Interface to many other serial busses (I2C, SPI, etc.)
  • All FT232HP GPIO pins brought out on headers

Schematic

To Do

So much still to do!

  • Add 5 V, 3 A buck regulator
  • Add 3.3V linear regulator
  • Add EEPROM
  • Decoupling caps!
  • Connect RESET and PWRSAV
  • Remove voltage selector from FTDI header? We can't do 5V IO on it, although I think it’s 5V-tolerant.
  • PCB layout
  • Change schematic PDF generation to happen on push, if possible.

macOS Notes

To set non-standard UART speeds on macOS, you must use ioctl() after calling tcsetattr():

In C/C++:

cpp
#include <sys/ioctl.h>
#include <termios.h>

#define IOSSIOSPEED _IOW('T', 2, speed_t)		//	Defined in <IOKit/serial/ioss.h>
speed_t speed = 4000000;
if (ioctl(fd, IOSSIOSPEED, &speed) != 0)
{
    perror(__FILE__ ":" STRINGIZE(__LINE__) ": ioctl set speed");
}

From IOSerialTestLib.c:

c
int _testIOSSIOSPEEDIoctl(int fd, speed_t speed)
{
    struct termios options;
    
    // The IOSSIOSPEED ioctl can be used to set arbitrary baud rates other than
    // those specified by POSIX. The driver for the underlying serial hardware
    // ultimately determines which baud rates can be used. This ioctl sets both
    // the input and output speed.
    
    if (ioctl(fd, IOSSIOSPEED, &speed) == -1) {
        printf("[WARN] ioctl(..., IOSSIOSPEED, %lu).\n", speed);
        goto fail;
    }
    
    // Check that speed is properly modified
    if (tcgetattr(fd, &options) == -1) {
        printf("[WARN] _modifyAttributes: tcgetattr failed\n");
        goto fail;
    }
    
    if (cfgetispeed(&options) != speed ||
        cfgetospeed(&options) != speed) {
        printf("[WARN] _modifyAttributes: cfsetspeed failed, %lu, %lu.\n",
               speed,

Swift version to come! (_IOW defined in <sys/ioccom.h>)

Parts

14
QtyValueFootprintReferences
2120ΩResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR4, R5
218pFCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC1, C2
2200ΩResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR2, R3
2Conn_01x16_PinConnector_PinHeader_2.54mm:PinHeader_1x16_P2.54mm_VerticalJ6, J7
112kΩ 1%Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR1
1FT232HPPackage_DFN_QFN:QFN-56-1EP_8x8mm_P0.5mm_EP5.9x5.9mm_ThermalViasU1
1LFXTAL055999Oscillator:Oscillator_SMD_TXC_7C-4Pin_5.0x3.2mm_HandSolderingY1
1Screw_Terminal_01x06TerminalBlock_TE-Connectivity:TerminalBlock_TE_282834-6_1x06_P2.54mm_HorizontalJ2
1USB_C_Plug_USB2.0Connector_USB:USB_C_Receptacle_GCT_USB4105-xx-A_16P_TopMnt_HorizontalP1
1~Package_SO:SOIC-14_3.9x8.7mm_P1.27mmU2

Similar boards

  • 4 layers16.9 × 119.4 mmOrbit, the printed circuit board in 3D

    Orbit

    earthtojake/text-to-cad

    Design physical products with AI

    182 parts26kMIT
  • 2 layers21 × 31.5 mmK1-aioc, the printed circuit board in 3D

    K1-aioc

    skuep/AIOC

    Ham Radio All-in-one-Cable

    50 parts1.4kMIT
  • 2 layers60 × 111.3 mmSilkscreen pcb, the printed circuit board in 3D

    Silkscreen pcb

    iandchasse/silkscreen-pcb

    Silkscreen: open-hardware ESP32-S3 e-paper reader mainboard (KiCad 9). Formerly the de-link hub.

    189 parts589CERN-OHL-S-2.0
  • 4 layers99.6 × 76.2 mmE TKT, the printed circuit board in 3D

    E TKT

    andreisperid/E-TKT

    open source embossed label maker

    110 parts481MIT
  • 2 layers45 × 45 mmAirCube, the printed circuit board in 3D

    AirCube

    StuckAtPrototype/AirCube

    Works standalone out of the box. Pairs with Home Assistant in minutes. Other platforms are supported through community-contributed extensions.

    61 parts379Apache-2.0
  • 4 layers22.9 × 61 mmPico ice, the printed circuit board in 3D

    Pico ice

    tinyvision-ai-inc/pico-ice

    Raspberry Pi PICO board + Lattice iCE40 FPGA's

    109 parts203MIT
  • 4 layers55 × 14.7 mmMinCab, the printed circuit board in 3D

    MinCab

    merocle/mincab

    small carrier board for Raspberry Pi CM4

    41 parts180CC-BY-SA-4.0
  • 4 layers17.8 × 38.1 mmReDIP SID, the printed circuit board in 3D

    ReDIP SID

    daglem/reDIP-SID

    MOS 6581 / 8580 SID FPGA emulation platform

    103 parts121

Questions

How big is the RS-485 PCB?

It measures 68.6 × 22.9 mm and has 4 copper layers, 1.6 mm thick.

What parts does the RS-485 use?

14 parts, built around the LFXTAL055999 and USB4105-GF-A. 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 RS-485 KiCad files?

From the JetForMe/USB-to-RS485 repository on GitHub, at the commit this page was made from: the board is hardware/RS-485/RS-485.kicad_pcb and its schematic hardware/RS-485/RS-485.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the RS-485 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).