Skip to the content
2 layers98.6 × 83.3 mmThorDriveController ProtoV0, the printed circuit board in 3D

ThorDriveController ProtoV0

Omar-Magdy0/Proto_V0

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

Size
98.6 × 83.3 mm
Copper layers
2
Thickness
1.6 mm
Parts
68
Nets
62
Pads
225
Tracks, vias
472, 36
Pours
1
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
12 Oct 2025
Updated
12 Oct 2025

Overview

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.

Main components

2

README

README.md

📁 Controller

🧠 BLDC Controller Board


🔁 Version & Overview

  • Version: v1.0
  • Microcontroller: ATmega328P
  • Designed using: KiCad

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


🔧 Features

  • Sensorless BLDC drive (BEMF zero crossing)
  • UART debugging
  • Modular firmware architecture
  • Supports 3.3V and 5V I/O
  • Optimized for low-cost, compact embedded motor controllers
  • Single-layer board with minimal top jumpers
Notes

Remove onBoard Potentiometer if going to install external Potentiometer


🖼️ Hardware Preview


📁 Documentation

TypePath
🧩 3D Model./Controller/Docs/*.step
📝 Schematic./Controller/Docs/*.pdf
📂 Design Files./Controller

🌐 Embedded 3D Viewer (STEP)

Try with: https://3dviewer.net/ Upload: ./Controller/Docs/*.step


📁 Inverter

⚡ BLDC Inverter Board


🔁 Version & Overview

  • Version: v1.0
  • Designed using: KiCad
  • Power Rating: 2KW+
  • MOSFET Driver: IR2130

🔧 Features

✅ Phase Voltage Feedback

  • Each 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

✅ Line Current Feedback (ACS712-30A)

  • 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

✅ General Specs

  • 3.3V signal compatible
  • Switching frequency up to 20kHz
  • Driver with built-in dead time (IR2130)
  • 🌡️ Thermal Management: Adequate spacing for heat sinks
  • Single-layer board with minimal top jumpers

🖼️ Hardware Preview


📁 Documentation

TypePath
🧩 3D Model./Inverter/Docs/*.step
📝 Schematic./Inverter/Docs/*.pdf
📂 Design Files./Inverter

🌐 Embedded 3D Viewer (STEP)

Try with: https://3dviewer.net/ Upload: Docs/*.step


🔌 Connector Layout & Wiring

Proper connector pin labeling is essential for integration with other subsystems (sensors, MCU, battery, etc.). Images and pinout illustrations will help ensure correct assembly.

📷 Visual Reference

📍 Connector Numbering Reference

JST JST Numbering Reference

Molex Molex Numbering Reference

🔌 Sample Harness:

Controller_Board

📜 License

This project is licensed under the MIT License.

📬 Contact

Maintainer: Omar Magdy 📧 omar.magdy.om.om@gmail.com


Parts

68
QtyValueFootprintReferences
121kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR10, R11, R12, R13, R14, R15, R16, R17, R18, R19, R20, R21
710kResistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR2, R3, R4, R5, R22, R23, R24
51uCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC3, C4, C5, C6, C7
4220Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR6, R7, R8, R9
4MountingHoleMountingHole:MountingHole_3.2mm_M3H1, H2, H3, H4
3Conn_01x04_PinConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ6, J8, J9
222pCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC1, C2
2Conn_01x03_SocketConnector_JST:JST_EH_B3B-EH-A_1x03_P2.50mm_VerticalJ3, J10
2LM324Package_SO:SOIC-14_3.9x8.7mm_P1.27mmU2, U3
1100nCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC9
110uCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC8
11MResistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR1
17400Package_SO:SOIC-14_3.9x8.7mm_P1.27mmU4
1AHLED_THT:LED_D3.0mmD7
1ALLED_THT:LED_D3.0mmD10
1ATmega328P-PPackage_DIP:DIP-28_W7.62mmU1
1BHLED_THT:LED_D3.0mmD8
1BLLED_THT:LED_D3.0mmD11
1CHLED_THT:LED_D3.0mmD9
1CLLED_THT:LED_D3.0mmD12
1CTRLlibMain:SW_BUTT-2SW3
1CTRLConnector_JST:JST_EH_B2B-EH-A_1x02_P2.50mm_VerticalJ13
1Conn_01x04_SocketConnector_JST:JST_EH_B4B-EH-A_1x04_P2.50mm_VerticalJ1
1Conn_01x06_PinConnector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_VerticalJ7
1Conn_01x06_SocketConnector_JST:JST_EH_B6B-EH-A_1x06_P2.50mm_VerticalJ2
1Conn_01x08_PinConnector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_VerticalJ5
1Conn_01x08_SocketConnector_JST:JST_EH_B8B-EH-A_1x08_P2.50mm_VerticalJ4
1CrystalCrystal:Crystal_HC49-4H_VerticalY2
1HALL_ALED_THT:LED_D3.0mmD2
1HALL_BLED_THT:LED_D3.0mmD4
1HALL_CLED_THT:LED_D3.0mmD3
1PWRLED_THT:LED_D3.0mmD5
1RESETlibMain:SW_BUTT-2SW1
1R_PotentiometerPotentiometer_THT:Potentiometer_Piher_T-16H_Single_HorizontalRV2
1UILED_THT:LED_D3.0mmD1
1UVLED_THT:LED_D3.0mmD6

More from Omar-Magdy0/Proto_V0

1
  • 2 layers100 × 99.4 mmThorDriveInverter ProtoV0, the printed circuit board in 3D

    ThorDriveInverter ProtoV0

    Omar-Magdy0/Proto_V0

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

    149 parts

Similar boards

  • 2 layers256.5 × 172.9 mmMCB19 panel, the printed circuit board in 3D

    MCB19 panel

    ZeniteSolar/MCB19

    Modulo de carregamento das baterias auxiliares

    411 parts2GPL-3.0
  • 2 layers55 × 485 mmFg lampe, the printed circuit board in 3D

    Fg lampe

    devtal-de/fg_lampe

    181 parts1
  • 2 layers270.1 × 136.2 mmTestador CIs digitais e ampops, the printed circuit board in 3D

    Testador CIs digitais e ampops

    cristianojasper/DIGIPOP-IFSC-ITAJAI-2025

    Testador de CIs digitais TTL e amplificadores operacionais com fins educacionais

    216 partsGPL-3.0
  • 2 layers29.2 × 109.2 mmMidiToCvLogic, the printed circuit board in 3D

    MidiToCvLogic

    lucidcoding/midi-to-cv

    57 parts
  • 2 layers81 × 150 mmMPPT 2024, the printed circuit board in 3D

    MPPT 2024

    ZeniteSolar/MCC25

    MCC25

    73 partsGPL-3.0
  • 2 layers232.1 × 131.2 mmPanel, the printed circuit board in 3D

    Panel

    ZeniteSolar/MSC19

    Voltage or Current Sensor Module for CANBUS with ATmega328p

    313 partsGPL-3.0
  • 2 layers63 × 108 mmMSC25, the printed circuit board in 3D

    MSC25

    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…

    61 parts
  • 2 layers170.2 × 137.2 mmMCS19, the printed circuit board in 3D

    MCS19

    ZeniteSolar/MCS19

    Módulo de Carregamento do Sistema da embarcação solar Guarapuvu II (Zênite Solar)

    160 parts1GPL-3.0

Questions

How big is the ThorDriveController ProtoV0 PCB?

It measures 98.6 × 83.3 mm and has 2 copper layers, 1.6 mm thick.

What parts does the ThorDriveController ProtoV0 use?

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.

Where can I download the ThorDriveController ProtoV0 KiCad files?

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.

Can I use the ThorDriveController ProtoV0 design in my own project?

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