-
Hi,
I'm playing with simplefoc lib and lowside current sense a little bit.
I add a current sense oject to my code like
`LowsideCurrentSense cs = LowsideCurrentSense(0.015f, 20.0f, CS_A, CS_B);`
a…
-
### Variant
USART
### Control type
FOC
### Control mode
Torque
### What can we do to make the firmware better?
So i just went through the code and couldnt find code that might eas…
4W4I5 updated
2 years ago
-
I update the library to the latest one, and in openloop velocity control, when I set the target speed to a positive value, such as
"motor0.move((float)(20.0));"
the motor can work well; but when I …
-
Hi
There is some bug in the /drivers/hardware_specific/samd51_mcu.cpp
See this log: https://community.simplefoc.com/t/same51-pin-configuration/1280/3
Attached variant.cpp:
https://github.com…
-
Hi, what is your suggested resolution in ppr? I have 400 and 600 ppr with z index. Also I have as5047p magnetic higher resolution. Is bigger is better, or there is a limit for arduino?
I am making …
-
Hi,
I am working on a different library "SimpleFOC" for ESP32 Microcontroller. In your code you have implemented estimation algorithm for Rotor angle and speed. Can I use these algorithms with that l…
-
This is a simplified template, feel free to change it if it does not fit your case.
**Describe the bug**
The motor stops sometimes when it changes direction. The calculated voltages are NaN - caus…
-
Hello, I am doing a project onewheel, I need a controller with the ability to control the balance. I have a hoverboard controller with firmware https://github.com/EmanuelFeru/hoverboard-firmware-hack…
vfear updated
2 years ago
-
Arduino-FOC\src\common\lowpass_filter.cpp
LowPassFilter::operator()
Line 16
if (dt < 0.0f ) dt = 1e-3f;
Change to
if (dt
FFiot updated
2 years ago
-
### Variant
ADC
### Control type
Commutation
### Control mode
Voltage
### Description
Hi! For past 2 months i've build electric kick scooter using hooveroard hardware. And while m…