USB to RS485 Adapter

Designing an adapter for USB to RS485.

Table of Contents

Please support the blog by shopping at abelectronics

Please support the blog and our projects by buying your Raspberry Pi development boards from our online store at AB Electronics UK.

Date 15 June 2014
Views 7,016
Time to read 2 minutes read

USB Adapter

Our ongoing solar data logger project is making steady progress. A crucial part of this project involves using Atmel-based slave boards to measure various sensors positioned throughout the house. These boards are interconnected via a full-duplex RS485 network, ensuring reliable communication.

Initial Setup and Debugging

We initially designed a full-duplex RS485 board for the Raspberry Pi to facilitate communication with these sensor boards. However, for easier debugging and versatility, we decided to use a USB device on a PC or Mac.

Need for a Full-Duplex Adapter

While searching for a suitable full-duplex adapter, we found that available options were limited to half-duplex devices. Additionally, our requirement to supply 12 volts through RJ45 connectors on the slave boards led us to design our own USB to RS485 full-duplex adapter using an FTDI USB converter chip.

Click to view large image of Soldering the components
Click to view large image of SMD parts fitted
Click to view large image of PCB Base
Click to view large image of Completed Board
Click to view large image of RJ45 and Header Pins
Click to view large image of Testing with Atmel interface
Click to view large image of Bags of Components

 

Design Features

  • FT230X USB Converter Chip: Our adapter utilises this chip from FTDI, paired with an RS485 converter chip. The output is available via header pins and an RJ45 socket.
  • Power Supply Flexibility: The board can draw power from the USB port or an external supply, selectable via a power jumper.
  • Onboard Terminator Resistor: A 120R terminator resistor with a selection jumper is included.
  • Activity LEDs: These indicators show serial communication activity, aiding in debugging.

Assembly and Testing

After soldering the necessary SMD components and fitting the RJ45 and header pins, we tested the adapter with the Atmel interface, to confirm everything was functioning correctly.

Downloads

The PCB files and schematics for this USB to RS485 adapter are available for download on GitHub. This allows for customisation and further development by other users.

2 Comments

  • User Image

    Sebastian

    05 April 2023 at 10:47 am

    Hi Brian

    nice rs485 pcb :)
    i tried to import this to kicad but did not get any holes for the components, also no schematics, do you have more files for this somewhere else?


    kind regards
    Sebastian

    • User Image

      Brian

      05 April 2023 at 10:48 am

      Hi Sebastian

      You can open the files in Diptrace which is free from

      https://diptrace.com/download/download-diptrace/

      You should then be able to export them to different formats for kicad.


Leave a comment

Your email address will not be published.

Please enter the text from the image below to prove you are a human
Verify you are human

Share

Share to Bluesky

Share to X / Twitter

Share to Facebook

Share to linkedin

Share to Pinterest

Copy Link