video thumbnail 8:09
Electronic Basics #34: Two-Position Controller & PID Controller

2018-01-28

[public] 263K views, 8.39K likes, dislikes audio only

channel thumbGreatScott!

Only $2 for 10pcs PCBs (10cm*10cm): https://jlcpcb.com

Support me for more videos: https://www.patreon.com/GreatScott

Previous video: /youtube/video/EaZuKRSvwdo

Facebook: https://www.facebook.com/greatscottlab

Twitter: https://twitter.com/GreatScottLab

How does Magnetic Levitation work? || Crude Levitator circuit: /youtube/video/BgIjlvlwwzY

You can get the schematic and the code of the circuit here: https://www.patreon.com/posts/16653255

You can get the spreadsheet for the Arduino PID calculation here: https://www.dropbox.com/s/yrdreafcn8vwh0j/PID%20tuning%20Arduino.xlsx?dl=0

Thanks to JLCPCB for sponsoring this video

Visit https://jlcpcb.com to get professional PCBs for low prices

Parts list: (affiliate links):

Aliexpress:

SS495A Hall effect sensor: https://s.click.aliexpress.com/e/_dVNjS2M

Electromagnet: https://s.click.aliexpress.com/e/_d83EDTw

IRLZ44N MOSFET: https://s.click.aliexpress.com/e/_dWhSrDl

TC4420 MOSFET Driver: https://s.click.aliexpress.com/e/_d9epnMB

PCB Terminals: https://s.click.aliexpress.com/e/_dYbstfZ

UF4007 Diode: https://s.click.aliexpress.com/e/_dYR45Bh

Arduino Nano: https://s.click.aliexpress.com/e/_dULoNXh

Ebay:

SS495A Hall effect sensor: http://rover.ebay.com/rover/1/711-53200-19255-0/1?icep_ff3=2&pub=5575101368&toolid=10001&campid=5337606358&customid=&icep_item=252022864137&ipn=psmain&icep_vectorid=229466&kwid=902099&mtid=824&kw=lg

Electromagnet: http://rover.ebay.com/rover/1/711-53200-19255-0/1?icep_ff3=2&pub=5575101368&toolid=10001&campid=5337582279&customid=&icep_item=202117586516&ipn=psmain&icep_vectorid=229466&kwid=902099&mtid=824&kw=lg

IRLZ44N MOSFET: http://rover.ebay.com/rover/1/711-53200-19255-0/1?icep_ff3=2&pub=5575101368&toolid=10001&campid=5337606358&customid=&icep_item=171532905847&ipn=psmain&icep_vectorid=229466&kwid=902099&mtid=824&kw=lg

TC4420 MOSFET Driver: http://rover.ebay.com/rover/1/711-53200-19255-0/1?icep_ff3=2&pub=5575101368&toolid=10001&campid=5337606358&customid=&icep_item=182170720290&ipn=psmain&icep_vectorid=229466&kwid=902099&mtid=824&kw=lg

PCB Terminals: http://rover.ebay.com/rover/1/711-53200-19255-0/1?icep_ff3=2&pub=5575101368&toolid=10001&campid=5337606358&customid=&icep_item=182525842695&ipn=psmain&icep_vectorid=229466&kwid=902099&mtid=824&kw=lg

UF4007 Diode: http://rover.ebay.com/rover/1/711-53200-19255-0/1?icep_ff3=2&pub=5575101368&toolid=10001&campid=5337606358&customid=&icep_item=221995587488&ipn=psmain&icep_vectorid=229466&kwid=902099&mtid=824&kw=lg

Arduino Nano: http://rover.ebay.com/rover/1/711-53200-19255-0/1?icep_ff3=2&pub=5575101368&toolid=10001&campid=5337582279&customid=&icep_item=201539955347&ipn=psmain&icep_vectorid=229466&kwid=902099&mtid=824&kw=lg

In this Electronic Basics episode we will have a look at a crude levitator circuit and its control system. We will find out how two-position controller work and why it often makes sense to use the more complicated PID controller instead. At the end you will know the basics about those regulation technology systems and the levitator circuit will function as well.

Music:

2011 Lookalike by Bartlebeats

Ecstatic Wave, Jens Kiilstofte

https://machinimasound.com/music


GreatScott! Awesome Electronics Tutorials, Projects and How To´s WARNING!: DO NOT SEND MAIL TO THE ADDRESS GIVEN BY THE IMPRINT! Imprint/Impressum: GreatScott! c/o Block Services Stuttgarter Str. 106 70736 Fellbach WARNING!: DO NOT SEND MAIL TO THE ADDRESS GIVEN BY THE IMPRINT! Disclaimer: The shown videos are for educational & entertainment purposes only. Use the given information at your own risk. Do not work beyond your capability and always hire a professional if you are not sure what you are doing. Remember: Safety first!
/youtube/channel/UC6mIxFTvXkWQVEHPsEdflzQ
Easy & Powerful Arduino Alternative? STM32 Beginner's Guide 939,626 views
/youtube/video/EaZuKRSvwdo
Support me for more videos! patreon.com
https://www.patreon.com/GreatScott