Controlling a Servo

Image of a microcontroller
Learning Goals

Learning Goals:

  1. Students will be able to apply the pulse width modulation to a servo from a Basic Stamp.
  2. Students will synthesize two circuit designs using one to control the other through the Basic Stamp.
Materials List

Handouts

Group Supplies

  • Basic stamp homework board
  • Parallax servo
  • Photo-resistor
  • 5k Potentiometer
  • 220 Ohm resistor
  • 440 Ohm resistor
  • 2k Ohm resistor
  • 10K Ohm resistor
  • 0.01 uF Capacitor
  • Jumper wires

Important Links

Next Generation Science Standards

Next Generation Science Standards

  • HS-PS3-1. Create a computational model to calculate the change in the energy of one component in a system when the change in energy of the other component(s) and energy flows in and out of the system are known.
  • HS-PS3-3. Design, build, and refine a device that works within given constraints to convert one form of energy into another form of energy.
  • HS-ETS1-1. Analyze a major global challenge to specify qualitative and quantitative criteria and constraints for solutions that account for societal needs and wants.
  • HS-ETS1-2. Design a solution to a complex real-world problem by breaking it down into smaller, more manageable problems that can be solved through engineering.
  • HS-ETS1-3. Evaluate a solution to a complex real-world problem-based on prioritized criteria and trade-offs that account for a range of constraints, including cost, safety, reliability, and aesthetics, as well as possible social, cultural, and environmental impacts.

Lesson 2 of 5 / Time: 1 hour 40 mins

This lesson was developed as the second in a unit that culminates in the construction of a robotic sunflower that tracks the sun. works and how to use a multimeter. This lesson focuses on students applying the pulse witch modulation to a servo from a Basic Stamp. Throughout this lesson, students will synthesize two circuit designs using one to control the other through the Basic Stamp.

 

Robotic Sunflower

Download Lesson