MAKECourse
  • Home
  • About
  • Course Materials
    • Software
    • Course Kits
    • TA hours
  • Videos
    • Intro to Programming Videos
    • Advanced Topics >
      • DAC and ADC Tutorial
      • SD Card Data Logging
      • DC Motor Control
  • Schedule
    • Syllabus
  • Student Projects
    • Awesome Prizes
    • Fall 2020 Projects
    • Fall 2016 Awesome Prize Winners
    • Fall 2016 Projects
    • Spring 2016 Awesome Prize Winners
    • Spring 2016 Projects
    • Fall 2015 Awesome Prize Winners
    • Fall 2015 Projects
    • Spring 2015 Awesome Prize Winners
    • Spring 2015 Projects
    • Fall 2014 Projects
    • Spring 2014 Projects

Week 8: Segment 1: Servo Motors and Analog Inputs with the Arduino

This segment focuses on the use of servo motors with the Arduino.  

Goals:

  • Understand servo motors and analog inputs.

In-Class Project:
  • Write a library for potentiometers.
  • Combine the servo with the proximity sensor. Use the proximity sensor library developed earlier.

Materials for this segment:

  • Read the Arduino.cc page on the servo library.
  • Watch the video on the right.
  • Check out the data sheet for the SG-90 servo from the kit. (Note the 4.8 V operating voltage on their scant 'data sheet' - we fried one of these servos by running them from a lab supply with 5.0 V. It may be that the servo was defective - we did not repeat the experiment - be careful and ramp the voltage up slowly if you use an external supply!)
  • Arduino sketch featured in the In-Class Project (see below the video on the right)

Arduino sketch used in the tutorial:
tutorial_servo_with_pot.zip
File Size: 0 kb
File Type: zip
Download File

Fritzing schematic for servo+pot setup:
t8_fritzing_circuit.fzz
File Size: 3 kb
File Type: fzz
Download File

[Home] [Course Materials] [Syllabus] [Student Projects] [Contact]
Powered by Create your own unique website with customizable templates.