Skip to content
0:00 / 0:00

#pidcontroller#arduino#servo

PID Balance+Ball | full explanation & tuning

Electronoobs

649K subscribers • 1 video on Hallway

YouTube
  • Recommended by 1 person: 1 in engineering communities.

Intermediate. Assumes working knowledge.

861K views7 years ago1 recommendation

HardwareSystems programmingEmbedded systemsElectronicsAlgorithms

A step-by-step tutorial on building and tuning a PID-controlled ball balancing system using an Arduino.

$2 for 5PCBs (Any solder mask colour): jlcpcb.com See each step for the P, the I and D action. See how each of the variables will change the output and finally get the ball stablea and stop it in the middle of the balance. Theory + example of PID tunning. Help my projects on Patreon : patreon.com/ELECTRONOOBS my Q&A page: electronoobs.com/eng_preguntas.php Facebook page: facebook.com/Electronoobs Canal en Español: youtube.com/channel/UCL_QvUUeriC6q610RCXDlSQ LINKS ------------------------------------- Tutorial website :electronoobs.com/eng_arduino_tut100.php Schematic: electronoobs.com/eng_arduino_tut100_sch1.php Code: electronoobs.com/eng_arduino_tut100_code1.php 3D files: electronoobs.com/eng_arduino_tut100_stl1.php PART LIST ------------------------------------- Arduino nano: rover.ebay.com/rover/1/711-53200-19255-0/1?icep_id=114&ipn=i… Sharp 2y0a21 sensor: rover.ebay.com/rover/1/711-53200-19255-0/1?icep_id=114&ipn=i… Futaba S3003 servo: rover.ebay.com/rover/1/711-53200-19255-0/1?icep_id=114&ipn=i… 🔬PRINTERS FDM ------------------------------------- Artillery Sidewinderr X1 (364€ Aliexpress): s.click.aliexpress.com/e/_9y9haI Artillery GENIUS (307€ Aliexpress): s.click.aliexpress.com/e/_A9SvG2 Creality3D Ender 3 Pro (230€ Aliexpress): s.click.aliexpress.com/e/_APcCa2 Anycubic Mega S (206€ Aliexpress): s.click.aliexpress.com/e/_ALcTLs ELEGOO NEPTUNE 2 (186€

Why it's here

1 person recommends this

What people say. Recommended as a practical tutorial for understanding and implementing PID controllers on Arduino.

u/Poddsterin r/compsci • Recommends

On “what sort of algorithm would this require? I'm not sure how to even look it up”

Just google "PID ball balance". There's countless tutorials on making your own on an Arduino. e.g. link to this video