Teaching Electronics

From Laen
Jump to: navigation, search

Each step involves learning a little C programming, starting off with the Arduino environment, then teaching more and more of the underlying hardware.

Contents

Level 1 - Introduction to Microcontrollers

  • Blink an LED on and off.
  • Read the state of a button.

Level 2 - Basic I/O

  • Talk to a shift register.
  • Read a sensor.
  • Time pulses
  • Serial.println

Level 3 - Electricity

Capacitance, resistance, voltage, and current.

  • Charge a capacitor, discharge it through a resistor to an LED.
  • Measure capacitance by measuring the discharge time, then discharging the thing.
  • Measure resistance using a voltage divider.
  • Drive a transistor

Level 4a - Interacting With The World

  • Driving motors (with the transistor)
  • H-Bridges
  • Making sound

Level 4b - Extended I/O

  • i2c - Digital temperature sensor
  • SPI - EEPROM
  • Parallel busses (LCD)

Level ?

  • Timers and Interrupts
  • Build a programmer
  • Program for different chips.
  • PORTs.
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox