Skip to the content
2 layers90 × 60 mmSabvoton controller, the printed circuit board in 3D

Sabvoton controller

dkomeza/sabvoton-controller3

A controller for the sabvoton ebike esc.

Size
90 × 60 mm
Copper layers
2
Thickness
1.6 mm
Parts
72
Nets
110
Pads
326
Tracks, vias
433, 70
Pours
1
Routed
Yes
KiCad
KiCad 6 (file 20211014)
Created
7 Apr 2023
Updated
12 Sep 2023

Overview

Sabvoton controller is an open-source printed circuit board by dkomeza, from the dkomeza/sabvoton-controller repository on GitHub. It is a 2-layer board of 90 × 60 mm with 72 parts on 110 nets, routed with 433 tracks and 70 vias.

It is built around the ESP32-WROOM-32, LM358 and BTS4140N, with the LM1117-1.8, BSS123 and MMBT3904 among its other parts. Its parts include 15 resistors, 9 connectors, 8 ICs, 6 diodes and 6 transistors. It belongs with the robots and motor control boards and the ESP32 boards of this library.

Main components

7

README

README.md

sabvoton-controller

A controller for the sabvoton ebike esc.

Pinout reference

text
---------------------------------------------------
| 01 | 02 | 03 | 04 | 05 | 06 | 07 | 08 | 09 | 10 |
---------------------------------------------------
| 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 |
---------------------------------------------------
| 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 |
---------------------------------------------------
  • 01: speed (0V - Battery voltage)
  • 02: programming (brown-blue)
  • 03: low speed (controlled by gnd)
  • 04: high speed (controlled by gnd)
  • 05: brake (controlled by gnd)
  • 06: service (unused)
  • 07: empty
  • 08: 5V
  • 09: 5V square hall sensor (speedometer)
  • 10: empty
  • 11: battery voltage
  • 12: programming (blue-yellow)
  • 13: programming (green-black)
  • 14: programming (red-black)
  • 15: brake (controlled by 12v)
  • 16: reverse (controlled by gnd)
  • 17: gnd
  • 18: gnd
  • 19: throttle (0V - 5V)?
  • 20: ignition (controlled by battery voltage)
  • 21: engine phase (anti-theft)
  • 22: empty
  • 23: regen (controlled by gnd)
  • 24: soft-start (connected to 26)
  • 25: cruise control (controlled by gnd)
  • 26: soft-start (connected to 24)
  • 27: gnd
  • 28: gnd
  • 29: alarm (controlled by gnd)
  • 30: service (unused)

Working with the controller

Connectors

  • 1: programming connector (same as the original)
  • 2: usb connector (for programming the arduino)

Functions:

  • 1: set current gear (low, mid, high) - pins 03, 04
  • 2: set motor power based on the torque sensor input - pin 19
  • 3: read battery voltage - pin 11
  • 4: turn controller on/off - pin 20
  • 5: enable/disable soft start - pins 24, 26
  • 6: get engine temperature - white wire
  • 7: get engine rpm - white wire
  • 8: get controller temperature - additional sensor
  • 9: get battery temperature - additional sensor
  • 10: send data to the display - additional display
  • 11: get data from the display - additional display

Parts

72
QtyValueFootprintReferences
1010KResistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR2, R4, R5, R6, R9, R10, R11, R12, R13, R15
9CCapacitor_SMD:C_1206_3216MetricCSMALL1, CSMALL6, CSMALL7, CSMALL8, CSMALL9, CSMALL10, CSMALL11, CSMALL12, CSMALL13
7CCapacitor_SMD:C_1210_3225Metric_Pad1.33x2.70mm_HandSolderCIN1, CIN2, CIN3, COUT1, COUT2, COUT3, COUT4
4BSS123Package_TO_SOT_SMD:SOT-23Q1, Q2, Q3, Q4
21KResistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR7, R8
220Resistor_SMD:R_1206_3216MetricR_LED_3, R_LED_4
2CCapacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolderCFF1, CFF2
2LInductor_SMD:L_7.3x7.3_H3.5L1, L2
2MMBT3904Package_TO_SOT_SMD:SOT-23Q5, Q6
2S310KT_Display:S2MD1, D2
2SW_Pushlib:BUTTON_SWSW1, SW2
112VLED_SMD:LED_1206_3216MetricD3
1130Resistor_SMD:R_1206_3216MetricR_LED_2
11MResistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderRB2
13.3VLED_SMD:LED_1206_3216MetricD5
130KResistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR3
133KResistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR14
156kResistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderRB1
15VLED_SMD:LED_1206_3216MetricD4
1600Resistor_SMD:R_0805_2012MetricR_LED_1
186KResistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR1
1BATTERY_THERMISTOR_CONNECTORConnector_Wire:SolderWire-0.25sqmm_1x02_P4.2mm_D0.65mm_OD1.7mmJ7
1BTS4140NPackage_TO_SOT_SMD:SOT-223-3_TabPin2U6
1BUCK_12VPackage_TO_SOT_SMD:TO-252-5_TabPin3U2
1BUCK_5VPackage_TO_SOT_SMD:TO-252-5_TabPin3U3
1CONN_MAINlib:MAIN_3x10J2
1CONTROLLER_HALLlib:HALL_2x6J1
1CONTROLLER_THERMISTOR_CONNECTORConnector_Wire:SolderWire-0.25sqmm_1x02_P4.2mm_D0.65mm_OD1.7mmJ6
1CP2102N-Axx-xQFN28Package_DFN_QFN:QFN-28-1EP_5x5mm_P0.5mm_EP3.35x3.35mmU8
1DISPLAY_CONNECTORKT_Display:SolderWire-1x4-buttonsJ4
1ENGINE_HALLConnector_Wire:SolderWire-0.5sqmm_1x06_P4.8mm_D0.9mm_OD2.3mmJ3
1ESP32-WROOM-32lib:ESP32-WROOM-32U1
1ESP_ONLED_SMD:LED_1206_3216MetricD6
1LM1117-1.8Package_TO_SOT_SMD:SOT-223-3_TabPin2U5
1LM358Package_SO:SO-8_5.3x6.2mm_P1.27mmU7
1NCP1117-3.3_SOT223Package_TO_SOT_SMD:SOT-223-3_TabPin2U4
1PROGRAMMING_CONNlib:Pogramming_1x5J9
1TORQUE_SENSOR_CONNECTORKT_Display:SolderWire-1x4-buttonsJ5
1USB_B_MicroConnector_USB:USB_Micro-B_Molex-105017-0001J8

Similar boards

  • 2 layers93.3 × 97.2 mmUnderwater, the printed circuit board in 3D

    Underwater

    lets-make-something/underwater-drone

    73 parts
  • 2 layers99.3 × 41 mmEce49022 team44 pcb, the printed circuit board in 3D

    Ece49022 team44 pcb

    SRiegle2020/ECE49022_SrDsgn_f22_Team44

    ECE49022, Team44, f2022. Biometric "Smart" Watch

    111 parts
  • 4 layers159.1 × 99.9 mmLoTI Board, the printed circuit board in 3D

    LoTI Board

    devtank-ltd/kicad_hiltop_loti_board

    KiCAD files for Loti card for HILTOP

    452 parts
  • 4 layers159.6 × 100 mmSensi Board, the printed circuit board in 3D

    Sensi Board

    devtank-ltd/kicad_hiltop_sensi_board

    KiCAD files for Seni card for HILTOP

    463 parts
  • 2 layers235 × 68 mmN2-etoile-0v, the printed circuit board in 3D

    N2-etoile-0v

    essensys-hub/essensys-i2c-etoile-0v

    Carte qui relie le boîtier principal (BP, carte SC944D) aux boîtiers auxiliaires (BA1 SC940D, BA2 SC941C, BA3 SC942C) d'une installation Essensys en étoile autour d'un plan 0 V commun, à la place du chaînage d'origine.

    181 partsMIT
  • 2 layers108 × 110 mmBms active hw, the printed circuit board in 3D

    Bms active hw

    NGOQUOC98/ESP32_PCB

    136 parts1
  • 2 layers52.5 × 36.6 mmESP8266-WebRadio, the printed circuit board in 3D

    ESP8266-WebRadio

    karawin/Ka-Radio

    A wifi webradio with only low cost boards ESP8266 and VS1053 by Jp Cocatrix

    52 parts453

Questions

How big is the Sabvoton controller PCB?

It measures 90 × 60 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Sabvoton controller use?

72 parts, built around the ESP32-WROOM-32, LM358, BTS4140N and LM1117-1.8. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Sabvoton controller KiCad files?

From the dkomeza/sabvoton-controller repository on GitHub, at the commit this page was made from: the board is hardware/sabvoton-controller.kicad_pcb and its schematic hardware/sabvoton-controller.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Sabvoton controller design in my own project?

Its repository states no licence, so its author keeps all rights: ask dkomeza before reusing the design.