Wednesday, July 1, 2009

Servo Motor Control Lab

Have completed the servo motor lab.

Got the servo motor to turn, once I mapped it to the pressure sensor's readings, which only had a range between 0 and approx. 50 for me. So really much lower than the pot reads.

Basically get the same effect in the Servo library. Just mapped it to between 0 and 50, and then if I hit the pressure sensor it do a little wiggle.

No comments:

Post a Comment