1
LESSON PLAN LESSON Time: Date: March 15th, 2022
20 min
Instructor: Julie Lex Course: EDUC-2090 Unit: Mini Lessons
Last Lesson: Logic Gates
THIS Microcontrollers
LESSON:
Next Lesson: Arduino Basics
SAFETY NOTES: Lesson – none
SUPPLIES /TOOLS: REFERENCES/RESOURCES:
N/A Arduino board
LEARNING GOAL: To learn the basics of microcontroller function and use.
LEARNING OUTCOMES:
By the end of this lesson, students should be able to:
• Understand the function and use of microcontrollers.
• List various devices in which microcontrollers can be found.
• Describe I/O interfacing on a microcontroller.
• Differentiate between analog and digital signals.
• Understand how logic gates and truth tables relate to I/O pins interface.
INTRODUCTION:
• YouTube video
• Introduce students to topic
• Give overview of what lesson will consist of
Focusing Event
Watching a YouTube video about a homemade laser trip wire alarm.
Pass around Arduino.
2
BODY:
1. Overview of lesson
2. What is a microcontroller?
3. Microcontroller structure
o Big computer is packed into a tiny chip
o Briefly touch on ACD/DAC, microprocessor
4. Where are they found?
o Ask class – accept answers from all sorts of technology
5. Packaging types
o What do the microcontrollers look like?
o More pins for newer models – pins per square inch (8-100)
6. I/O interface
o Give an overview of hardware and how input/output pins operate on a physical level
o Relate example to PC – keyboard, monitor etc (input/output)
7. Internal logic gate structure
o Ask class to identify gate (NAND)
o Show inputs/outputs and how they relate to pin numbers (relate to hardware)
8. Review logic/Boolean/Truth table
o Review of gate symbols
o Review of Boolean math + truth table and how binary relates to the input/output pins
9. How do they communicate?
o Input device (read data) -> controlled by instructions given to MC -> output device (control
physical device)
10. How does input work?
o Ask class to name some input devices
o Explain difference between digital and analog
11. How does output work?
o Ask class to name some output devices
o Explain 0V and 5V and how it relates to binary 0 and binary 1
12. Analog vs digital
o Explain continuous signal vs discrete signal
o Use whiteboard to explain ADC (analog to digital converter)
13. Microprocessor vs microcontroller
o Ask class what they think the differences are between processor and controller
14. Real world application – car
15. Real world application – washing machine
16. Programming
17. Brief wrap up of what the students learned
CONCLUSION/SUMMARY:
• Restate learning objectives
• Ask if there are any questions that need to be clarified