Browse over 10,000 Electronics Projects using the Page Numbering provided at the bottom of each Page.

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

Single-Sided USB Charger
Single-Sided USB Charger
A FPGA controlled RGB LED MATRIX for Incredible Effects – the Hardware
A FPGA controlled RGB LED MATRIX for Incredible Effects – the Hardware
Using Nanotimers to Reduce IoT System Power Consumption by an Order of Magnitude
Using Nanotimers to Reduce IoT System Power Consumption by an Order of Magnitude
Replace a microwave’s beeping with the Windows XP startup sound
Replace a microwave’s beeping with the Windows XP startup sound
A DIY Laser Scanning Microscope
A DIY Laser Scanning Microscope
Reverse-engineering the surprisingly advanced ALU of the 8008 microprocessor
Reverse-engineering the surprisingly advanced ALU of the 8008 microprocessor
ESP8266 LED lighting: QuinLED v2.6 PCB
ESP8266 LED lighting: QuinLED v2.6 PCB
Switching LVDS Graphics in a Laptop Computer
Switching LVDS Graphics in a Laptop Computer
Teleknitting: TV-based string art
Teleknitting: TV-based string art
DIY Bubble Machine
DIY Bubble Machine
Start your day with Nerf target practice!
Start your day with Nerf target practice!
Teardown of a Peaktech 6225A
Teardown of a Peaktech 6225A

Top




Shares