Parameters

P1 Motor Characteristic Parameter Setting


The transmission ratio for motors with a reduction gear. This is important in order to calculate the correct speed as the motor and the wheel rotate at different speeds. The value is a ratio between 1-255.


P2 Wheel Speed Pulse Signal Setting

the frequency of the hall sensor signal per revolution, important for determining the speed and position of the motor. The most common values are 1 and 6, 0 disables sensor reading.


P3 Power Assist Control Setting

the relationship between the throttle and the level of cranking assistance. At 0, the crank assist level determines how much the bike accelerates when the throttle is pressed. Setting to 1 makes the throttle switch work regardless of crank assist level.


P4 Throttle Start-Up Setting

by setting the value to 0, it is possible to start from the spot only by pressing the throttle. With a value of 1, the controller only allows the throttle to be used if the motor is already activated (by cranking or moving).


P5 Power Monitoring Setting

determines the way the current capacity of the battery is displayed (discharge curve).


C1 Throttle Start-Up Setting

crank assist setup, depending on the sensor and the magnets attached to the crank, it is necessary to find the right combination that is compatible with your sensor.

C2 Motor Phase Classification Coding Mode

 determines how the motor phases are wound, if the wheel vibrates and does not rotate

 


C3 Power Assist Ratio Gear Initialization

determines the level of cranking assistance selected by default when the bike is turned on. 1 is the weakest and 5 is the most powerful.


C4 Handlebar Function Setting

the function depends on what value you set for parameter P4


C5 Handlebar Function Setting

sets the maximum power output for the controller. For example, a 30 amp controller with a C5 value of 3 will only operate at 15 amps.

.


C6 Handlebar Function Setting

LCD backlight strenght 1 – 6

C7 Cruise Function Setting

value 1 enables cruise control, 0 disables this option. To use the cruise control, drive with the throttle at a speed of about + 15km/h, keep the throttle active in one position and at the same time press and hold the up arrow. After a few seconds, the letter C or the yellow text Cruise will appear on the screen. The cruise control is automatically disengaged when you crank a few revolutions, momentarily press down on the throttle, or press down on the brake lever equipped with a brake switch.


C8 Motor Operating Temperature Display Setting

value 1 turns on the engine temperature display.


C9 Startup Password Setting

password setting. 1 turns on the use of the password, after saving the value, the user is asked for the password number 0 – 999. NB!!! In case you forget the password, to unlock the device you have to use the same type of display that can be used to delete or replace the password, all other parameters will also be replaced.


C10 Restore Default Setting

restores the default settings, the controller may not work correctly with components after that.


C11 Meter Attribute Setting

defines the communication protocol used between the controller and display, modification of this parameter should be avoided.


C12 Controller Minimal Voltage Setting

determines the minimum allowable voltage. If the battery voltage falls below this value, even for a moment, the motor switches off.


C13 ABS Brakes and Anti-Charge Control Setting

motor braking and charging. A relatively risky parameter. With a value of 0, there is no motor braking. A value of 1 is the weakest and most effective way to regain energy. NB! On long descents, there have been several cases where various components (mainly the controller or the battery) have overheated and been damaged due to heavy loads

.
C14 Power Assist Tuning Setting

cranking assist power. 1 – weak, 2 – medium, 3 – strong

 

 

S-LCD3 to S12SN communication protocol.

Packet consist of 13 bytes. 9600 baud, 8-n-1, byte-by-byte 

B0    B1    B2    B3    B4    B5    B6    B7    B8    B9    B10    B11    B12

(e.g: 12 0 149 160 41 102 18 74 4 20 0 50 14)

B0: parameter P5.
B1: assist level, front light. 
b7b6b5b4 b3b2b1b0
. . . .  . l2l1l0     assist level 0-5, 6-walk (long push down arrow)
f0. . .  . . . .      bit (mask 0x80) front light, display backlight
B3: parameter P1.
B2 and B4 max speed, wheel size, P2,P3,P4
B2: b7b6b5b4 b3b2b1b0 and B4:b7b6b5b4 b3b2b1b0  
    s4s3s2s1 s0. . .         . . s5.  . . . .   max speed minus 10,
    . . . .  . . . .         . . . .  . . . .  km/h;   6bit
    . . . .  . w4w3w2        w1w0. .  . . . .  wheel size:0x0e-10",
    . . . .  . . . .         . . . .  . . . .  0x02-12", 0x06-14",
    . . . .  . . . .         . . . .  . . . .  0x00-16",0x04-18",
    . . . .  . . . .         . . . .  . . . .  0x08-20", 0x0c-22",
    . . . .  . . . .         . . . .  . . . .  0x10-24", 0x14"-26",
    . . . .  . . . .         . . . .  . . . .  0x18-700c 
    . . . .  . . . .         . . . .  . p2p1p0  par. P2 (B4&&0x07)
    . . . .  . . . .         . . . .  p0. . .   par. P3 (B4&&0x08)
    . . . .  . . . .         . . . p0 . . . .   par. P4 (B4&&0x10)
Example:
    0 1 1 1  1 . . .         . . 0.   . . . .  25km/h (15+10)
    1 1 1 1  0 . . .         . . 0.   . . . .  40km/h (30+10)
    1 0 0 1  0 . . .         . . 1.   . . . .  60km/h (50+10)
B5: CRC = (xor B0,B1,B2,B3,B4,B6,B7,B8,B9,B10,B11,B12) xor 2.
B6: parameters C1 and C2
b7b6b5b4 b3b2b1b0
. . c2c1 c0. . .       param C1 (mask 0x38)
. . . .  . c2c1c0      param C2 (mask 0x07) 
B7: parameter C5 and C7
b7b6b5b4 b3b2b1b0
. . . .  c3c2c1c0      param C5 (mask 0x0F)
. c1c0.  . . . .       param C14 (mask 0x60)
B8: parameter C4
b7b6b5b4 b3b2b1b0
c2c1c0.  . . . .       param C4  (mask 0xE0)
B9: parameter C12
b7b6b5b4 b3b2b1b0
. . . .  c3c2c1c0      param C12  (mask 0x0F)
B10: parameter C13     
b7b6b5b4 b3b2b1b0
. . . c2 c1c0. .       param C13  (mask 0x1C)
B11: 50 dec (0x32)
B12: 14 dec (0x0E)
parameters C3, C6, C7, C8, C9, C10 not sent to MCU

if C11 set to 2 (used to copy LCD to LCD), LCD repeatedly sends 23 bytes, byte by byte, no separators, underlines show not identified values


255, wheel diam (in), maxspeed (kmh), level, P1, P2, P3, P4, P5, C1, C2 , C3, C4, C5, C6, C7, C8, 0, 20, C12, C13 ,C14, 55

Example:
255 26 60 0 160 1 1 0 12 2 1 8 0 10 3 0 1 0 20 4 0 2 55

S12SN to LCD3 communication protocol.

Packet consist of 12 bytes. 9600 baud, 8-n-1, byte-by-byte, no separators 

B0    B1    B2    B3    B4    B5    B6    B7    B8    B9    B10    B11

(e.g: 65 16 48 0 139 0 164 2 13 0 0 0)

B0: 65 dec (0x41)
B1: battery level: 0: empty box, 1: border flashing, 2: animated charging, 3: empty, 4: 1 bar, 8: 2 bars, 16: 4 bars (full),
B2: 48 dec (0x30)
B3,B4: speed, wheel rotation period, ms; period(ms)=B3*256+B4;
B5 error info display: 0x20: "0info", 0x21: "6info", 0x22: "1info", 0x23: "2info", 0x24: "3info", 0x25: "0info", 0x26: "4info", 0x28: "0info"
B6: CRC: xor B0,B1,B2,B3,B4,B5,B7,B8,B9,B10,B11
B7: moving mode indication, bit
b7b6b5b4 b3b2b1b0
. . . .  . . . m0      if set animated circle "throttle"
. . . .  m0 . . .      if set "C" (cruise) is shown
. . . m0  . . . .      if set "assist" shown
B8: power in 13 wt increments (48V version of the controller)
B9: motor temperature, can be negative or positive,T(C)=(int8)B8+15,
    if temperature > 120C LCD screen is flashing.
    e.g 0xDA T=-23C, 0x34 T=67C
B10: 0
B11: 0