# \#l298n

**URL:** https://community.simplefoc.com/tag/l298n/5.md

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

---

## [Stepper Motor not moving to target position](https://community.simplefoc.com/t/stepper-motor-not-moving-to-target-position/7093)

<div class="topic-metadata">

**Author:** [@Brent\_Porter](https://community.simplefoc.com/u/Brent_Porter)\
**Replies:** 2\
**Last updated:** [April 26, 2025, 8:16am UTC](https://community.simplefoc.com/t/stepper-motor-not-moving-to-target-position/7093 "2025-04-26T08:16:32Z")

</div>

SETUP: I am using a Raspberry Pi Pico configured for the Arduino IDE using the Arduino-Pico library. I am using NEMA08-AMT112S series stepper motor that comes with an encoder. The driver is a standard L298N stepper drive…

---

## [Stepper motor - STM32 - L298 - AS5048A - Unable to make it work in closed loop](https://community.simplefoc.com/t/stepper-motor-stm32-l298-as5048a-unable-to-make-it-work-in-closed-loop/2401)

<div class="topic-metadata">

**Author:** [@deffie](https://community.simplefoc.com/u/deffie)\
**Replies:** 10\
**Last updated:** [September 27, 2024, 6:58pm UTC](https://community.simplefoc.com/t/stepper-motor-stm32-l298-as5048a-unable-to-make-it-work-in-closed-loop/2401 "2024-09-27T18:58:29Z")

</div>

Hello everyone, it is some days I’m trying to move my first steps (lol) with simplefoc and a nema 17 stepper motor. Hardware: black stm32f407ve board L298N driver AS5600 (i2c) AS5048A (spi) Nema 17 50pp stepper mo…

---

## [Help with FOC of NEMA 17 Stepper Motor with as5600, L298N, and Arduino Mega 2560](https://community.simplefoc.com/t/help-with-foc-of-nema-17-stepper-motor-with-as5600-l298n-and-arduino-mega-2560/2993)

<div class="topic-metadata">

**Author:** [@Clayton\_Young](https://community.simplefoc.com/u/Clayton_Young)\
**Replies:** 10\
**Last updated:** [May 24, 2024, 8:33am UTC](https://community.simplefoc.com/t/help-with-foc-of-nema-17-stepper-motor-with-as5600-l298n-and-arduino-mega-2560/2993 "2024-05-24T08:33:27Z")

</div>

Looking for support for FOC control of a NEMA 17 Stepper Motor, with as5600 magnetic sensor, L298N motor driver, and Arduino Mega 2560 MCU. Open loop control works, (but noisy), but when I switch over to closed loop, th…

---

## [FOC Calibration Not Running](https://community.simplefoc.com/t/foc-calibration-not-running/4103)

<div class="topic-metadata">

**Author:** [@valdesreciof](https://community.simplefoc.com/u/valdesreciof)\
**Replies:** 3\
**Last updated:** [November 23, 2023, 11:04pm UTC](https://community.simplefoc.com/t/foc-calibration-not-running/4103 "2023-11-23T23:04:49Z")

</div>

Hi all! I have been having a heck of a time getting my setup to work (see tags for devices). I am doing all my programming in PlatformIO within Visual Studio Code. I have been able to get the angle off of my AS5048B (t…

---

## [Stepper Motor Closed Loop issue](https://community.simplefoc.com/t/stepper-motor-closed-loop-issue/3254)

<div class="topic-metadata">

**Author:** [@JorgeMaker](https://community.simplefoc.com/u/JorgeMaker)\
**Replies:** 19\
**Last updated:** [April 20, 2023, 12:17am UTC](https://community.simplefoc.com/t/stepper-motor-closed-loop-issue/3254 "2023-04-20T00:17:00Z")

</div>

Hey everyone, Hi, I’m starting a project to design a board based on STM32 and DRV8412 to control a stepper motor using SimpleFOC. Before sending the boards to produce I am doing a firmware validation to be sure that I c…

---

## [Moving from open-loop to closed-loop (Arduino UNO, L298N, BLDC motor)](https://community.simplefoc.com/t/moving-from-open-loop-to-closed-loop-arduino-uno-l298n-bldc-motor/3168)

<div class="topic-metadata">

**Author:** [@mcharrisj](https://community.simplefoc.com/u/mcharrisj)\
**Replies:** 4\
**Last updated:** [April 7, 2023, 1:29pm UTC](https://community.simplefoc.com/t/moving-from-open-loop-to-closed-loop-arduino-uno-l298n-bldc-motor/3168 "2023-04-07T13:29:52Z")

</div>

Good Afternoon, I’m looking for some help in getting the torque control mode to work for a BLDC motor. Hardware: Arduino UNO R3 L298N (I know this is not ideal for BLDC motors, but it’s what I have right now) 3pp bld…

---

## [I'm going to give up on Stepper motors](https://community.simplefoc.com/t/im-going-to-give-up-on-stepper-motors/2469)

<div class="topic-metadata">

**Author:** [@Carl](https://community.simplefoc.com/u/Carl)\
**Replies:** 17\
**Last updated:** [September 30, 2022, 9:25pm UTC](https://community.simplefoc.com/t/im-going-to-give-up-on-stepper-motors/2469 "2022-09-30T21:25:34Z")

</div>

I am using simpleFOC quite successfully on a 4 PP BLDC motor with Teensy 4 and L298N (or the Deng FOC controller) with AS5048A magnetic sensor. I can get 300 r/sec. But for my application the motor is cogging very sli…

---

## [Esp32 + l298n + as5600 \[Solved: wrong pins\]](https://community.simplefoc.com/t/esp32-l298n-as5600-solved-wrong-pins/929)

<div class="topic-metadata">

**Author:** [@TwinLizzie](https://community.simplefoc.com/u/TwinLizzie)\
**Replies:** 12\
**Last updated:** [June 1, 2021, 8:35am UTC](https://community.simplefoc.com/t/esp32-l298n-as5600-solved-wrong-pins/929 "2021-06-01T08:35:02Z")

</div>

Hi there, I’ve just set up ESP32 with L298N motor driver and AS5600 sensor. The sensor reads perfectly well using the basic getting started code for sensor only, so there’s no problem there. I’m using the Example code…
