Skip to content

gustavolaureano/updated_balac_pid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Arduino code for the M5stack BalaC balancing robot: https://m5stack.com/products/bala-c-esp32-development-mini-self-balancing-car

This code is a modified version of the updated Coppercele's code: https://qiita.com/coppercele/items/527228e3f08c53597bd1

Main changes:

  • Fixed the target angle (needs to be adjusted to your balaC balance angle)
  • Added minimum duty (for removing the DC motor dead-band)
  • Individual control of wheels (for compensating the different minimum duty of each DC motor)
  • Added the loop frequency input to the Mahony filter, for improved sensor fusion
  • Tuned PID gains (but it still have room for improvements)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages