Arduino-PID-Library icon indicating copy to clipboard operation
Arduino-PID-Library copied to clipboard

need esp32 PID example

Open microElabDevelop opened this issue 2 years ago • 5 comments

need PID example on esp32 controller, i want to drive motor with pot. postion controller(soler tracker)

microElabDevelop avatar Dec 26 '22 17:12 microElabDevelop

https://github.com/br3ttb/Arduino-PID-Library/blob/master/examples/PID_Basic/PID_Basic.ino

JacobChrist avatar Dec 26 '22 18:12 JacobChrist

@JacobChrist thank for responce , i try this but this example not working on ESP32 controller. i need esp32 example.

microElabDevelop avatar Dec 28 '22 09:12 microElabDevelop

@microElabDevelop have you configured your pot pins in the setup and have them update values in the loop to assign to the Input variable? Any code? Is your motor a servo?

thricebeau avatar Dec 28 '22 16:12 thricebeau

Now i run just basic pid code . After that use for soler tracker . First i just need simple pid code on esp32 . I try but i think this lib is not for esp32 thats why i searching esp32 compatible lib ..

microElabDevelop avatar Dec 28 '22 19:12 microElabDevelop

I don't think it's library's problem but if you really want to try something else check this out https://github.com/Dlloydev/sTune It works on my esp32

FelixWT avatar Feb 15 '23 10:02 FelixWT