跳至正文
首页 » Blog » Yadea 1-wire communication protocol V1.0

Yadea 1-wire communication protocol V1.0

Introduction

The meter used in E rickshaw takes Yadea 1-wire protocol. And it can show the speed of the motor and also have other functions.

1. Uses the international SIF communication protocol, with a universal and convenient interface.

2. In master-slave mode, single-phase single-wire transmission is used, requiring only one transmission line; the electric vehicle controller acts as the transmitter, and the multifunction meter acts as the receiver.

3. The transmission baud rate has a wide adaptive range, and the master can send data during idle time.

4. One frame of data is transmitted at a time, consisting of 97 bits in total: one start bit and 12 × 8 data bits. After transmission, the line is required to remain in a low-level idle state

5. The data conforms to the TTL specification.

6、Signal Format

Signal   Syn   DATA0  DATA1  DATA2-DATA10   DATA11

  0x08   0x61     function data     checksum

7、Data details:

DATA2

D7~D4 reserve

D3 Single-stand power-off detection(1.light on,0.light off)

D2 reserve

D1 Startup Protection(1.light on,0.light off)

D0 reserve

DATA3

D7 reserve

D6 Hall failure (Motor)

D5 Throttle failure

D4 Controller failure

D3 low-voltage protection

D2 Cruise

D1 Power Assisted

D0 Motor phase failure (motor failure)

DATA4

D7 The highest byte of the speed mode, (when combined with the three-speed data, it can reach up to the maximum 7-speed)

D6 Motor running(1.RUN,0.STOP)PWM Is there any output?

D5 brake

D4 Controller protection (other possible protections)

D3 Skating energy recovery

D2 Anti-speeding protection

D1-D0 Speed model

1 1 High speed

1 0 Medium speed(2-speed High)

0 1 Low speed (2-speed low)

0 0 No 3-speed controller

DATA5

D7 70% Current indicator

D6 Enable One-Click Access

D5 Enable the EKK backup power supply

D4 Overcurrent protection

D3 Overload protection

D2 Back off

D1 Electronic brakes

D0 Speed limit

DATA6

D7~D0 Operating current (unit: A) (Negative current: 1 at the higher position, positive current: 0 at the higher position)

DATA7

D7~D0 Speed – 2-byte format, high byte, the number of three Hall changes within 0.5 seconds

DATA8

D7~D0 Speed – 2-byte format, low byte, the number of three Hall changes within 0.5 seconds

DATA9

D7~D0

Voltage/charge level, 0-100% charge ratio value, compatible with 36V and 48V

Voltage/charge level, 0-100% charge ratio value. 36V and 48V compatible with 5 lamp indication as 90, 70, 50, 30, 20 (in percentage, it is recommended that the corresponding voltage be approximately 47V, 46V, 44.5V, 43V, 41V.)

The four lights indicate 90, 70, 50, and 30.

DATA10

D7 to D0 current, 1 – 100% current ratio value, 36V, 48V compatible with 100% as the limit value

Note: DATA6 is the actual current value

Data notes:

1、check code DATA11(8bit):DATA0——DATA10  8bit Xor value

DATA11(checksum)=DATA0 xor DATA1 xor DATA2 xor DATA3 xor DATA4 xor DATA5 xor DATA6 xor DATA7 xor DATA8 xor DATA9 xor DATA10。

2、Sending Sequence: synchronous code、DATA0、DATA1、DATA2、DATA3、DATA4、DATA5、DATA6、DATA7、DATA8、DATA9、DATA10、DATA11。

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注