UART TX/RX Swapping made simple

When designing boards, one of the things I spend a lot of time checking is if my UART transmit (TX) and receive (RX) lines are the right way round, or switched over. When the design gets to the printed circuit board (PCB) level, it can be nearly impossible to rework. Development of firmware requires it to work; then you have to remember to fix it before re-spinning a new design to correct the issue.

This is where the UART Poka/Yoke comes in

Poka-yoke is a Japanese lean manufacturing technique for “mistake-proofing” processes to aim to achieve zero defects, which would be handy when dealing with TX/RX lines.

Poka-Yoke UART TX/RX Swapping made easy
Poka-Yoke UART TX/RX Swapping made easy

I came accross the above image via this Adafruit link, and given how easy it is to impliment I desided to create the schematic and footprint for KiCad so that I can use it in my own UART, RS232, RS485, CAN and other two wire busses where getting them swapped over causes failures.

Poka/Yoke KiCad parts

I have designed a KiCad library and footprints that contain the symbol, and two footprints, one of which uses two 0805 zero-ohm resistors, and one that is made up of two solder jumpers.

Poka Yoke UART KiCad Schematic Symbol
Poka Yoke UART KiCad Schematic Symbol
Poka Yoke TX/RX swapping KiCad footprints
Poka Yoke TX/RX swapping KiCad footprints

They are available to download in this zip file – Poka Yoke UART KiCAD.zip

Leave a comment

Your email address will not be published. Required fields are marked *

The maximum upload file size: 20 MB. You can upload: image, audio, video, document, spreadsheet, interactive, text, archive, code, other. Links to YouTube, Facebook, Twitter and other services inserted in the comment text will be automatically embedded. Drop files here