Thanks to visit codestin.com
Credit goes to github.com

Skip to content

0x007E/u3a_rs422

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Version: 1.0 Release License CC By-NC-SA Build

U3A_rs422 - RS422 - Adapter for U3A

Ask DeepWiki

The U3A_rs422 project is based on a (THVD1452) that ist used to change the RX/TX signals to the required differential signal level of TIA/TIA-485-A standard. It can simply be adapted to the U3A-Module.

To use it with a DSUB connector it is necessary to create a connector cable that can be plugged into the IDC connector.

Experience Level
Soldering ?%
Mechanical ?%

Downloads

Type File Description
Schematic pdf / cadlab Schematic files
Board pdf / cadlab Board file
Drill pdf Drill file
PCB zip / tar KiCAD/Gerber/BoM/Drill files
Mechanical zip / tar FreeCAD/Housing and PCB (STEP) files

Hardware

There are two parts of the hardware. The pcb and the housing of the U3A_rs422. The pcb is created with KiCAD and the housing with FreeCAD. All files are built with github actions so that they are ready for a production environment. The housing is printed with a 3D-printer (Dremel 3D40).

PCB

The circuit board is populated on both sides (Top, Bottom). The best way for soldering the SMD components is within a vapor phase soldering system and for the THT components with a standard soldering system.

Top Layer

Top Layer

Bottom Layer

Bottom Layer

Mechanical

The housing has a tolerance of 0.2mm on each side of the case. So the pcb should fit perfectly in the housing. The tolerance can be modified with FreeCAD in the Parameter Spreadsheet.

Assembled

Assembled

Exploded

Exploded

Connection/Setup

The U3A_rs422 is powerd over the U3A board with 5V. The voltage of the pins are driven by a THVD1452 for data transmission that meets the TIA/TIA-485-A standard.

Simple loopback setup for testing purpose

#
#            +------------------------------------+           +-----------------------------------+      +---------------------+
#            |J1                      T         J2|           |J2     U                       +---+---+  |                     |
#         +--+--+        U3A_rs422    E        +--+--+     +--+--+    S                U      |  USB  |--+ +-----------------+ |
#     +---+ RTS-| (1) D               R        | VCC +-----+ VCC |    B      UPDI      3      +---+---+  | | TeraTerm        | |
#   L | +-+ RTS+| (2) B               M        | GND +-----+ GND |    /    +---+---+   A          |      | | ~~~~~~~~        | |
#   O +-|-+ CTS-| (3) 9               I        |  X  +-----| PDI |    U    |   |   |              |      | | ~~~~~           | |
#   O   +-+ CTS+| (4)                 N        | CTS +-----+ CTS |    A    |   |   |              |      | | ~~~~~~~~~~~~    | |
#   P     + GND | (5)                 A        | RTS +-----+ RTS |    R    | X | X |              |      | |                 | |
#   B   +-+ RXD+| (6) ~               T        | TXD +-----+ TXD |    T    +---+---+     +-+      |      | +-----------------+ |
#   A +-|-+ RXD-| (7) P   T           I        | RXD +-----+ RXD |    /                 / /       |      |                     |
#   C | +-+ TXD+| (8) W   X           O        +--+--+     +--+--+    U               +-+-+-+-+-+-+      | Computer            |
#   K +---+ TXD-| (9) R   D           N           |           |       P               | 5V  | 3V3 |      |                     |
#         +--+--+     E   E           -> 120Ω     |           |       D               +-----+-----+      +---------------------+
#            |        N   N                       |           |       I         J4                |
#            |  +---+---+---+---+---+---+---+---+ |           | +---+---+---+---+---+---+---+---+ |
#            |  | V | C | C | D | D | D | R | G | |           | | V | C | C | D | D | D | R | G | |
#            +--+ C | B | B | C | T | C | I | N +-+           +-+ C | B | B | C | T | C | I | N +-+
#               | C | 3 | 2 | D | R | R |   | D |               | C | 3 | 2 | D | R | R |   | D |
#               +---+-+-+-+-+---+---+---+---+---+               +---+-+-+-+-+---+---+---+---+---+
#                     |   |                                           |   |
#                     |   +-------------------------------------------|---+
#                     +-----------------------------------------------+

Additional Information

Type Link Description
THVD1452 pdf UART / RS422 level converter
KiCAD web KiCAD project page
FreeCAD web FreeCAD project page

R. GAECHTER