very good explanation of code formations, evaluation of code is very essential in arduino programs, thanks for your contribution in code learning, thanks
I'd say yes we can. The feedback signal can be read via an analog input. To make a predictable PID in software you need to have a stable sampletime. This could be done with a millis() timer, or with an external input with a stable and known frequency, that triggers an interrupt routine that takes care of the I and D. The result can be sent to an analog out (which is PWM, but if what it connected is slow enough it functions as analog).
Rudy, I'm very late to this party -but this is the most fantastic series of videos
Thanks for your feedback, it's appreciated.
Thank you for teaching the map function so clearly.
I still dont know mapping :/
very good explanation of code formations, evaluation of code is very essential in arduino programs, thanks for your contribution in code learning, thanks
When removing the in put read analog from arduino he still show noise number , how i can eliminate thus noise ?
Well done
Can we make a pid function with analogue value?
I'd say yes we can. The feedback signal can be read via an analog input. To make a predictable PID in software you need to have a stable sampletime. This could be done with a millis() timer, or with an external input with a stable and known frequency, that triggers an interrupt routine that takes care of the I and D. The result can be sent to an analog out (which is PWM, but if what it connected is slow enough it functions as analog).