# espFoC open loop demo: This example demonstrates how to setup a PMSM motor using the espFoC in using the simulated rotor sensor, it simulates the electrical plus the mechanical behavior of the rotor to deliver a simulated encoder to feed the FoC Engine. No encoder is required to run this sample, you need however the motor phase resistance in Ohms and the Phase inductance in Henry ## Getting started: * You must wire your ESP32 board to an driver breakout board which supports 3 PWM driving such as: L6234, L6230 or DRV8301; * Install the ESP-IDF and export it; * Configure this project if needed by: ``` $ idf.py menuconfig ``` * On terminal, inside of this folder type: ``` $ idf.py build flash monitor ``` * The motor should start to moving.
To create a project from this example, run:
idf.py create-project-from-example "ulipe/espfoc=1.3.0:open_loop"