# \#esp32

**URL:** https://community.simplefoc.com/tag/esp32/4.md

[Latest](https://community.simplefoc.com/latest.md) · [Categories](https://community.simplefoc.com/categories.md) · [Tags](https://community.simplefoc.com/tags.md)

---

## [SimpleFOC v2.3 & AS5600 & GM3506 closed loop example](https://community.simplefoc.com/t/simplefoc-v2-3-as5600-gm3506-closed-loop-example/8330)

<div class="topic-metadata">

**Author:** [@enzor](https://community.simplefoc.com/u/enzor)\
**Replies:** 1\
**Last updated:** [September 16, 2026, 6:49am UTC](https://community.simplefoc.com/t/simplefoc-v2-3-as5600-gm3506-closed-loop-example/8330 "2026-09-16T06:49:58Z")

</div>

hello! could you please write me a simple Closed loop example for this setup? SimpleFOC v2.3 & AS5600 & GM3506 thanks!

---

## [Driver.init() failure; MCPWM appears to be initialized twice (ESP32-C6)](https://community.simplefoc.com/t/driver-init-failure-mcpwm-appears-to-be-initialized-twice-esp32-c6/8323)

<div class="topic-metadata">

**Author:** [@audreymgu](https://community.simplefoc.com/u/audreymgu)\
**Replies:** 2\
**Last updated:** [September 13, 2026, 8:58pm UTC](https://community.simplefoc.com/t/driver-init-failure-mcpwm-appears-to-be-initialized-twice-esp32-c6/8323 "2026-09-13T20:58:43Z")

</div>

Hi there! I’ve been running into some issues getting a simple open loop motor spinning example working on my setup where the driver initialization fails. I have an ESP32-C6 dev board (CodeCell C6) connected to a TMC6300 …

---

## [Experience with high-resistance gimbal motors for smooth slow closed-loop motion?](https://community.simplefoc.com/t/experience-with-high-resistance-gimbal-motors-for-smooth-slow-closed-loop-motion/8306)

<div class="topic-metadata">

**Author:** [@Jean\_Joubert](https://community.simplefoc.com/u/Jean_Joubert)\
**Replies:** 13\
**Last updated:** [August 26, 2026, 10:03am UTC](https://community.simplefoc.com/t/experience-with-high-resistance-gimbal-motors-for-smooth-slow-closed-loop-motion/8306 "2026-08-26T10:03:44Z")

</div>

Hi everyone, I’m working on a motorised aircraft throttle quadrant and I’m using an iFlight GM6208 gimbal motor with an AS5048A magnetic encoder and SimpleFOC. I’m currently using the SimpleFOC Mini v1.0 driver. The GM…

---

## [Motor Vibrates and Spins Unexpectedly When Using Angle Control + FOC Current in SimpleFOC](https://community.simplefoc.com/t/motor-vibrates-and-spins-unexpectedly-when-using-angle-control-foc-current-in-simplefoc/8297)

<div class="topic-metadata">

**Author:** [@colapunch](https://community.simplefoc.com/u/colapunch)\
**Replies:** 1\
**Last updated:** [August 12, 2026, 6:28am UTC](https://community.simplefoc.com/t/motor-vibrates-and-spins-unexpectedly-when-using-angle-control-foc-current-in-simplefoc/8297 "2026-08-12T06:28:33Z")

</div>

Hello, First of all, thank you very much for developing and maintaining SimpleFOC. It is a great and very useful project, and I really appreciate the opportunity to learn from it. I have been using SimpleFOC for about …

---

## [St link soldering on B-G431B-ESC1](https://community.simplefoc.com/t/st-link-soldering-on-b-g431b-esc1/8065)

<div class="topic-metadata">

**Author:** [@ploopy246](https://community.simplefoc.com/u/ploopy246)\
**Replies:** 4\
**Last updated:** [August 11, 2026, 6:04am UTC](https://community.simplefoc.com/t/st-link-soldering-on-b-g431b-esc1/8065 "2026-08-11T06:04:41Z")

</div>

Hi everyone, I am working on a 3-DOF attitude control system for a satellite simulator using three B-G431B-ESC1 ESC boards driving Sunnysky V4008 380KV BLDC reaction wheels. I have removed the daughterboard (in hindsigh…

---

## [Grinding Noise from motor in torque control mode](https://community.simplefoc.com/t/grinding-noise-from-motor-in-torque-control-mode/8291)

<div class="topic-metadata">

**Author:** [@gimbal\_pete](https://community.simplefoc.com/u/gimbal_pete)\
**Replies:** 7\
**Last updated:** [August 7, 2026, 5:07pm UTC](https://community.simplefoc.com/t/grinding-noise-from-motor-in-torque-control-mode/8291 "2026-08-07T17:07:36Z")

</div>

I’m using an ESP32S3 and AS5047 (using SPI) with the “Closing the loop test” ( Closing the Loop Test | Arduino-FOC ) and finding that the motor makes a grinding noise in torque control mode. It’s a 20 ohm drone gimbal mo…

---

## [First project, fallen at first hurdle!](https://community.simplefoc.com/t/first-project-fallen-at-first-hurdle/8281)

<div class="topic-metadata">

**Author:** [@GDCobra](https://community.simplefoc.com/u/GDCobra)\
**Replies:** 13\
**Last updated:** [August 6, 2026, 1:38pm UTC](https://community.simplefoc.com/t/first-project-fallen-at-first-hurdle/8281 "2026-08-06T13:38:48Z")

</div>

I am really keen to use FOC to give me good motor control and have a few projects lined up to use this. Unfortunately I’ve had a couple of false starts with this sytem but have returned to my first project and I’m reall…

---

## [New hardware advice?](https://community.simplefoc.com/t/new-hardware-advice/8288)

<div class="topic-metadata">

**Author:** [@shellfritsch](https://community.simplefoc.com/u/shellfritsch)\
**Replies:** 2\
**Last updated:** [August 1, 2026, 9:01pm UTC](https://community.simplefoc.com/t/new-hardware-advice/8288 "2026-08-01T21:01:33Z")

</div>

hello! i’m a new member of the simpleFOC community looking to begin prototyping. i’m a bit overwhelmed by all the options for hardware and am hoping someone here can offer advice on which bits to get that will offer the…

---

## [Problem with Simple FOC](https://community.simplefoc.com/t/problem-with-simple-foc/8257)

<div class="topic-metadata">

**Author:** [@Jannik\_Dambacher](https://community.simplefoc.com/u/Jannik_Dambacher)\
**Replies:** 1\
**Last updated:** [July 8, 2026, 8:39am UTC](https://community.simplefoc.com/t/problem-with-simple-foc/8257 "2026-07-08T08:39:18Z")

</div>

Hello, I’d like to use this gimbal motor, the “GBM2804H-100T Gimbal Motor.” To do so, I ordered the “Simple FOC ESP 32 FOC” board. However, since there’s hardly any documentation available for this specific …

---

## [STM32G431CB not detected over SWD, solder bridge or something else?](https://community.simplefoc.com/t/stm32g431cb-not-detected-over-swd-solder-bridge-or-something-else/8083)

<div class="topic-metadata">

**Author:** [@ploopy246](https://community.simplefoc.com/u/ploopy246)\
**Replies:** 4\
**Last updated:** [June 4, 2026, 3:25pm UTC](https://community.simplefoc.com/t/stm32g431cb-not-detected-over-swd-solder-bridge-or-something-else/8083 "2026-06-04T15:25:16Z")

</div>

I’m trying to flash an STM32G431CB on a B-G431B-ESC1 ESC board for a reaction wheel-based attitude control system. So there’s three ESCs each. For every one, I soldered 4 wires to the J4 SWD pads (SWDIO, SWCLK, 3V3, GND)…

---

## [DO NOT BUY the MKS DUAL FOC PLUS](https://community.simplefoc.com/t/do-not-buy-the-mks-dual-foc-plus/8165)

<div class="topic-metadata">

**Author:** [@geofrancis](https://community.simplefoc.com/u/geofrancis)\
**Replies:** 4\
**Last updated:** [May 31, 2026, 8:35am UTC](https://community.simplefoc.com/t/do-not-buy-the-mks-dual-foc-plus/8165 "2026-05-31T08:35:33Z")

</div>

There is something fundamentally wrong with these controllers. I have burned up 7 of them now and after 7 I was starting to doubt myself as I could get it all working perfectly then when I tried to use it outside without…

---

## [5010 360KV draws 55W at 90 rad/s in foc\_current mode. Is this normal?](https://community.simplefoc.com/t/5010-360kv-draws-55w-at-90-rad-s-in-foc-current-mode-is-this-normal/8156)

<div class="topic-metadata">

**Author:** [@Osbos007](https://community.simplefoc.com/u/Osbos007)\
**Replies:** 5\
**Last updated:** [May 28, 2026, 6:34am UTC](https://community.simplefoc.com/t/5010-360kv-draws-55w-at-90-rad-s-in-foc-current-mode-is-this-normal/8156 "2026-05-28T06:34:54Z")

</div>

Hey guys, I’ve been trying to get a 5010 360KV BLDC motor running with SimpleFOC 2.1.1 on a MKS ESP32 FOC V1.0 board. The goal is closed-loop position control at high speed with reasonable power consumption. After a lot…

---

## [Motor shaking while doing .init](https://community.simplefoc.com/t/motor-shaking-while-doing-init/8142)

<div class="topic-metadata">

**Author:** [@cronos](https://community.simplefoc.com/u/cronos)\
**Replies:** 1\
**Last updated:** [May 25, 2026, 10:47am UTC](https://community.simplefoc.com/t/motor-shaking-while-doing-init/8142 "2026-05-25T10:47:46Z")

</div>

I’m using simplefoc mini to control gimbal BLDC motor 2804 100T , encoder AS 5600 I2C (closed loop control example) Motor init shaking (few months ago it’s not working like that) I also checked encoder value no abnorm…

---

## [To much current and to low rpm](https://community.simplefoc.com/t/to-much-current-and-to-low-rpm/8101)

<div class="topic-metadata">

**Author:** [@Cyber](https://community.simplefoc.com/u/Cyber)\
**Replies:** 0\
**Last updated:** [April 28, 2026, 3:12pm UTC](https://community.simplefoc.com/t/to-much-current-and-to-low-rpm/8101 "2026-04-28T15:12:54Z")

</div>

Hello, i am very new to SimpleFOC but i think your work is awsome and i want to use SimpleFOC in my new project. I have a BLDC with 2 polpairs and 3 hallsensors. The resistance is approximatly 5.6 Ohm and the motor is …

---

## [Custom FOC drive using the IR2104s runing simpleFOC on ESP32 jerks back and forth in openloop test. why?](https://community.simplefoc.com/t/custom-foc-drive-using-the-ir2104s-runing-simplefoc-on-esp32-jerks-back-and-forth-in-openloop-test-why/8069)

<div class="topic-metadata">

**Author:** [@boumetrayane](https://community.simplefoc.com/u/boumetrayane)\
**Replies:** 4\
**Last updated:** [April 12, 2026, 1:17am UTC](https://community.simplefoc.com/t/custom-foc-drive-using-the-ir2104s-runing-simplefoc-on-esp32-jerks-back-and-forth-in-openloop-test-why/8069 "2026-04-12T01:17:41Z")

</div>

Hello everyone, I am new to SimpleFOC, and I’m struggling to get a smooth rotation with a commercial drone BLDC motor. I am using a custom board. Here are the main MOSFETs + MOSFET controllers schematic: The Problem…

---

## [esp32-wroom-32D + TMC6300 + EM3215](https://community.simplefoc.com/t/esp32-wroom-32d-tmc6300-em3215/4566)

<div class="topic-metadata">

**Author:** [@Ziayakens](https://community.simplefoc.com/u/Ziayakens)\
**Replies:** 7\
**Last updated:** [March 24, 2026, 1:44pm UTC](https://community.simplefoc.com/t/esp32-wroom-32d-tmc6300-em3215/4566 "2026-03-24T13:44:15Z")

</div>

The problem: My motor toggles back and forth what I have done: I’ve tried a wild amount of different things but the farthest I’ve gotten is: I have the three wires from the motor connected to pins U V and W on the dri…

---

## [Getting started with Makerbase ESP32 V2 driver board - unsure about encoder input](https://community.simplefoc.com/t/getting-started-with-makerbase-esp32-v2-driver-board-unsure-about-encoder-input/8041)

<div class="topic-metadata">

**Author:** [@Taako](https://community.simplefoc.com/u/Taako)\
**Replies:** 1\
**Last updated:** [March 22, 2026, 5:51pm UTC](https://community.simplefoc.com/t/getting-started-with-makerbase-esp32-v2-driver-board-unsure-about-encoder-input/8041 "2026-03-22T17:51:20Z")

</div>

I got a bunch of hand-me-down BLDC motors I am getting started learning about BLDC drivers with the eventual goal to build an under-actuated robot (biped or quadruped). I’m starting small with a simple “smart knob” proje…

---

## [Makerbase Dual FOC](https://community.simplefoc.com/t/makerbase-dual-foc/2987)

<div class="topic-metadata">

**Author:** [@ashal](https://community.simplefoc.com/u/ashal)\
**Replies:** 3\
**Last updated:** [March 21, 2026, 2:35pm UTC](https://community.simplefoc.com/t/makerbase-dual-foc/2987 "2026-03-21T14:35:24Z")

</div>

The project i am working on is to make a simulation platform for testing of high speed UAV flight control computers and thus need to control BLDC Motors to track real time input rates. I ordered three gimbal motors and a…

---

## [Inline current sensing and velocity measurments don't match reality](https://community.simplefoc.com/t/inline-current-sensing-and-velocity-measurments-dont-match-reality/8028)

<div class="topic-metadata">

**Author:** [@OiD-W](https://community.simplefoc.com/u/OiD-W)\
**Replies:** 2\
**Last updated:** [March 17, 2026, 2:04pm UTC](https://community.simplefoc.com/t/inline-current-sensing-and-velocity-measurments-dont-match-reality/8028 "2026-03-17T14:04:30Z")

</div>

Hi again! I’m going nowhere with the PID tunning and went back to the basics. I’ve noticed that the velocity value when idle is not zero, it jumps around slowly to some random value. This is not an issue when testing t…

---

## [Oscillations in rotational speed](https://community.simplefoc.com/t/oscillations-in-rotational-speed/8010)

<div class="topic-metadata">

**Author:** [@zaguoba](https://community.simplefoc.com/u/zaguoba)\
**Replies:** 11\
**Last updated:** [March 6, 2026, 10:56pm UTC](https://community.simplefoc.com/t/oscillations-in-rotational-speed/8010 "2026-03-06T22:56:46Z")

</div>

Hello fellow makers, I’d like to ask you for some directions regarding my somewhat unstable (yet repeating) chart of motor rpm. On picture, you can clearly see two periods of registered rotations, which are supposed t…

---

## [Help needed for BLDC velocity control](https://community.simplefoc.com/t/help-needed-for-bldc-velocity-control/8020)

<div class="topic-metadata">

**Author:** [@AppleT](https://community.simplefoc.com/u/AppleT)\
**Replies:** 2\
**Last updated:** [March 2, 2026, 6:30am UTC](https://community.simplefoc.com/t/help-needed-for-bldc-velocity-control/8020 "2026-03-02T06:30:13Z")

</div>

Hello, I am currently attempting to build a reaction wheel based attitude control system for a project. Therefore, my first objective is to establish velocity control for my BLDC motor, ideally in closed loop. However, m…

---

## [Motor driver recommendation for 1U Cubli reaction wheel build (Sunnysky 4008 380KV, 4S)](https://community.simplefoc.com/t/motor-driver-recommendation-for-1u-cubli-reaction-wheel-build-sunnysky-4008-380kv-4s/8004)

<div class="topic-metadata">

**Author:** [@ploopy246](https://community.simplefoc.com/u/ploopy246)\
**Replies:** 0\
**Last updated:** [February 20, 2026, 4:15pm UTC](https://community.simplefoc.com/t/motor-driver-recommendation-for-1u-cubli-reaction-wheel-build-sunnysky-4008-380kv-4s/8004 "2026-02-20T16:15:46Z")

</div>

Hi everyone, I’m an aerospace engineering student building a 1U Cubli that balances on 1 and 3 axes using reaction wheels. I need help choosing the right motor driver. My components: Motor: Sunnysky 4008 380KV BLDC (x3…

---

## [Webcontroller with multiple dual motors](https://community.simplefoc.com/t/webcontroller-with-multiple-dual-motors/7986)

<div class="topic-metadata">

**Author:** [@OiD-W](https://community.simplefoc.com/u/OiD-W)\
**Replies:** 2\
**Last updated:** [February 15, 2026, 2:55am UTC](https://community.simplefoc.com/t/webcontroller-with-multiple-dual-motors/7986 "2026-02-15T02:55:47Z")

</div>

Hi again! I’m trying to get two motors to show up in the Webcontroller but i can only get one or the other to work. I can’t find any examples of two motors being used in the Webcontroller. Here is the code I’m using: …

---

## [ESP32 + simpleFOCmini v1.0 + 2804 220KV motor not spinning only twitching](https://community.simplefoc.com/t/esp32-simplefocmini-v1-0-2804-220kv-motor-not-spinning-only-twitching/7983)

<div class="topic-metadata">

**Author:** [@RUWO](https://community.simplefoc.com/u/RUWO)\
**Replies:** 1\
**Last updated:** [February 13, 2026, 7:24am UTC](https://community.simplefoc.com/t/esp32-simplefocmini-v1-0-2804-220kv-motor-not-spinning-only-twitching/7983 "2026-02-13T07:24:06Z")

</div>

hello, as the title suggests, i can’t get my motor to spin in open loop control using the open loop example from the arduino library. at higher speeds it just kinda vibrates and at lower speeds it completes about an eig…

---

## [Minimal system: XIAOESP32S3 DRV8313 INA219 AS5048 PM1105](https://community.simplefoc.com/t/minimal-system-xiaoesp32s3-drv8313-ina219-as5048-pm1105/7984)

<div class="topic-metadata">

**Author:** [@peepo](https://community.simplefoc.com/u/peepo)\
**Replies:** 1\
**Last updated:** [February 11, 2026, 3:55pm UTC](https://community.simplefoc.com/t/minimal-system-xiaoesp32s3-drv8313-ina219-as5048-pm1105/7984 "2026-02-11T15:55:49Z")

</div>

I’d like to see someone else’s miniature system, even better if the boards availble! To my mind, the XIAO offers great potential, and current\_sense is a big bonus. Where are the projects? I may build, but…

---

## [Advice on motor driver board for low power foc and some extra functions](https://community.simplefoc.com/t/advice-on-motor-driver-board-for-low-power-foc-and-some-extra-functions/7974)

<div class="topic-metadata">

**Author:** [@Hank123](https://community.simplefoc.com/u/Hank123)\
**Replies:** 0\
**Last updated:** [February 6, 2026, 3:12pm UTC](https://community.simplefoc.com/t/advice-on-motor-driver-board-for-low-power-foc-and-some-extra-functions/7974 "2026-02-06T15:12:50Z")

</div>

Hi I am exploring a low power drive system at 24V. Its a thread winder that need some torque from low rpm but most importantly is very quiet. System peak power 100W, usually 15-50W continuos load. I have tested a number…

---

## [Advise on my PID control and any improvements?](https://community.simplefoc.com/t/advise-on-my-pid-control-and-any-improvements/7967)

<div class="topic-metadata">

**Author:** [@RolandThsive](https://community.simplefoc.com/u/RolandThsive)\
**Replies:** 0\
**Last updated:** [January 30, 2026, 8:44pm UTC](https://community.simplefoc.com/t/advise-on-my-pid-control-and-any-improvements/7967 "2026-01-30T20:44:54Z")

</div>

Hello everyone, My objective is to build the world’s most springy, smooth, and compact gimbal BLDC motor (direct-drive)–driven robot arm using SimpleFOC, and this post marks my starting point. I have chosen the T-Motor …

---

## [ESP32-S3 ADC accuracy for a gimbal use case](https://community.simplefoc.com/t/esp32-s3-adc-accuracy-for-a-gimbal-use-case/7960)

<div class="topic-metadata">

**Author:** [@Ryanlm](https://community.simplefoc.com/u/Ryanlm)\
**Replies:** 1\
**Last updated:** [January 28, 2026, 8:11am UTC](https://community.simplefoc.com/t/esp32-s3-adc-accuracy-for-a-gimbal-use-case/7960 "2026-01-28T08:11:06Z")

</div>

I am building camera gimbal / pan/tilt/yaw type device that will be doing face tracking. I have been designing using the ESP32-S3 to run the three FOC loops, and use the onboard ADCs for current sensing. I stumbled upo…

---

## [DRV8305 + ESP32 schematic review request](https://community.simplefoc.com/t/drv8305-esp32-schematic-review-request/7951)

<div class="topic-metadata">

**Author:** [@lewis\_m](https://community.simplefoc.com/u/lewis_m)\
**Replies:** 0\
**Last updated:** [January 24, 2026, 9:50pm UTC](https://community.simplefoc.com/t/drv8305-esp32-schematic-review-request/7951 "2026-01-24T21:50:27Z")

</div>

Hi everyone, I am quite new to simpleFOC and motor control theory in general but have put together a schematic based on the DRV8305, NTMFS5C612NL fets and ESP32-WROOM-32. Using an AS5600 for position and low side current…

---

## [Iq spike above the target current\_q when the motor hits an obstacle](https://community.simplefoc.com/t/iq-spike-above-the-target-current-q-when-the-motor-hits-an-obstacle/7938)

<div class="topic-metadata">

**Author:** [@JC\_Tang](https://community.simplefoc.com/u/JC_Tang)\
**Replies:** 6\
**Last updated:** [January 22, 2026, 3:20am UTC](https://community.simplefoc.com/t/iq-spike-above-the-target-current-q-when-the-motor-hits-an-obstacle/7938 "2026-01-22T03:20:42Z")

</div>

Hardware Setup MCU: ESP32-S3 Motor Driver: DRV8305 (6-PWM mode enabled) Motor: BLDC / PMSM Encoder: AS5048B (I2Cclock speed: 100kHz) Current Sensing: LowSideCurrentSense Control Configuration Control M…

[Next page](https://community.simplefoc.com/tag/esp32/4.md?match_all_tags=true&page=1&tags%5B%5D=esp32)
