Jul 22, 2024  
College Catalog 2022-2023 
College Catalog 2022-2023 [ARCHIVED CATALOG]

Add to Favorites (opens a new window)

ELEC 1221 - Microcontrollers With Robotic Application

Credit Hours: 3.00

Prerequisites: ELEC 1211  

This course will provide students with the knowledge required to understand, program, and apply microcontrollers (pic chips) to robotic applications using the Basic Stamp. The first half of the class will be spent learning to program and interface simple circuitry using the Basic Stamp interface board. The second half of the class will be spent applying this knowledge to a mobile robot with onboard sensors. Among the topics discussed are pic chip programming, controlling inputs and outputs, motion and rotational control, digital displays, measurement of light, frequency and sound, controlling servo motors, robotic navigation, tactile sensing, light sensitive navigation, and robotic control with distance detection. Knowledge will be gained through lecture, textbook assignments, hands-on laboratory experiments, and project troubleshooting.

Billable Contact Hours: 4

Search for Sections
Transfer Possibilities
Michigan Transfer Network (MiTransfer) - Utilize this website to easily search how your credits transfer to colleges and universities.
Outcome I:
Upon completion of this course, students will identify microcontrollers.


  1. Define microcontrollers.
  2. Discuss applications of microcontrollers.
  3. Familiarize with the Basic Stamp 2.
  4. Discuss advanced applications of the Basic Stamp.

Outcome II:
Upon completion of this course, students will identify and apply input‐output control.


  1. Control L.E.D.’s with the Basic Stamp.
  2. Monitor inputs with the Basic Stamp.
  3. Understand counting and repeating loops.

Outcome III:
Upon completion of this course the student will identify and apply controlling motion.


  1. Understand On/Off signals for motion control.
  2. Troubleshoot and test servo’s.
  3. Program servo position.
  4. Convert programmed position to motion.
  5. Control a servo with a potentiometer.

Outcome IV:
Upon completion of this course the student will identify and apply sensing analog values.


  1. Convert analog values to read on 7 segment display.
  2. Understand basic light sensing and measurement.
  3. Produce programmed sound.
  4. Produce musical notes, simple songs and ring tones.

Outcome V:
Upon completion of this course the student will apply interfacing and timing.


  1. Program current control through a transistor.
  2. Understand subsystem integration.
  3. Build and test RC timing circuit for programmed control.
  4. Develop and add a software subsystem.

Outcome VI:
Upon completion of this course the student will apply and operate robot servo motors.


  1. Track time and repeat actions.
  2. Interface servo motors.
  3. Center servo motors.
  4. Store servo values and count.
  5. Test servo motors.
  6. Understand servo transfer curves.

Outcome VII: Upon completion of this course the student will apply and program robot navigation.


  1. Program basic maneuvers.
  2. Calculate distances.
  3. Simplify navigation with subroutines.
  4. Build complex maneuvers in EEPROM.
  5. Navigate with whiskers.
  6. Understand basic artificial intelligence.
  7. Navigate using visible light.
  8. Navigate using infrared.
  9. Test the frequency sweep.
  10. Follow a stripe.

• Communication: The graduate can communicate effectively for the intended purpose and audience.
• Critical Thinking: The graduate can make informed decisions after analyzing information or evidence related to the issue.
• Global Literacy: The graduate can analyze human behavior or experiences through cultural, social, political, or economic perspectives.
• Information Literacy: The graduate can responsibly use information gathered from a variety of formats in order to complete a task.
• Quantitative Reasoning: The graduate can apply quantitative methods or evidence to solve problems or make judgments.
• Scientific Literacy: The graduate can produce or interpret scientific information presented in a variety of formats.

CDO marked YES apply to this course:
Information Literacy: YES
Quantitative Reasoning: YES
Scientific Literacy: YES


  1. Introduction to Microcontrollers
    1. Use of microcontrollers
    2. Applications of microcontrollers
    3. Becoming familiar with the Basic Stamp 2
    4. Advanced applications of the Basic Stamp
    5. Programming ASCII characters
  2. Input‐Output Control
    1. Controlling L.E.D.’s with the Basic Stamp
    2. Building an testing an L.E.D. circuit
    3. On/Off control with the Basic Stamp
    4. Counting and repeating
    5. Using current direction to control a bi‐color L.E.D.
    6. Receiving vs. sending high and low signals
    7. Testing a pushbutton with an L.E.D. circuit
    8. Reading a pushbutton with the Basic Stamp
    9. Reaction timer test
  3. Controlling Motion
    1. Microcontrolled motion
    2. On/Off signals and motion control
    3. Connecting and testing the servo
    4. Computerized control of position
    5. Converting position to motion
    6. Pushbutton controlled servo
    7. Measuring resistance by measuring time
    8. Reading a dial with the Basic Stamp
    9. Controlling a servo with a potentiometer
  4. Sensing Analog Values
    1. Digital displays
    2. Building and te sting a 7 segment display
    3. Displaying the position of a dial
    4. Introduction to photo sensing
    5. Building and testing a light meter
    6. Graphing light measurements
    7. Tracking light events
    8. Building and testing a speaker circuit
    9. Producing action sounds
    10. Producing musical notes and simple songs
    11. Cell phone ring tones
  5. Interfacing and Timing
    1. Interfacing integrated circuits
    2. Controlling current flow through a transistor
    3. Building and testing pushbutton circuits
    4. Building and testing RC timing circuits
    5. Subsystem integration
    6. Developing a software subsystem
  6. Robot Servo Motors
    1. Tracking time and rep eating actions
    2. Connecting the servo motors
    3. Centering servo motors
    4. Storing servo values and count
    5. Testing the servo motors
    6. Start/Reset indicator circuit and program
    7. Servo transfer curves
  7. Robot Navigation
    1. Programming basic maneuvers
    2. Calculating distances
    3. Ramping
    4. Simplifying navigation with subroutines
    5. Building complex maneuvers in EEPROM
    6. Building and testing whiskers
    7. Navigation with whiskers
    8. Understanding basic artificial intelligence
    9. Roaming and avoiding shadows
    10. Following a beam of light
    11. Building and testing IR pairs
    12. Field testing for object detection
    13. Infrared detection range adjustments
    14. Object detection and avoidance
    15. High performance IR navigation
    16. Drop - off detection
    17. Determining distance
    18. Testing the frequency sweep
    19. Following a stripe

Primary Faculty
Dulinski, Kenneth
Secondary Faculty
Mielke, Michael
Associate Dean
Thero, Laura
Hutchison, Donald

Official Course Syllabus - Macomb Community College, 14500 E 12 Mile Road, Warren, MI 48088

Add to Favorites (opens a new window)