Final Project: Code

The goal for the device will be to use two servo motors in sync to move the arms of the device from vertical to a position about 30 degrees from vertical and then return it to the original position. This process will be repeated for a predetermined count. The initial prototype will only have one setting but my hope is that the final product will let the user choose a number of repetitions ranging from 5 to 35 by increments of five.

Possible Sources of Code

I was able to find basic instructions for programming the Arduino to control a servo motor while checking out the servo motors available from their store. The instructions can be found here. On the page they also mention that ” Note servos draw considerable power, so if you need to drive more than one or two, you’ll probably need to power them from a separate supply (i.e. not the +5V pin on your Arduino).”

In the post discussing my electronics purchases I expressed concern that I would need an additional power supply for the servo motors. Their explanation makes me feel a bit more hopeful, as I am only planning on using two servo motors.

  • Andy Maloney

    Power supplies are everywhere. If you have an old computer, there is a power supply in it you can use to power your servos. The power bricks with barrel or USB connectors you get for nearly every electronics device are ubiquitous and can be found easily. Ask your friends/family if they have one they aren’t using any more or, keep an eye out in the trash. I know, it’s in the trash but if you think about it as: repurposing, it’s free, you’re recycling, and most importantly—they are free—thus you are doing good by keeping something out of the landfill. You can also check out Surplus City in ABQ for old laboratory power supplies and all manners of other stuff. You might be able to buy a couple of servos there as well.

  • Pingback: neil()

  • Pingback: alex()

  • Pingback: joshua()

  • Pingback: Ian()

  • Pingback: stuart()

  • Pingback: mario()

  • Pingback: Adam()

  • Pingback: bradley()

  • Pingback: thomas()

  • Pingback: corey()

  • Pingback: Jimmy()

  • Pingback: michael()

  • Pingback: Alfred()

  • Pingback: Julius()

  • Pingback: shawn()

  • Pingback: darryl()

  • Pingback: andy()

  • Pingback: luis()

  • Pingback: harold()

  • Pingback: Alex()

  • Pingback: Sam()

  • Pingback: James()

  • Pingback: Miguel()

  • Pingback: douglas()

  • Pingback: lee()

  • Pingback: dwayne()

  • Pingback: rafael()

  • Pingback: daniel()

  • Pingback: Carlos()

  • Pingback: Fernando()

  • Pingback: alfonso()

  • Pingback: Herman()

  • Pingback: ian()

  • Pingback: sam()

  • Pingback: Kirk()

  • Pingback: ruben()

  • Pingback: roberto()

  • Pingback: Dwight()

  • Pingback: trevor()

  • Pingback: marc()

  • Pingback: Julian()

  • Pingback: Shannon()

  • Pingback: floyd()

  • Pingback: Gene()

  • Pingback: phillip()

  • Pingback: Jerome()

  • Pingback: ben()

  • Pingback: Bruce()

  • Pingback: kevin()

  • Pingback: Brandon()

  • Pingback: Aaron()

  • Pingback: Corey()

  • Pingback: Brent()

  • Pingback: Ross()

  • Pingback: charlie()

  • Pingback: jaime()

  • Pingback: Shane()

  • Pingback: ronnie()

  • Pingback: alex()

  • Pingback: alejandro()

  • Pingback: gabriel()

  • Pingback: ronnie()

  • Pingback: Carl()

  • Pingback: Stuart()

  • Pingback: Jared()

  • Pingback: everett()

  • Pingback: Oscar()

  • Pingback: homer()

  • Pingback: Reginald()

  • Pingback: wallace()

  • Pingback: kyle()

  • Pingback: jackie()

  • Pingback: Elmer()

  • Pingback: Keith()

  • Pingback: Dwight()