Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev to master for the release v2.3.4 #425

Merged
merged 71 commits into from
Jul 21, 2024
Merged

Dev to master for the release v2.3.4 #425

merged 71 commits into from
Jul 21, 2024

Conversation

askuric
Copy link
Member

@askuric askuric commented Jul 21, 2024

NEXT RELEASE 📢 : SimpleFOClibrary v2.3.4

  • ESP32 MCUs extended support #414
    • Transition to the arduino-esp32 version v3.x (ESP-IDF v5.x) #387
    • New support for MCPWM driver
    • New support for LEDC drivers - center-aligned PWM and 6PWM available
    • Rewritten and simplified the fast ADC driver code (adcRead) - for low-side and inline current sensing.
  • Stepper motors current sensing support #421
    • Support for current sensing (low-side and inline) - see in docs
    • Support for true FOC control - foc_current torque control - see in docs
  • New current sense alignment procedure #422 - see in docs
    • Support for steppers
    • Much more robust and reliable
    • More verbose and informative
  • Support for HallSensors without interrupts #424 - see in docs
  • Docs
    • A short guide to debugging of common issues
    • A short guide to the units in the library - see in docs
  • See the complete list of bugfixes and new features of v2.3.4 fixes and PRs

dekutree64 and others added 30 commits January 13, 2024 20:25
Changes compared to the original pull request in the drivers repository simplefoc/Arduino-FOC-drivers#12
1. Added a version of init which turns the motor one revolution to find the center values of the sensors.
2. Moved the calls to analogRead into a weakly bound function ReadLinearHalls so it can be overridden with custom ADC code on platforms with poor analogRead performance.
3. Commented out the pinMode calls in init, which makes it possible to pass in ADC channel numbers for custom ReadLinearHalls to use without having to remap them every update.
4. Changed to use the much faster _atan2 function that was added to foc_utils recently.
5. Added examples.
fix RP2040 compile problems with earlehillpower
Merge teensy updates from master branch
move setting target to start of move() #404
(cherry picked from commit b25ef8e)
add MT6701 I2C sensor configuration
Added gain documentation to B_G431B_ESC1.ino
…ense with the new esp32 api"

This reverts commit a7ed4ba.
askuric and others added 28 commits June 22, 2024 12:36
…o-esp32-v301-current_sensing

408 feature support for arduino esp32 v301 current sensing
Terrible bug in the fast sin/cos added last year, resulting in rough sine waves and a spike from +1 to -1 at pi/2
I thought I discarded this change after moving LinearHall back to drivers, but somehow it got included anyway
Fix for #415 sin/cos integer overflow on 16-bit CPUs
@askuric askuric merged commit c72f063 into master Jul 21, 2024
45 checks passed
@askuric askuric added this to the 2.3.4_Release milestone Jul 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants