
ThorDriveInverter ProtoV0
Omar-Magdy0/Proto_V0
The controller board enables BLDC motor control using ATmega328P and supports BEMF zero-crossing sensorless operation.

The controller board enables BLDC motor control using ATmega328P and supports BEMF zero-crossing sensorless operation.
ThorDriveController ProtoV0 is an open-source printed circuit board by Omar-Magdy0, from the Omar-Magdy0/Proto_V0 repository on GitHub. It is a 2-layer board of 98.6 × 83.3 mm with 68 parts on 62 nets, routed with 472 tracks and 36 vias.
It is built around the ATMEGA328P-PU and LM324. Its parts include 24 resistors, 12 diodes, 11 connectors, 9 capacitors and 4 ICs. It belongs with the AVR (ATmega, ATtiny) boards of this library.
📁 Controller
v1.0ATmega328PKiCadThe controller board enables BLDC motor control using ATmega328P and supports BEMF zero-crossing sensorless operation.
Remove onBoard Potentiometer if going to install external Potentiometer

| Type | Path |
|---|---|
| 🧩 3D Model | ./Controller/Docs/*.step |
| 📝 Schematic | ./Controller/Docs/*.pdf |
| 📂 Design Files | ./Controller |
Try with: https://3dviewer.net/
Upload: ./Controller/Docs/*.step
📁 Inverter
v1.0KiCad2KW+IR2130Each phase is conditioned via:
$V_{cond} = V_{phase-ground} \times \left(\frac{2.2k}{49.2k}\right)$
Filtered with 80kHz low-pass
Calibrate as needed due to resistor tolerances
For Phase A & B:
$V_{cond} = \left( I_{line} \times 66\text{mV} + 2.5 \right) \times \left(\frac{5.1k}{15.1k}\right)$
Filtered with 80kHz low-pass
Calibrate as needed due to resistor tolerances

| Type | Path |
|---|---|
| 🧩 3D Model | ./Inverter/Docs/*.step |
| 📝 Schematic | ./Inverter/Docs/*.pdf |
| 📂 Design Files | ./Inverter |
Try with: https://3dviewer.net/
Upload: Docs/*.step
Proper connector pin labeling is essential for integration with other subsystems (sensors, MCU, battery, etc.). Images and pinout illustrations will help ensure correct assembly.
JST

Molex

🔌 Sample Harness:
Maintainer: Omar Magdy 📧 omar.magdy.om.om@gmail.com
| Qty | Value | Footprint | References |
|---|---|---|---|
| 12 | 1k | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R10, R11, R12, R13, R14, R15, R16, R17, R18, R19, R20, R21 |
| 7 | 10k | Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder | R2, R3, R4, R5, R22, R23, R24 |
| 5 | 1u | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C3, C4, C5, C6, C7 |
| 4 | 220 | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R6, R7, R8, R9 |
| 4 | MountingHole | MountingHole:MountingHole_3.2mm_M3 | H1, H2, H3, H4 |
| 3 | Conn_01x04_Pin | Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical | J6, J8, J9 |
| 2 | 22p | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C1, C2 |
| 2 | Conn_01x03_Socket | Connector_JST:JST_EH_B3B-EH-A_1x03_P2.50mm_Vertical | J3, J10 |
| 2 | LM324 | Package_SO:SOIC-14_3.9x8.7mm_P1.27mm | U2, U3 |
| 1 | 100n | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C9 |
| 1 | 10u | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C8 |
| 1 | 1M | Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder | R1 |
| 1 | 7400 | Package_SO:SOIC-14_3.9x8.7mm_P1.27mm | U4 |
| 1 | AH | LED_THT:LED_D3.0mm | D7 |
| 1 | AL | LED_THT:LED_D3.0mm | D10 |
| 1 | ATmega328P-P | Package_DIP:DIP-28_W7.62mm | U1 |
| 1 | BH | LED_THT:LED_D3.0mm | D8 |
| 1 | BL | LED_THT:LED_D3.0mm | D11 |
| 1 | CH | LED_THT:LED_D3.0mm | D9 |
| 1 | CL | LED_THT:LED_D3.0mm | D12 |
| 1 | CTRL | libMain:SW_BUTT-2 | SW3 |
| 1 | CTRL | Connector_JST:JST_EH_B2B-EH-A_1x02_P2.50mm_Vertical | J13 |
| 1 | Conn_01x04_Socket | Connector_JST:JST_EH_B4B-EH-A_1x04_P2.50mm_Vertical | J1 |
| 1 | Conn_01x06_Pin | Connector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_Vertical | J7 |
| 1 | Conn_01x06_Socket | Connector_JST:JST_EH_B6B-EH-A_1x06_P2.50mm_Vertical | J2 |
| 1 | Conn_01x08_Pin | Connector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_Vertical | J5 |
| 1 | Conn_01x08_Socket | Connector_JST:JST_EH_B8B-EH-A_1x08_P2.50mm_Vertical | J4 |
| 1 | Crystal | Crystal:Crystal_HC49-4H_Vertical | Y2 |
| 1 | HALL_A | LED_THT:LED_D3.0mm | D2 |
| 1 | HALL_B | LED_THT:LED_D3.0mm | D4 |
| 1 | HALL_C | LED_THT:LED_D3.0mm | D3 |
| 1 | PWR | LED_THT:LED_D3.0mm | D5 |
| 1 | RESET | libMain:SW_BUTT-2 | SW1 |
| 1 | R_Potentiometer | Potentiometer_THT:Potentiometer_Piher_T-16H_Single_Horizontal | RV2 |
| 1 | UI | LED_THT:LED_D3.0mm | D1 |
| 1 | UV | LED_THT:LED_D3.0mm | D6 |

Omar-Magdy0/Proto_V0
The controller board enables BLDC motor control using ATmega328P and supports BEMF zero-crossing sensorless operation.



cristianojasper/DIGIPOP-IFSC-ITAJAI-2025
Testador de CIs digitais TTL e amplificadores operacionais com fins educacionais




ZeniteSolar/MSC25
Este projeto consiste em uma placa de circuito impresso (PCB) com firmware embarcado, projetada para realizar a leitura de alta precisão de um sensor de corrente de efeito Hall e transmitir os dados através do…

ZeniteSolar/MCS19
Módulo de Carregamento do Sistema da embarcação solar Guarapuvu II (Zênite Solar)
It measures 98.6 × 83.3 mm and has 2 copper layers, 1.6 mm thick.
68 parts, built around the ATMEGA328P-PU and LM324. 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.
From the Omar-Magdy0/Proto_V0 repository on GitHub, at the commit this page was made from: the board is Controller/ThorDriveController_ProtoV0.kicad_pcb and its schematic Controller/Signal Conditioning.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository states no licence, so its author keeps all rights: ask Omar-Magdy0 before reusing the design.