iam currently doing a college experiment that i am having difficulties with. it is a ball and beam project controlled using a PID in labview and arduino mega. i know the output range for the pid to move the motor angle. this distance sensor is an ultrasonic ping which i'm getting a reading from. the problem is the pid doesn't try to reach the set point instead it just lifts the beam all the way up and stays there. i used both the lifa and linx interface for the arduino with the same results. could you suggest what i may be doing wrong?
↧