Monday, March 9, 2015

Lab 4 - Servo Motors

1. Servo Motor Controlled by Pulse Width Modulation from an Arduino


  1. We add a delay after rotating the servo so it actually has time to rotate before running through the loop again.
  2. Pulse widths range from 544 to 2400 μs, for angles from 0 to 180 degrees, so 45 degrees = (45/180)(2400-544) + 544 = 1008 μs.
  3. The piezo speaker and the servo motor both use PWM from the arduino, which is not capable of reliably sending out both signals without any interference.
2. Servo Motor Controlled by Potentiometer with Arduino


3. Servo Motor Controlled by a Pushbutton Momentary Switch


No comments:

Post a Comment