Difference between revisions of "TEL-SERX4 technical documentation"

From fit-PC wiki
Jump to: navigation, search
(Configuration)   (change visibility)
(Description)   (change visibility)
 
(17 intermediate revisions by 2 users not shown)
Line 3: Line 3:
  
 
== Description ==  
 
== Description ==  
TEL-SERDB9 Provides USB to Multiprotocol(RS-232, RS-485-Half Duplex, RS485-Full Duplex) serial connection (up to 4 Ports per TEL).
+
TEL-SERX4 Provides USB to Multiprotocol(RS-232, RS-485-Half Duplex, RS485-Full Duplex) serial connection (up to 4 Ports per TEL).
  
 
* Simple USB Connection protocol  
 
* Simple USB Connection protocol  
Line 13: Line 13:
  
 
                          
 
                          
  USB <--> USB HUB <---> RS-232 / RS-485 - Native DB-9 Port
+
  USB <--> USB HUB <---> RS-232 / RS-485 (Port A) - Native DB-9 Port
                         RS-232 / RS-485  
+
                         RS-232 / RS-485 (Port B)
                         RS-232 / RS-485
+
                         RS-232 / RS-485 (Port C)
                         RS-232 / RS-485
+
                         RS-232 / RS-485 (Port D)
  
 
  RS-485 - Globally enable Termination resistor. - User Switchable
 
  RS-485 - Globally enable Termination resistor. - User Switchable
Line 22: Line 22:
  
  
TEL-SERDB9 is utilizing a USB2 interface
+
TEL-SERX4 is utilizing a USB2 interface
Multiple TEL-SERDB9 cards can be installed in a system
+
Multiple TEL-SERX4 cards can be installed in a system
  
 
== Features ==
 
== Features ==
Line 48: Line 48:
 
   SW6 - ON->Enables Termination Resistor RS-485-Full Duplex - Port A-D  
 
   SW6 - ON->Enables Termination Resistor RS-485-Full Duplex - Port A-D  
  
** I2C GPIO expander that is located on I2C address 0X27.
+
** I2C GPIO expander(PCA9555) that is located on I2C address 0X27.
 +
  I/O,0.0 -- Port A: High: RS-232, Low: RS-485
 +
  I/O,0.1 -- Port B: High: RS-232, Low: RS-485
 +
  I/O,0.2 -- Port C: High: RS-232, Low: RS-485
 +
  I/O,0.3 -- Port D: High: RS-232, Low: RS-485
 +
  I/O,0.4 -- NC
 +
  I/O,0.5 -- NC
 +
  I/O,0.6 -- NC
 +
  I/O,0.7 -- Global: High RS-485 Half Duplex, Low: RS-485 Full Duplex
 +
 
 +
  I/O,1.0 -- Port A: High RS-485 Termination enabled on Half Duplex Lines
 +
  I/O,1.1 -- Port B: High RS-485 Termination enabled on Half Duplex Lines
 +
  I/O,1.2 -- Port C: High RS-485 Termination enabled on Half Duplex Lines
 +
  I/O,1.3 -- Port D: High RS-485 Termination enabled on Half Duplex Lines
 +
  I/O,1.4 -- Port A: High RS-485 Termination enabled on Full-Duplex Lines
 +
  I/O,1.5 -- Port B: High RS-485 Termination enabled on Full-Duplex Lines
 +
  I/O,1.6 -- Port C: High RS-485 Termination enabled on Full-Duplex Lines
 +
  I/O,1.7 -- Port D: High RS-485 Termination enabled on Full-Duplex Lines
  
 
=== Open source hardware and software ===
 
=== Open source hardware and software ===
 
* Complete hardware design files are available
 
* Complete hardware design files are available
 
* Complete firmware is available
 
* Complete firmware is available
* Designed for Hacking - Easily scriptable [https://python-can.readthedocs.io/en/master/ Python SW library] for easy and cross-platform communication to the device
 
  
 
== Connection requirements ==
 
== Connection requirements ==
 +
=== Pinout ===
 +
{|
 +
|-
 +
| [[File:TEL-SERDB9_DB9_pinout_diagram.png|thumb|none|600px | DB-9 Pinout]]
 +
| [[File:TEL-SERDB9_DB9_Switch_board location.png|thumb|none|273px | Switch Location Diagram]]
 +
|}
 +
 
=== Host interface ===
 
=== Host interface ===
 
USB2
 
USB2
Line 64: Line 87:
  
 
== Version information ==
 
== Version information ==
Latest HW Version Rev 1.0
+
Latest HW Version Rev 1.1
  
 
==Block diagram==
 
==Block diagram==
 
[[File:TEL-CANBUS_Rev.1.0_block_Diagram.jpg|200px]]
 
  
 
== Mechanical model ==
 
== Mechanical model ==
Line 78: Line 99:
  
 
== Software source files ==
 
== Software source files ==
 
 
  ToDo add files
 
  ToDo add files
* [https://github.com/Compulab-Tensor-PC/TEL-CANBUS Firmware source files on GitHub]
+
 
 +
Example script for controlling I2C ??

Latest revision as of 15:00, 15 November 2020

Compulab part number

FT.H-SER4

Description

TEL-SERX4 Provides USB to Multiprotocol(RS-232, RS-485-Half Duplex, RS485-Full Duplex) serial connection (up to 4 Ports per TEL).

  • Simple USB Connection protocol
  • Supports Multiprotocol implementation on one DB9 Connector.
  • Individually enabled between RS-232 or RS485 ports.
  • Build-in Termination resistor.
  • Protocol switching using Onboard switches or using I2C expander


USB <--> USB HUB <---> RS-232 / RS-485 (Port A) - Native DB-9 Port
                       RS-232 / RS-485 (Port B) 
                       RS-232 / RS-485 (Port C) 
                       RS-232 / RS-485 (Port D)
RS-485 - Globally enable Termination resistor. - User Switchable
       - Globally Switched Between Half Duplex and Full-Duplex mode. - User Switchable


TEL-SERX4 is utilizing a USB2 interface Multiple TEL-SERX4 cards can be installed in a system

Features

  • Serial through DB-9 Connector
  • Implemented using FTDI FT4232H

Software

  • Windows and Linux support
    • Driverless operation in Windows & Linux
    • USB native device in Linux

Electrical and environmental

  • Ambient Operation from –40°C to 85°C.

Configuration

  • Two Configuration method of the device
    • Onboard switches
  SW1 - PORTA: ON->RS-232 OFF->RS-485 - Native on board Port
  SW2 - PORTB: ON->RS-232 OFF->RS-485
  SW3 - PORTC: ON->RS-232 OFF->RS-485
  SW4 - PORTD: ON->RS-232 OFF->RS-485
  
  SW7 - ON->RS-485 Half Duplex OFF->RS-485 Full-Duplex      - Port A-D
  SW5 - ON->Enables Termination resistor RS-485-Half Duplex - Port A-D
  SW6 - ON->Enables Termination Resistor RS-485-Full Duplex - Port A-D 
    • I2C GPIO expander(PCA9555) that is located on I2C address 0X27.
  I/O,0.0 -- Port A: High: RS-232, Low: RS-485
  I/O,0.1 -- Port B: High: RS-232, Low: RS-485
  I/O,0.2 -- Port C: High: RS-232, Low: RS-485
  I/O,0.3 -- Port D: High: RS-232, Low: RS-485
  I/O,0.4 -- NC
  I/O,0.5 -- NC
  I/O,0.6 -- NC
  I/O,0.7 -- Global: High RS-485 Half Duplex, Low: RS-485 Full Duplex
  I/O,1.0 -- Port A: High RS-485 Termination enabled on Half Duplex Lines
  I/O,1.1 -- Port B: High RS-485 Termination enabled on Half Duplex Lines 
  I/O,1.2 -- Port C: High RS-485 Termination enabled on Half Duplex Lines 
  I/O,1.3 -- Port D: High RS-485 Termination enabled on Half Duplex Lines 
  I/O,1.4 -- Port A: High RS-485 Termination enabled on Full-Duplex Lines 
  I/O,1.5 -- Port B: High RS-485 Termination enabled on Full-Duplex Lines 
  I/O,1.6 -- Port C: High RS-485 Termination enabled on Full-Duplex Lines 
  I/O,1.7 -- Port D: High RS-485 Termination enabled on Full-Duplex Lines

Open source hardware and software

  • Complete hardware design files are available
  • Complete firmware is available

Connection requirements

Pinout

DB-9 Pinout
Switch Location Diagram

Host interface

USB2

Physical connection

or

Version information

Latest HW Version Rev 1.1

Block diagram

Mechanical model

ToDo: Add 3D model

Hardware design files

ToDo: Add Gerbers 
ToDo: Add Schematics

Software source files

ToDo add files

Example script for controlling I2C ??