user-img

Fawaz Yousif

+ Follow

BLDC Motor Electronic Speed Controller

Open Hardware and Firmware for a Hall-sensor-based 6-step BLDC motor controller using PIC18F Microcontroller.

BLDC Motor Electronic Speed Controller
 
  • thumbnail-img
  • thumbnail-img
  • thumbnail-img
 

Story

3-Phase BLDC Motor Controller (ESC)

Open Hardware & Firmware for a Hall-sensor-based 6-step BLDC motor controller using PIC18F.


Project Overview

This project implements a 3-phase BLDC motor controller using Hall sensor-based 6-step commutation with PWM speed control. The system uses a PIC18F46K22 microcontroller and IR2101 gate drivers for driving the MOSFET bridge.


Features

  • ✅ 3-phase BLDC control using 6-step commutation
  • ✅ Speed control using analog potentiometer (ADC) with PWM
  • ✅ Direction control with REVERSE button
  • ✅ Start/Stop functionality
  • ✅ LED indicators for direction status
  • ✅ Open Hardware under CERN OHL v2 license


⚙️ Hardware

  • Microcontroller: PIC18F46K22
  • Gate Driver: IR2101
  • MOSFETs: IRF540N or IRFZ44N
  • Sensors: Hall sensors for rotor position
  • PCB: 4-layer (2 signal, 2 GND planes)
  • Simulation: Proteus for pre-validation
  • CAD: Altium Designer for schematic and layout

Firmware

  • Developed in CCS C for the PIC18F46K22.
  • Uses interrupts for Hall sensor capture and commutation lookup table.
  • ADC reads potentiometer voltage to control PWM duty cycle.
  • PWM generated for speed control.

 

Code
  • GITHUB- 3-Phase BLDC Motor Controller

    https://github.com/Fawwazoa/bldc-motor-controller
    View
Schematic and Layout
  • GitHub- 3-Phase BLDC Motor Controller

    https://github.com/Fawwazoa/bldc-motor-controller
    View

BLDC Motor Electronic Speed Controller

Open Hardware and Firmware for a Hall-sensor-based 6-step BLDC motor controller using PIC18F Microcontroller.

198
 
7
0
0

Share your project on social media to expand its influence! Get more people to support it.

  • Comments( 0 )
  • Like( 7 )
/1000
Upload a photo:
You can only upload 1 files in total. Each file cannot exceed 2MB. Supports JPG, JPEG, GIF, PNG, BMP

You May Also Like

View All
Add to cart
Board Type : GerberFile :
Layer : Dimensions :
PCB Qty :
Different PCB Design
PCB Thickness : PCB Color :
Surface Finish : Castellated Hole :
Copper Weight : 1 oz Production Time :
Total: US $
As a sharing platform, our community will not bear responsibility for any issues with this design and parameters.

PCB Assembly

PCBA Qty: BomFile:
NO. OF UNIQUE PARTS: NO. of Components:
Country: Shipping Way:
Assembly Cost: US $
As a sharing platform, our community will not bear responsibility for any issues with this design and parameters.
Add to cart
3dPrintingFile : Size :
Unit : Volumn :
3D Printing Qty : Material :
Total: US $12.99
As a sharing platform, our community will not bear responsibility for any issues with this design and parameters.
Add to cart
Acrylic Type : AcrylicFile :
Dimensions: Engrave:
Acrylic Qty :
Acrylic Thickness:
Acrylic Color:
Total: US $12.99
As a sharing platform, our community will not bear responsibility for any issues with this design and parameters.
Add to cart
CNC Milling File : Size:
Unit: Volumn:
CNC Milling Qty : Material:
Type of Aluminum: Surface Finish:
Tolerance:
Surface Roughness:
Total: US $12.99
As a sharing platform, our community will not bear responsibility for any issues with this design and parameters.
Add to cart
Item Price Qty Subtotal Delete
Total: US $0.00
Certified Product | Supported Purchase: Full After-sales Protection