Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4845

General • Anyone use PIO for a sensorless BLDC controller?

$
0
0
I've driven hard drive BLDC motors with a microcontroller and MOSFETs by manually switching the three coils before, but with limited success for faster speeds.

While playing with a Pico I was wondering if the state machines could be used to generate signals and possibly detect the zero crossing.

I'm aware of ESC controllers and don't have a real need for this, other than wanting to do it. It seems like it shouldn't be too difficult to create a state machine that switches three pins in the correct order. How accurate can you adjust the speed with the clock divider for speed control?

Detecting the zero crossing would be more difficult, but the PIO can read analog pins too?

What a great little device.

Statistics: Posted by iansmith6 — Mon Apr 01, 2024 12:45 am



Viewing all articles
Browse latest Browse all 4845

Trending Articles