Arduino-FOC
Arduino-FOC copied to clipboard
Arduino FOC for BLDC and Stepper motors - Arduino Based Field Oriented Control Algorithm Library
At the moment there is no way for a sensor to fail gracefully. But in the presence of noisy lines it would be useful to check the CRC data returned...
Running 2.3.1 with Driver 1.0.5 I encountered an issue using the webcontroller trying to set the correct parameters. Doing so, I changed the control and torque mode multiple times on...
I'm testing the torque control algorythm with arduino UNO, simple FOC shield (version 2.0.4) and BLDC motor (8 poles) with Hall sensors integrated. When I launch the program obtain "Failed...
dev´s
**Describe the bug** When using SimpleFOC, the program will stay at the current_sense.init(); function location **Describe the hardware setup** For us it is very important to know what is the...
Hi, This is not adding a feature, but could make further changes easier. There is duplicate code [here](https://github.com/simplefoc/Arduino-FOC/blob/05954cb9691534dd478407505d810a68f1673a5e/src/common/base_classes/CurrentSense.cpp#L14) and [here](https://github.com/simplefoc/Arduino-FOC/blob/05954cb9691534dd478407505d810a68f1673a5e/src/common/base_classes/CurrentSense.cpp#L55) ``` // calculate clarke transform float i_alpha, i_beta; if(!current.c){ //...
Hi, I just wanted to share few ideas I tried in the past: - You can use such advanced [forms](https://github.com/EFeru/hoverboard-firmware-hack-FOC/issues/new?assignees=&labels=bug&projects=&template=bug_report.yaml) if you want to force the users to enter some...
**Describe the bug** The motor skips approx every 2 seconds, in open loop as well as closed loop. **Describe the hardware setup** - Which motor - 1.8 degreee stepper -...
I tried to use I simple esp32 and L296n for test reasons. I was not able to get a working PWM signal. I changed the DCDriver to DCDriver1PWM2Dir driver =...
1. mechanic_angle & mechanic_angle_prev from 0° ~ 360°. 2. The angle changes from -180° to +180°. 3. rotation_cnt for angle control. step 1: if(mechanic_angle > mechanic_angle_prev + 180){ mechanic_angle -=...