# \#arduino

**URL:** https://community.simplefoc.com/tag/arduino/77.md

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

---

## [Problems starting a BLDC motor with a homemade driver](https://community.simplefoc.com/t/problems-starting-a-bldc-motor-with-a-homemade-driver/7701)

<div class="topic-metadata">

**Author:** [@Vortex](https://community.simplefoc.com/u/Vortex)\
**Replies:** 3\
**Last updated:** [October 24, 2025, 10:26pm UTC](https://community.simplefoc.com/t/problems-starting-a-bldc-motor-with-a-homemade-driver/7701 "2025-10-24T22:26:46Z")

</div>

Hello everyone, I’ll just say that I’m using Google Translate to write this text. I apologize in advance for any distorted words. I’m trying to run a MT5208 340kV BLDC motor on an Arduino NANO microcontroller using a ho…

---

## [How do I add SimpleFOC support to my "SimpleBLDC" controller?](https://community.simplefoc.com/t/how-do-i-add-simplefoc-support-to-my-simplebldc-controller/7184)

<div class="topic-metadata">

**Author:** [@Techn0man1ac](https://community.simplefoc.com/u/Techn0man1ac)\
**Replies:** 7\
**Last updated:** [May 14, 2025, 10:50pm UTC](https://community.simplefoc.com/t/how-do-i-add-simplefoc-support-to-my-simplebldc-controller/7184 "2025-05-14T22:50:58Z")

</div>

Hello, community. As a hobby, I am developing a simple BLDC controller for an electric bicycle (motor wheel, direct drive, with Hall sensors) for 650 watts, I have already developed the hardware, ordered, assembled. Now…

---

## [Custom PCB doesn't move the motor](https://community.simplefoc.com/t/custom-pcb-doesnt-move-the-motor/7118)

<div class="topic-metadata">

**Author:** [@Jose\_Aldahir\_Espinos](https://community.simplefoc.com/u/Jose_Aldahir_Espinos)\
**Replies:** 37\
**Last updated:** [May 9, 2025, 6:43pm UTC](https://community.simplefoc.com/t/custom-pcb-doesnt-move-the-motor/7118 "2025-05-09T18:43:49Z")

</div>

Hi, I make mi own PCB with atmega328pb, as5600 and L6234D. I tried to make a BLDC tester. When I try the angle read with the as5600 it’s all perfect, the as5600 reads the angle well. But when I try with codes that sup…

---

## [SAMD21 compilation issue](https://community.simplefoc.com/t/samd21-compilation-issue/7068)

<div class="topic-metadata">

**Author:** [@Mulleteer](https://community.simplefoc.com/u/Mulleteer)\
**Replies:** 1\
**Last updated:** [April 13, 2025, 12:30pm UTC](https://community.simplefoc.com/t/samd21-compilation-issue/7068 "2025-04-13T12:30:53Z")

</div>

Hi, I’m trying out SimpleFoC with Arduino Nano 33 IoT + BLDC and have got it working quite well. SimpleFoC has an experimental low side current sensing support for SAMD21 and I wanted to try it. However, it’s not compil…

---

## [Angle controll with 2 BLDC](https://community.simplefoc.com/t/angle-controll-with-2-bldc/7023)

<div class="topic-metadata">

**Author:** [@Pompelli](https://community.simplefoc.com/u/Pompelli)\
**Replies:** 1\
**Last updated:** [April 6, 2025, 8:14am UTC](https://community.simplefoc.com/t/angle-controll-with-2-bldc/7023 "2025-04-06T08:14:34Z")

</div>

Hi, I am using an arduino due and two simple foc shields. I want to controll the angle of each motor with a Poti. But my 2nd motor just does whatever the first one does but without controller. I think one shield is some …

---

## [Zero electrical angle in torque mode](https://community.simplefoc.com/t/zero-electrical-angle-in-torque-mode/6725)

<div class="topic-metadata">

**Author:** [@Papouc](https://community.simplefoc.com/u/Papouc)\
**Replies:** 4\
**Last updated:** [February 12, 2025, 11:50pm UTC](https://community.simplefoc.com/t/zero-electrical-angle-in-torque-mode/6725 "2025-02-12T23:50:56Z")

</div>

Hi, I have a question about expected behavior of torque control mode. Specifically I am using the voltage mode in torque control loop. The motor behaves rather random after every reboot of the driver. Let me explain :D…

---

## [Halbach array rotor issues compared to standard rotor](https://community.simplefoc.com/t/halbach-array-rotor-issues-compared-to-standard-rotor/6497)

<div class="topic-metadata">

**Author:** [@Papouc](https://community.simplefoc.com/u/Papouc)\
**Replies:** 4\
**Last updated:** [January 1, 2025, 10:57am UTC](https://community.simplefoc.com/t/halbach-array-rotor-issues-compared-to-standard-rotor/6497 "2025-01-01T10:57:05Z")

</div>

Hi everyone, I would like to share some progress on the custom BLDC motor (and driver) that I’ve been working on for past few months. From the last version (discussed here) there were a few major changes. First of all,…

---

## [Different types of voltage limits](https://community.simplefoc.com/t/different-types-of-voltage-limits/6491)

<div class="topic-metadata">

**Author:** [@Papouc](https://community.simplefoc.com/u/Papouc)\
**Replies:** 1\
**Last updated:** [December 28, 2024, 4:16pm UTC](https://community.simplefoc.com/t/different-types-of-voltage-limits/6491 "2024-12-28T16:16:15Z")

</div>

Hi, I recently got a new driver board and burned a motor with it :D. I’ve used a code that worked with the previous driver, but with the new one it produces very high current flow through the motor. The sketch only lim…

---

## [How to Interface an External MCU with B-G431B-ESC1 Discovery Kit for High Precision BLDC Motor Control using SimpleFOC?](https://community.simplefoc.com/t/how-to-interface-an-external-mcu-with-b-g431b-esc1-discovery-kit-for-high-precision-bldc-motor-control-using-simplefoc/5099)

<div class="topic-metadata">

**Author:** [@dharani\_hariharan](https://community.simplefoc.com/u/dharani_hariharan)\
**Replies:** 7\
**Last updated:** [November 19, 2024, 10:24pm UTC](https://community.simplefoc.com/t/how-to-interface-an-external-mcu-with-b-g431b-esc1-discovery-kit-for-high-precision-bldc-motor-control-using-simplefoc/5099 "2024-11-19T22:24:52Z")

</div>

How to Interface an External MCU with B-G431B-ESC1 Discovery Kit for High Precision BLDC Motor Control using SimpleFOC?\*\* Hello everyone, I’m working on a high-precision BLDC motor control project and I need some guida…

---

## [Help needed regarding custom DRV8302 based driver](https://community.simplefoc.com/t/help-needed-regarding-custom-drv8302-based-driver/5458)

<div class="topic-metadata">

**Author:** [@Papouc](https://community.simplefoc.com/u/Papouc)\
**Replies:** 8\
**Last updated:** [September 20, 2024, 2:56pm UTC](https://community.simplefoc.com/t/help-needed-regarding-custom-drv8302-based-driver/5458 "2024-09-20T14:56:30Z")

</div>

Hi community, I recently started to experiment with driving BLDC motors. My main intention is to put together a motorized leg for robot dog. So I designed my custom driver board supporting SimpleFOC. I based it around …

---

## [How can I smooth over a sensor dead zone that straddles the zero point?](https://community.simplefoc.com/t/how-can-i-smooth-over-a-sensor-dead-zone-that-straddles-the-zero-point/4349)

<div class="topic-metadata">

**Author:** [@MechanicalMink](https://community.simplefoc.com/u/MechanicalMink)\
**Replies:** 3\
**Last updated:** [January 21, 2024, 1:37pm UTC](https://community.simplefoc.com/t/how-can-i-smooth-over-a-sensor-dead-zone-that-straddles-the-zero-point/4349 "2024-01-21T13:37:51Z")

</div>

There seems to be a dead zone in my magnetic PWM sensors that spans over the zero point. When the motor is in this position, it buzzes, draws a ton of current, and cannot start itself in any closed loop mode. It must be …

---

## [Controlling BLDC motor using 6 MOSFET's + Arduino/ESP32](https://community.simplefoc.com/t/controlling-bldc-motor-using-6-mosfets-arduino-esp32/4327)

<div class="topic-metadata">

**Author:** [@NES\_U](https://community.simplefoc.com/u/NES_U)\
**Replies:** 4\
**Last updated:** [January 16, 2024, 12:49pm UTC](https://community.simplefoc.com/t/controlling-bldc-motor-using-6-mosfets-arduino-esp32/4327 "2024-01-16T12:49:55Z")

</div>

Hello to everyone! I want to control my BLDC motor using Arduino/ESP32 and 6 MOSFET’s, instead of driver. I read really a lot of info, and wathed a lot of videos, but I still don’t understand how to do it, unfortunately.…

---

## [AS5600 MOT: init FOC Failed](https://community.simplefoc.com/t/as5600-mot-init-foc-failed/4008)

<div class="topic-metadata">

**Author:** [@Jimmy](https://community.simplefoc.com/u/Jimmy)\
**Replies:** 6\
**Last updated:** [December 1, 2023, 9:40am UTC](https://community.simplefoc.com/t/as5600-mot-init-foc-failed/4008 "2023-12-01T09:40:40Z")

</div>

Hi guys, I’m now trying to run a gimbal motor with as5600 and mega2560 for my project. My problem now is that the motor is spinning during the init process but the serial shows that this process failed because no movemen…

---

## [PWM Frequency for DRV8302](https://community.simplefoc.com/t/pwm-frequency-for-drv8302/3220)

<div class="topic-metadata">

**Author:** [@zulfiar-am](https://community.simplefoc.com/u/zulfiar-am)\
**Replies:** 6\
**Last updated:** [May 24, 2023, 5:17pm UTC](https://community.simplefoc.com/t/pwm-frequency-for-drv8302/3220 "2023-05-24T17:17:50Z")

</div>

Hi guys… I would like to know what is the best pwm frequency to use in DRV8302 driver module? I’m currently using a 20kHz PWM frequency, it’s been working pretty well for my BLDC motor. But I want to know, what is the …
