br3ttb / Arduino-PID-Library

1.91k stars 1.1k forks source link

need esp32 PID example #128

Open microElabDevelop opened 1 year ago

microElabDevelop commented 1 year ago

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

JacobChrist commented 1 year ago

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

microElabDevelop commented 1 year ago

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

thricebeau commented 1 year ago

@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?

microElabDevelop commented 1 year ago

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 ..

FelixWT commented 1 year ago

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