Arduino-FOC icon indicating copy to clipboard operation
Arduino-FOC copied to clipboard

Arduino FOC for BLDC and Stepper motors - Arduino Based Field Oriented Control Algorithm Library

Results 147 Arduino-FOC issues
Sort by recently updated
recently updated
newest added

ESP32 crashes when trying to initialize the second instance of ESP32HWEncoder. main.cpp ``` #include "encoders/esp32hwencoder/ESP32HWEncoder.h" const int ENCODER_CPR = 1234; ESP32HWEncoder sensor1 = ESP32HWEncoder(16, 17, ENCODER_CPR); ESP32HWEncoder sensor2 = ESP32HWEncoder(18,...

possible bug

Hello, I just bought a simplefocmini on for the first time and uploaded the open loop motor control example but was getting the following error: ``` ESP32-DRV: ERROR - Could...

possible bug

The hall sensor velocity estimation could end up returning a nonzero value if the timer "wrapped" between runs, even if the motor was actually stationary. If using the velocity regulator...

bug

See the discussion in Discord starting from [here](https://discord.com/channels/927331369137352734/927333189981196298/1374189697391132712)

Hello i want to control a bldc 3 phase sensored Motor and i have a esp32 with three u3115s mosfet drivers that invert the low side so that the Low...

question

**Describe the bug** Symptom: It is not possible to initialize two 3PWM drivers on ESP32-C3. The .init() function of the second driver will print the following error during setup of...

possible bug

nvs not good work,when i use simplefoc,this is a issue: ============================================== void _driverSyncLowSide(void* driver_params, void* cs_params){ mcpwm_dev_t* mcpwm_dev = ((ESP32MCPWMDriverParams*)driver_params)->mcpwm_dev; mcpwm_unit_t mcpwm_unit = ((ESP32MCPWMDriverParams*)driver_params)->mcpwm_unit; mcpwm_dev->int_ena.timer0_tep_int_ena = true;//A PWM timer 0...

possible bug

This is a current ADC channel configuration bug This function ================================ uint16_t IRAM_ATTR adcRead(uint8_t pin) //修改7 change 7->9 if(channel > 9){ channel -= 10; CLEAR_PERI_REG_MASK(SENS_SAR_MEAS2_CTRL2_REG, SENS_MEAS2_START_SAR_M); SET_PERI_REG_BITS(SENS_SAR_MEAS2_CTRL2_REG, SENS_SAR2_EN_PAD, (1 9){...

possible bug

This IC does not increment I2C read pointer when the angle is read for performance reasons. There is no need to rewrite the register address on an every request. This...

Hi, TI offers excellent chips like the DRV8262/8962 for stepper motors. However, both of these chips feature an integrated high-side current sensor. From reading your documents, I understand that for...

enhancement