Ebyte ECAN-101 Manual de usuario

ECAN-101 Intelligent Protocol Converter

contents
1. OVERVIEW .................................................................................................................................................3
1.1 Introduction ............................................................................................................................................................ 4
1.2 Features and functions ........................................................................................................................................... 4
1.3 Application Scenario .............................................................................................................................................. 4
2. PRODUCT SPECIFICATIONS AND CHARACTERISTICS ........................................................4
2.1 Basic parameters ...................................................................................................................................................... 5
2.2 Factory default parameters ......................................................................................................................................5
3. QUICK START........................................................................................................................................... 6
Software preparation: You can download "Serial Port Assistant (X-COM)" in the "Related Downloads" of the
official product website and configure the host computer ............................................................................................6
3.1 Connecting devices ................................................................................................................................................... 6
3.1.1 RS485 connection method ..................................................................................................................................... 8
3.1.2 CAN connection method ........................................................................................................................................8
3.2 Device transparent debugging ................................................................................................................................. 9
3.3 Upper computer configuration .............................................................................................................................. 10
4. INTRODUCTION TO HARDWARE PARAMETER DESIGN .................................................. 15
4.1 Design Introduction ................................................................................................................................................16
4.2 Dimensional drawing .............................................................................................................................................17
5. MODE DESCRIPTION ..........................................................................................................................17
5.1 Data conversion method ......................................................................................................................................... 17
5.1.1 Transparent conversion mode .............................................................................................................................17
5.1.2 Transparent tape identification mode .................................................................................................................20

Chengdu Ebyte Electronic Technology Co., Ltd. ECAN-101 User Manual
Copyright ©2012–2023,Chengdu Ebyte Electronic Technology Co., Ltd.
5.1.3 Protocol mode ...................................................................................................................................................... 23
5.1.4 Modbus mode .......................................................................................................................................................25
5.1.5 Custom Protocol Mode ........................................................................................................................................ 28
6. AT INSTRUCTION .................................................................................................................................30
6.1 Enter AT command ................................................................................................................................................ 31
6.2 Exit AT command ...................................................................................................................................................31
6.3 Query version ......................................................................................................................................................... 31
6.4 Restore default parameters .................................................................................................................................... 32
6.5 Echo Settings ...........................................................................................................................................................32
6.6 Serial port parameters ........................................................................................................................................... 32
6.7 Setting/querying CAN information ........................................................................................................................33
6.8 Set/Query Module Conversion Method ................................................................................................................. 33
6.9 Set/query the filtering method of the CAN bus ..................................................................................................... 34
6.10 Set/query frame header and footer data .............................................................................................................. 34
6.11 Set/Query Identity Parameters ............................................................................................................................ 34
6.12 Set/Query Identity Parameters ............................................................................................................................ 35
6.13 Set/query transmission direction ..........................................................................................................................36
6.14 Set/Query Filter Parameters ................................................................................................................................ 36
6.15 Delete filter parameters that have already been set ............................................................................................ 36
REVISION HISTORY ................................................................................................................................ 38
ABOUT US ..................................................................................................................................................... 38

Chengdu Ebyte Electronic Technology Co., Ltd. ECAN-101 User Manual
Copyright ©2012–2023,Chengdu Ebyte Electronic Technology Co., Ltd.
1. Overview
1.1 Introduction
ECAN-101 is a small intelligent protocol conversion product independently developed by Chengdu Ebyte Electronic Technology Co., Ltd. The
product uses a wide voltage power supply of 8V ~ 28V and integrates 1 CAN-BUS interface and 1 RS485 interface, which can realize bidirectional
conversion between CAN and RS485 different protocol data. This product supports serial port AT command configuration and host computer
configuration of device parameters and working modes. It supports five data conversion modes: transparent conversion, transparent conversion with
logo, protocol conversion, Modbus RTU conversion, and customization (user). In MODBUS mode, It can play the role of a single CAN interface
replacing multiple 485 lines. At the same time, the ECAN-101 intelligent protocol converter has the characteristics of compact size and easy installation.
It has extremely high cost performance in CAN-BUS product development and data analysis applications. It is a reliable assistant for engineering
applications, project debugging and product development.
1.2 Features and functions
Bidirectional conversion between CAN and RS485 protocol data;
Support transparent conversion, transparent tape identification conversion, protocol conversion, Modbus RTU conversion, and custom
protocol conversion;
Support RS485 interface parameter configuration;
Support the configuration of AT command parameters;
Support the configuration of upper computer parameters;
Support AT commands, upper computer, and button recovery to factory settings;
Equipped with various status indicators such as power indicator light and status indicator light;
Multi master and multi slave function, replacing multi-channel 485 with a single CAN interface;
Equipped with a 120 ohm terminal resistor;
1.3 Application Scenario
Industrial control and other CAN-BUS networks
Networking of Automobile and Railway Equipment
Security and fire protection network
Underground remote communication
Public Address System
Parking lot equipment control
Smart home and smart building

Chengdu Ebyte Electronic Technology Co., Ltd. ECAN-101 User Manual
Copyright ©2012–2023,Chengdu Ebyte Electronic Technology Co., Ltd.
2. Product specifications and characteristics
2.1 Basic parameters
main parameter
specifications
supply voltage
DC 8V~28V, recommended for 12V or 24V power supply
Working current
9.5mA@12V (standby)
Interface type
Serial interface: RS485:2.5 spring terminal, crimping method
CAN interface: 2.5 spring terminals, crimping method
Interface characteristics
Serial interface: standard RS485 level interface, baud rate range: 600bps~460800bps
CAN interface: follows ISO 11898 standard, supports CAN2.0A/B, CAN baud rate range:
6Kbps~1000Kbps
CAN terminal resistance
Integrated, 2.5 spring terminals, crimping method, short circuiting R120+and R120- for use
Communication indicator light
On board power supply (PWR), error reporting (ERR), receiving (RX), sending (TX)
indicator lights
working temperature
-40 ℃~85 ℃, industrial grade
Working humidity
15% to 90% RH, without condensation
2.2 Factory default parameters
RS485
Serial Port Baud Rate
115200 bps
Parity check
none
Data bits
8
Stop bit
1
Flow control
close
CAN
CAN Baud Rate
100K bps
CAN ID
0x0000000
Default working mode
Transparent conversion mode
Receive all data types

Chengdu Ebyte Electronic Technology Co., Ltd. ECAN-101 User Manual
Copyright ©2012–2023,Chengdu Ebyte Electronic Technology Co., Ltd.
3. Quick start
Hardware preparation: USB to RS485 converter * 1, power supply * 1 (recommended DC 12V power supply), computer * 1, USB to CAN device * 1
ECAN-U01(recommended)
ECAN-101
computer
ECAN-U01
DC 12V switching power supply
USB to RS485
Several cables
Software preparation: You can download "Serial Port Assistant (X-COM)" in the "Related Downloads" of the official product website and configure
the host computer
3.1 Connecting devices
Here, using this device as ECAN-U01an example to demonstrate how to get started quickly.

Chengdu Ebyte Electronic Technology Co., Ltd. ECAN-101 User Manual
Copyright ©2012–2023,Chengdu Ebyte Electronic Technology Co., Ltd.
First, use a USB to RS485 converter to connect the device and the computer. The RS485_A and RS485_B of the converter correspond
to the RS485_A and RS485_B of the connected device; the USB end of the converter is directly connected to the computer;
Secondly, use ECAN-U01 to connect the device and the computer; the CAN end of ECAN-U01 is connected to the CAN end of the
device, CAN-L is connected to CAN-L, and CAN-H is connected to CAN-H. The USB end of ECAN-U01 is directly connected to the
computer.
Note: When using the USB to RS485 converter for the first time, you need to install software and drivers. Please consult the relevant
manufacturer for detailed usage..

Chengdu Ebyte Electronic Technology Co., Ltd. ECAN-101 User Manual
Copyright ©2012–2023,Chengdu Ebyte Electronic Technology Co., Ltd.
3.1.1 RS485 connection method
3.1.2 CAN connection method
The linear topology is the most commonly used in CAN bus wiring specifications. The two main lines branch out to each
node. Configure appropriate terminal resistors at both ends of the backbone to achieve impedance matching (typically
120 ohms within 2km).
According to the ISO 11898 specification, in order to enhance the reliability of CAN-bus communication, terminal matching resistors
(120 Ω) are usually added to the two endpoints of the CAN-bus network. The size of the terminal matching resistance is determined by
the characteristic impedance of the transmission cable. For example, if the characteristic impedance of a twisted pair is 120 Ω, the two
endpoints on the bus should also integrate a 120 Ω terminal resistance

Chengdu Ebyte Electronic Technology Co., Ltd. ECAN-101 User Manual
Copyright ©2012–2023,Chengdu Ebyte Electronic Technology Co., Ltd.
3.2 Device transparent debugging
After connecting the wires as described above, power on all equipment.
Open the serial port debugging assistant on the computer, select the serial port number used for the device's serial port (after entering
the software, select the serial port number connected to ECAN-101, and click "Connect Device" to establish the connection). If the
user does not know the serial port number, they can view it by entering the device manager of the PC And set the serial port
parameters as the device default parameters (baud rate 115200, 8 data bits, no parity bit, 1 stop bit);
Open ECAN-U01 to debug the upper computer and set the CAN baud rate to 100K (ECAN-101 defaults to the factory CAN baud rate);
After the above steps, the transparent conversion debugging can begin:
Firstly, convert the CAN frame to a serial frame:
The CAN debugger (ECAN-U01) sends data: frame ID: 0x0123, data domain: 99 88 77 66 55 44 33 22. The device CAN receives the
data sent by the CAN debugger (ECAN-U01) below, and the serial assistant displays the CAN data forwarded by the RS485 interface
(hexadecimal display): 99 88 77 66 55 44 33 22.

Chengdu Ebyte Electronic Technology Co., Ltd. ECAN-101 User Manual
Copyright ©2012–2023,Chengdu Ebyte Electronic Technology Co., Ltd.
Convert serial frames to CAN frames:
Send data in hexadecimal from the serial debugging assistant: 11 22 33 44 55 66 77 88. The data converted from the device CAN end can be displayed
in the CAN debugger (ECAN-U01) below. The data is: 11 22 33 44 55 66 77 88, frame ID: 0x0000, standard frame.
From the above debugging operation, it can be seen that the device has achieved transparent conversion between serial frames and CAN frames.
3.3 Upper computer configuration
The device can be configured with device parameters through AT commands or upper computer. Here is a brief introduction to the
usage of upper computer configuration.
1. To change the device parameters, open ECAN-101 to configure the upper computer, select the default serial port parameters (baud
rate 115200, 8 data bits, no parity bit, 1 stop bit), and click to open the serial port.
Tabla de contenidos
Otros manuales de Convertidor de medios de Ebyte





















