isoUSBRS422v1 is on EEVblog Mailbag and Dangerous Prototypes. See On The Web section at the bottom for details.
isoUSBRS422 is an open source isolated USB↔RS-422/RS-485 converter board. This page is dedicated to give some information about the project and the board itself. Also necessary production steps for makers are given. This page is for version 1 (v1) board.
|Up-to-date BOM (with price)||http://www.alperyazar.com/r/isoUSBRS422BOMv1|
Here is the summary of features in “catalog” style:
- Isolated 5000 Vrms (IC specification, not tested by me)
- 4 different modes RS-422, RS-485 4-wire, RS-485 2-wire, RS-485 2-wire w/echo suppression
- 5 cm x 5 cm, 2-layers PCB
- 4 x 2.7 mm diameter mounting holes Electrically floating
- Baud Rate: 300 bps - 3 Mbps Baud Rate = 3000000 / (n + x) where ‘n’ can be any integer between 2 and 16,384 and ‘x’ can be a sub-integer of the value 0, 0.125, 0.25, 0.375, 0.5, 0.625, 0.75, or 0.875. When n = 1, x = 0, i.e. baud rate divisors with values between 1 and 2 are not possible.
- Powered from USB port No external power supply is required. 5V from USB port is sufficient to operate the device.
- USB overcurrent protection Yes, by a polyfuse
- RS-422/RS-485 line protection Yes, it should meet IEC 61000-4-2, 61000-4-4 and IEC 61000-4-5 (IC specification, not tested by me)
- Supported OS: Windows, Linux, MacOSX
- Various termination options Different termination topologies can be selected by changing some passives on the component side using solder and iron! (Sorry, no dip switches)
- Screw terminals for RS-422/RS-485 side
- LED indicators: Power, Transmit, Receive
What is isoUSBRS422?
As I said, basically it is an USB <-> RS-422/RS-485 converter board. It can be used to communicate devices with RS-422/RS-485 interface by using a USB port of PC. Also, ground of USB port is isolated from ground of RS-422/RS-485 channel. It may help you to prevent ground loops in large systems. If you are not sure whether you need isolation or not, probably you do not need it. See Galvanic isolation for further explanation. I will explain technical details later.
isoUSBRs422 is my first open source hardware and also KiCad experience. I did some boards for my daily job (About) previously, but I never published them in public domain. So, I decided to do “something” to gain experience about open source publishing and low cost PCB production. Here there are some photos:
Why did I design an isolated USB <-> RS-422/RS-485 converter board?
As I explained previously, I wanted to design and publish “something”. I use USB <-> RS-422 converter devices for my daily job heavily. I checked PCB manufacturers and decided to try Dirtypcbs. Dimension limit for the cheapest option is 5 cm x 5 cm and I decided to stick to this limit. I thought that I can design an isolated USB <-> RS-422 converter board within in this size limit and use it for my daily job. So I did it.
Why did I chose the name isoUSBRS422? Does this board support RS-485 in addition to RS-422, right?
Yes, it supports both protocols. My initial goal was designing an isolated USB <-> RS-422 converter board. Because I use RS-422 mainly not RS-485. However after design I noticed that it can also be used as an RS-485 converter. Also a name like //isoUSBRS422-485// is quite long for a board name.
Why did I use KiCad?
Couple of years ago, I designed 3 different boards for my project design course in collage using DipTrace. DipTrace is great and I would continue to use it if I didn’t decide to publish my project and make it open source. DipTrace has //freeware// version for non-commercial users. However, this version has limitation on number of total pins on a single PCB. I think that software used for an open source project should be free (as in beer and freedom) as much as possible. Also, I had to create some parts in library for this project. If I use DipTrace, later I may hit the pin limit for my other projects and I have to move another software. For these reasons, I eliminate Eagle. I think that, it is easier to learn and use DipTrace than Eagle.
As free PCB design softwares, I tried gEDA and KiCad. I encountered some stability issues in gEDA then I selected to use KiCad. This is my first KiCad and experience and now I am happy with my decision. I recommend KiCad. It has quite good documentation and there are great videos on YouTube explaining almost all aspects of the software. Also there are active helping forums on the internet.
Why the heck did I select a USB chip from FTDI? Don’t I know that they did stupid things in the past? Am I supporting them?
Yes, I know and I am not an FTDI fanboy. For those who don’t know the subject:
I started to desing and selected to components prior to FTDI thing. I learned the issue in the beginning of the layout. I was very excited to finish my board and decided to finish it. So, that’s the story. Now, I can’t proudly say that “Hey, I am using an FTDI chip on my board”. I know that, many of hackers and makers encountered problems due to stupidity of this company. Since this is an open source project and aims makers especially, I am not very happy with this chip. But this is the case.
Do It Yourself (DIY)
AS IS, ABSOLUTELY NO WARRANTY. TAKE YOUR OWN RISK
You read the warning, don’t you?
Your read the features list and are fascinated about the project (LOL). You look forward to make your own isoUSBRS422 board and use it in your projects. Here is the good new: This is an open source project and you can make your own copy for non-commercial purposes!
This project is published under CC BY-NC-SA 4.0 license. It means that you can make your own copy for non-commercial purposes. Even, you can modify the project files, ex. PCB, if you refer to this original work properly and redistribute your version with the same license. See https://creativecommons.org/licenses/by-nc-sa/4.0/ for further details. Contact if you have any questions.
As I said in Part 2 - Project Files video (see below), I may have some extra PCBs or even components in my hand. I may able to send you if you REALLY want to make your own board, free of charge. Please contact if you are interested in.
I prepared 6 tutorial videos with total runtime ~1.5 hours (!) for makers. Below, videos are given in order. Also you can find a ordered playlist here: http://www.alperyazar.com/r/isoUSBRS422VIDEOTUTv1
Part 0 - Introduction
Part 1 - Features
Part 2 - Project Files
Part 3 - Board Production
Part 4 - Driver Installation, Programming, Functional Verification
Part 5 - Operation Modes
Part 6 - Known Issues
On The Web
isoUSBRS422 project is also shown up on some websites.
isoUSBRS422v1 board is shown up in EEVblog #833 - Mailbag episode between 13:42 - 18:26.
Related Blog Posts
isoUSBRS422 project is featured on Dangerous Prototypes
isoUSBRS422 project is featured on Dangerous Prototypes.
isoUSBRS422 is on EEVblog “Mailbag” (+my comments)
isoUSBRS422 SN:2 board is on EEVblog #833 - Mailbag video.
First version (v1) of isoUSBRS422 Project Is Completed Completely.
I completed and published isoUSBRS422 project. Yay!
Close Look At “Dirty Boards” (isoUSBRS422 Project)
Let’s look at the details of isoUSBRS422’s black PCBs ordered from DirtyPCBs
My “Dirty” isoUSBRS422 Boards Just Arrived
Good news for my isoUSBRS422 project. PCBs ordered from DirtyPCBs just arrived.