Organize and Share your Electronics the way you want. Sign-Up for a free account now. It takes only 30 seconds!

USB MultiComms Part One – USB Board

USB MultiComms Part One – USB Board

Designing a USB communications box.

Several of the projects we have been working on recently needed some form of serial communication with our PC, either through RS232, UART, I2C or SPI and at the moment we use a handful of different USB to serial adapters designed for each different protocol.  One problem we have run into before is ground loops between the PC and the devices under test can occasionally cause problems.  What we needed was a single communications box that works with all of the normal communications protocols and is isolated from the PC.  After looking at some of the isolated USB to RS232 converters that are on the market we decided that we would build our own.

We came up with a few requirements for the new communications box. It had to support multiple serial protocols, the ports need to be isolated from the PC and it needs to be modular so we can build several boxes with different types of serial port on the front.  We decided that the best approach would be to build a main board with the USB to serial IC, USB port and power supply and then use separate daughter boards for each of the different serial protocols that we want to support.  That way we could be one box with 4 RS232 ports or a box with 2 RS232 and 2 UART ports or one with an RS232, a UART, RS485 and a JTAG port, etc.

PCB Top PCB Base PCB with RS232 prototype board

The main board is based around the FT4232H from FTDI.  This chip supports up to 4 serial ports with two configurable as JTAG, SPI, I2C or 8 general IO pins.  The other two ports can be used for RS232, RS485, RS422 and UART.  We based the circuit on the reference design from FTDI with power provided either from the PCs USB port or from an external supply through a 7805 regulator.  This means that the current limit will be around 1A for the main board and daughter boards combined.

A suitable enclosure was found that uses extruded aluminium for the sides with plastic end plates so the connectors can be isolated from each other.  We designed the main board so that it sits at the back of the case with the daughter boards plugged in vertically so you can have four daughter boards stacked 20mm apart across the enclosure.

So far we have designed the main board and RS232 one daughter board.  The main board works perfectly and appears under Windows as four com ports.

When the PCB for the RS232 daughter board arrived we found that the connectors were backwards and the isolated switch-mode supply we used was a bit noisy so we are redesigning the daughter board with the connectors on the correct side and adding additional filtering on the power lines.  Once the daughter boards are ready we will update the blog with our progress.

Rear view of the case Front view of the case

This is part one of the USB MultiComms project, you can view part two, three and four from the links below:

USB MultiComms Part Two – RS232 Board

USB MultiComms Part Three – UART Board

USB MultiComms Part Four – Case







 

More Articles to Read

Design for a Wideband, Differential Transimpedance DAC Output
Design for a Wideband, Differential Transimpedance DAC Output
Blinking Christmas Lights
Blinking Christmas Lights
Wrist thrusters let you fly through the water effortlessly
Wrist thrusters let you fly through the water effortlessly
Bertan/Spellman 225-20R HV power supply teardown
Bertan/Spellman 225-20R HV power supply teardown
Blinking Christmas Lights
Blinking Christmas Lights
Adjusting clock with alarm, hygrometer & thermometer on 1.8″ ST7735 display
Adjusting clock with alarm, hygrometer & thermometer on 1.8″ ST7735 display
Adding an “extra sense” with rangefinders
Adding an “extra sense” with rangefinders
This wireless game controller looks like a rug
This wireless game controller looks like a rug
How to run your ESP8266 for years on a battery
How to run your ESP8266 for years on a battery
Calibration of a 3-Phase Energy Meter Board on the ADE7754
Calibration of a 3-Phase Energy Meter Board on the ADE7754
Making beats on a tiny Arduino DJ controller
Making beats on a tiny Arduino DJ controller
Qinsi-QS5100 Sn63Pb37 solder profile
Qinsi-QS5100 Sn63Pb37 solder profile
Water Detection System
Water Detection System
Professional Hi-Fi 15W Tube Amplifier circuit
Professional Hi-Fi 15W Tube Amplifier circuit
This Arduino machine will judge how sick your ollies are
This Arduino machine will judge how sick your ollies are
Turn an old payphone into a boombox for ’90s hits
Turn an old payphone into a boombox for ’90s hits
Big F’n 3D printer build
Big F’n 3D printer build
Temperature alarm for boiling milk
Temperature alarm for boiling milk
QuadBot is a 3D-printable walking robot for everyone
QuadBot is a 3D-printable walking robot for everyone
MicroConverter I2C Compatible Interface
MicroConverter I2C Compatible Interface

Top


Shares