Introduction
  • Course Structure
  • Instructor Introduction
  • What You'll Need
  • What You'll Learn
  • Your Own Projects
  • Content Distribution
The Usual Microcontroller Architecture
  • Recommended Material
  • What's inside
  • Operational Modules
  • Some Real Block Diagrams
  • Some Kind of Parallelism
  • Microcontrollers
Pin Multiplexing
  • Some Example Microcontrollers
  • Multiplexers
  • Pin Multiplexing
Development Tools
  • Beginner vs Advanced Tools
  • Who the Target Audience is
  • Some Example Development Tools
  • Some Reasonable, Undeniable Remarks
LEDs 101
  • Recommended Material
  • LEDs 101: How to Turn LEDs On and Off
  • LEDs 101: Calculating the Series Resistance
  • LEDs 101: Multicolor LEDs
  • LEDs 101: Not Exactly Building Blocks
  • LED Series Resistance Calculations
Pulse Width Modulation
  • Recommended Material
  • PWM: Periodic Pulses
  • Rectangular Signals
  • PWM: Pulse Width Modulation
  • Power Control
  • Analog Signal Generation
  • Pulse Width Modulation
  • Optional Project: Pulse Width Modulation
LED Display Scan Algorithm
  • Recommended Material
  • LED Arrays
  • Controlling LED Arrays
  • 7 Segment Displays
  • The 7 Segment Hardware
  • The Algorithm
  • The Decode Function
  • Numbers with a Decimal Point
Live Demo: 7-Segment Scan Algorithm with the BASIC Stamp 2
  • The BASIC Stamp 2: The Good
  • The BASIC Stamp 2: The Bad
  • The Hardware
  • The BASIC Stamp Software
  • The Scan Function in PBASIC
  • The Decode Subroutine and Live Demo
Live Demo: 7-Segment Scan Algorithm with the Tiva C Launchpad
  • The Hardware
  • The Tiva C Launchpad
  • The Launchpad Development Software
  • The Scan Function
  • The Decode Function and Live Demo
  • Why is it missing counts?
What's Wrong with This Algorithm?
  • What's Wrong with This Algorithm
  • The Original Scan Algorithm
  • A Better Scan Algorithm
  • What about Interrupts?
  • Can we do Better?
Live Demo: A Better 7-Segment Scan Algorithm
  • Variables and Memory
  • The Scan Subroutine
  • The Decode Subroutine
  • The Demo
  • Implementation Comparison
Big No-Noes: Digital Output
  • Connecting an Output to the Supply Lines
  • LEDs without a Resistor
  • Connecting Two Digital Outputs Together
  • Capacitors on Outputs
  • Overloading Outputs
Digital Input Switches 101
  • Logic Families
  • Transistor Transistor Logic
  • CMOS Logic
  • Switches
  • DPDT Switch Application
  • A Bad Idea: SPDT Switches
  • A Better Idea: Pull Resistors
  • Why Pull Ups are Preferred
  • Internal Pull Resistors in Microcontrollers
Bounce and How to Deal with it
  • What is Bounce?
  • RC Filters for Debouncing a Switch
  • Monostable Switch Debouncer
  • Debouncer Integrated Circuits
  • Software Switch Debouncing
Keypad Scan Algorithm
  • Matrix Keypads
  • The Algorithm
  • A Running Example