header



Welcome to the Micro Center Tech Support Blog!
Find free technical support on a variety of products featured at Micro Center and plenty of how-tos on new technology. Start searching our Blog below or search our Tech Center archives »

Can't find what your looking for? Take advantage of our Tech Support services »

Join the MC Tech Support Community Forum: Get direct advice from the Knowledge Experts @ Micro Center.
Click here to access the Forum »

Search This Blog

Wednesday, January 9, 2013

Arduino Workshop - Project 03: Servo Motor Sweep


Hardware Required:



Schematic:

Schematic


Project Steps:


Prepare the Arduino with the code (because pin D9 was in use by the LED in project 2):

  1. Connect the Arduino unit to your computer with the USB cable
  2. Open the Project3 sketch into the Arduino software and upload it to your module
  3. Disconnect the USB cable
Connect wires directly between the Arduino and the Servo Motor:

  1. Connect a wire between the ground and black servo wire (brown on some motors)
  2. Connect a wire between the +5V and the red servo wire
  3. Connect a wire between D9 and the white servo wire (yellow on some motors)
  4. Connect the USB cable to the Arduino to provide power to the servo and run your code.
Things to try:

  • Change the delay while positioning the motor. What happens if the delay is too short?
  • Change the maximum angle the motor can turn to 90 degrees.
  • Change the maximum angle the motor can turn to 360 degrees.
  • Note: some servo motors can only move 180 degrees or less!

For more assistance contact Technical Support here.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.