Home        Store        Learn        Blog

Auto depth algorithm

Hello,

I want to control a device that has one vertical thruster with an Arduino.

I can do the pwm control and get the depth but wondering if anyone has pointers towards an auto-depth algorithm.

Cheers,
E.

Hi Etienne,

Please take a look in control theory, and check the PID controller or any variant of it.
There is some online courses that can help you with that, like coursera, udemy or youtube.

That’s great. thank you

For those interested, I found an Arduino library for PID : https://playground.arduino.cc/Code/PIDLibrary/

Cheers
E