Skip to content

Day 4: Computer and Arduino Hardware Deep Dive

Detailed Lesson Plan

Duration: 6-8 hours (Full Day) Target Audience: DBE Teachers (Mixed Experience Levels) Prerequisites: Days 1-3 completion CHPC Integration: See CHPC Computer Hardware Module for disassembly/assembly procedures Learning Objectives: - Understand computer hardware components - Deep dive into Arduino architecture - Build and test circuits - Troubleshoot hardware issues - Manage hardware in classroom settings


Morning Session (3-4 hours)

Session 1: Computer Hardware Basics (1-2 hours)

Time: 08:00 - 10:00 (with 15-minute break at 09:00)

Learning Objectives

  • Identify major computer components
  • Understand how computers process information
  • Connect hardware to software concepts
  • Apply to teaching contexts

Activities

Opening (10 minutes) - Review Days 1-3: What have we learned? - Introduction: "Today we understand the hardware!" - Pre-assessment: "What do you know about computer hardware?"

Computer Components Tour (30 minutes) - Major Components: 1. CPU (Central Processing Unit): The "brain" - Processes instructions - Speed measured in GHz - Multiple cores = parallel processing

  1. RAM (Random Access Memory): Working memory

    • Temporary storage
    • Faster than storage
    • Cleared when power off
  2. Storage (HDD/SSD): Long-term memory

    • HDD: Traditional, slower, cheaper
    • SSD: Faster, more expensive
    • Stores files permanently
  3. Motherboard: Connects everything

    • Main circuit board
    • All components connect here
  4. Power Supply: Provides power

    • Converts AC to DC
    • Powers all components

Hands-On: Computer Disassembly (Virtual or Physical) (20 minutes) - Option 1: Virtual Tour - Online computer anatomy tools - Interactive diagrams - Component identification

  • Option 2: Physical (If Available)
  • Open computer case (with supervision)
  • Identify components
  • Discuss function of each

How Computers Process Information (20 minutes) - The Process: 1. Input (keyboard, mouse, sensors) 2. Processing (CPU executes instructions) 3. Storage (save to RAM or disk) 4. Output (screen, speakers, actuators)

  • Analogy: Like a kitchen
  • Input = ingredients
  • CPU = chef (processes)
  • RAM = counter (working space)
  • Storage = pantry (long-term)
  • Output = finished dish

Break (15 minutes)

Input/Output Devices (20 minutes) - Input Devices: - Keyboard, mouse - Microphone, camera - Sensors (temperature, light, etc.) - Touchscreen

  • Output Devices:
  • Monitor, speakers
  • Printer
  • LEDs, motors, displays
  • Actuators

DBE Integration (15 minutes) - Link to Natural Sciences: Systems and processes - Technology subjects: How things work - Mathematics: Binary system, data representation - Critical thinking: Understanding technology

Reflection (10 minutes) - Quick write: "How does understanding hardware help teaching?" - Share one insight


Session 2: Arduino Hardware Architecture (1-2 hours)

Time: 10:15 - 12:00

Learning Objectives

  • Understand microcontroller vs. computer
  • Learn digital vs. analog signals
  • Understand power requirements
  • Build circuits safely

Activities

Microcontroller vs. Computer (20 minutes) - Computer: - General purpose - Runs operating system - Multiple programs - High power consumption

  • Microcontroller (Arduino):
  • Single purpose
  • No operating system
  • One program at a time
  • Low power consumption

  • Comparison Table: | Feature | Computer | Arduino | |---------|----------|---------| | Purpose | General | Specific | | Power | High | Low | | Cost | High | Low | | Complexity | High | Low |

Digital vs. Analog Signals (30 minutes) - Digital Signals: - Two states: HIGH (1) or LOW (0) - 5V = HIGH, 0V = LOW - Used for: On/off, buttons, LEDs - Pins: Digital pins 0-13

  • Analog Signals:
  • Continuous range of values
  • 0-5V mapped to 0-1023
  • Used for: Sensors, variable input
  • Pins: Analog pins A0-A5

  • Hands-On Activity:

  • Use potentiometer (analog)
  • Read value on analog pin
  • Use value to control LED brightness
  • See analog-to-digital conversion

Power Requirements (20 minutes) - Arduino Power Sources: 1. USB (5V, ~500mA) 2. Power jack (7-12V, converted to 5V) 3. Battery pack (portable)

  • Component Power:
  • LEDs: ~20mA each
  • Servos: ~100-250mA
  • Sensors: ~5-50mA
  • Total limit: ~200mA from 5V pin

  • Calculating Power:

  • Add up component current
  • Ensure total < 200mA
  • Use external power if needed

Circuit Building Activity (30 minutes) - Activity: Build Multiple Component Circuit - 3 LEDs (different colors) - 1 Button - 1 Potentiometer - All working together

  • Requirements:
  • Each component properly wired
  • Appropriate resistors
  • Power distribution
  • Clean, organized wiring

  • Testing:

  • Test each component
  • Verify all work together
  • Troubleshoot if needed

Lunch Break (12:00 - 13:00)


Afternoon Session (3-4 hours)

Session 3: Advanced Arduino Components (2 hours)

Time: 13:00 - 15:00

Learning Objectives

  • Use different types of motors
  • Work with displays
  • Understand communication modules
  • Build complete systems

Activities

Motors Overview (30 minutes) - Types of Motors: 1. DC Motors: - Continuous rotation - Speed control - Direction control - Need motor driver (H-bridge)

  1. Servo Motors:

    • Precise positioning (0-180°)
    • Built-in control
    • Easy to use
    • Limited range
  2. Stepper Motors:

    • Very precise
    • Multiple steps
    • More complex control
    • Used in 3D printers
  3. Demo: Control servo motor

  4. Connect servo
  5. Write code to move
  6. Show positioning

Displays (30 minutes) - LCD Display: - 16x2 character display - Shows text and numbers - I2C interface (simplified) - Useful for showing sensor values

  • LED Matrix:
  • Grid of LEDs
  • Can show patterns
  • More complex control
  • Good for graphics

  • 7-Segment Display:

  • Shows numbers
  • Simple control
  • Good for counters

  • Demo: LCD Display

  • Connect LCD
  • Display "Hello World"
  • Show sensor values

Communication Modules (20 minutes) - WiFi Module (ESP8266): - Connect to internet - Send data to cloud - Receive commands - More advanced

  • Bluetooth Module:
  • Short-range communication
  • Connect to phone/tablet
  • Simpler than WiFi
  • Good for remote control

  • Concept: These modules allow Arduino to communicate wirelessly

  • Note: Simplified introduction, full implementation is advanced

Break (15 minutes)

Project: Complete System (40 minutes) - Challenge: Build a complete system - Requirements: - At least 2 sensors - At least 2 actuators - Display or indicator - Functional purpose

  • Example Projects:
  • Weather Station:

    • Temperature sensor
    • Light sensor
    • LCD display
    • LED indicators
  • Smart Plant Monitor:

    • Moisture sensor
    • Light sensor
    • Servo (for camera)
    • Buzzer (alerts)
    • LCD display
  • Security System:

    • Motion sensor
    • Light sensor
    • Buzzer
    • LEDs
    • Servo
  • Activity: Teachers design and build

  • Sharing: Present completed systems

Session 4: Troubleshooting and Maintenance (1-2 hours)

Time: 15:15 - 16:30

Learning Objectives

  • Identify common hardware problems
  • Test components systematically
  • Maintain equipment properly
  • Manage hardware in resource-limited settings

Activities

Common Hardware Problems (20 minutes) - Problem Categories: 1. Connection Issues: - Loose wires - Wrong pins - Poor breadboard connections

  1. Power Issues:

    • Not enough power
    • Wrong voltage
    • Short circuits
  2. Component Issues:

    • Damaged components
    • Wrong values
    • Wrong orientation
  3. Code Issues:

    • Wrong pin numbers
    • Logic errors
    • Timing problems

Systematic Troubleshooting (30 minutes) - Troubleshooting Process: 1. Verify Power: - Is Arduino powered? (LED on) - Check USB connection - Verify power supply

  1. Check Connections:

    • Follow wiring diagram
    • Verify pin numbers
    • Check for loose wires
  2. Test Components:

    • Test each component individually
    • Use known-good components
    • Verify values (resistors, etc.)
  3. Check Code:

    • Verify pin numbers match wiring
    • Test with simple code first
    • Add complexity gradually
  4. Use Tools:

    • Multimeter for testing
    • Serial monitor for debugging
    • LED test circuits

Hands-On: Troubleshooting Scenarios (20 minutes) - Scenario 1: LED doesn't light - Check wiring - Check resistor - Check code - Test LED

  • Scenario 2: Sensor reads wrong values
  • Check wiring
  • Verify sensor
  • Check code
  • Calibrate if needed

  • Scenario 3: Multiple components not working

  • Check power supply
  • Verify all connections
  • Test individually
  • Check for short circuits

Equipment Maintenance (15 minutes) - Best Practices: - Store components properly - Organize by type - Label everything - Keep spares

  • Care:
  • Handle gently
  • Avoid static electricity
  • Keep clean and dry
  • Check regularly

  • Organization:

  • Component storage boxes
  • Labeled compartments
  • Wiring diagram library
  • Project documentation

Classroom Management (15 minutes) - Resource-Limited Settings: - Rotate hardware among students - Use simulation when possible - Group work strategies - Share resources

  • Safety:
  • Supervise closely
  • Teach safety first
  • Have first aid ready
  • Emergency procedures

  • Documentation:

  • Take photos of working circuits
  • Document what works
  • Share solutions
  • Build knowledge base

Pedagogical Focus (10 minutes) - Discussion: How to manage hardware in your classroom - Strategies: - Pair programming - Station rotation - Project-based learning - Peer teaching

Wrap-up and Reflection (10 minutes) - Daily Reflection Journal - Key Takeaways: - What did you learn? - What troubleshooting skills did you gain? - How will you maintain equipment?


Materials Needed

Hardware

  • Computer for disassembly demo (or virtual tools)
  • Arduino Uno boards
  • Various components:
  • LEDs, resistors, buttons
  • Sensors (temperature, light, etc.)
  • Motors (servo, DC)
  • Displays (LCD, LED matrix)
  • Breadboards, jumper wires
  • Multimeters (for testing)
  • Component storage system

Software

  • Virtual computer anatomy tools
  • Arduino IDE (for reference)
  • S4A
  • Tinkercad (for simulation)

Handouts

  • Computer hardware guide
  • Arduino architecture reference
  • Troubleshooting guide
  • Component specifications
  • Maintenance checklist

Differentiation Strategies

For Beginners

  • Focus on basic components
  • Simple circuits
  • Step-by-step guidance
  • Extra time for building

For Advanced Learners

  • Complex systems
  • Multiple components
  • Advanced troubleshooting
  • Help others

Assessment

Formative (Throughout Day)

  • Component identification
  • Circuit building
  • Troubleshooting demonstrations
  • Understanding checks

Summative (End of Day)

  • Completed system project
  • Troubleshooting scenarios
  • Reflection journal
  • Self-assessment

Safety Reminders

  1. Always disconnect power when making changes
  2. Check connections before powering on
  3. Use appropriate resistors
  4. Handle components carefully
  5. Supervise students closely
  6. Have first aid available

Homework/Preparation for Day 5

  1. Complete reflection journal
  2. Finish system project
  3. Review curriculum integration materials
  4. Think about: How will you assess student projects?

Notes for Facilitators

  • Safety First: Always emphasize safety
  • Hands-On: Maximum hands-on time
  • Troubleshooting: Teach systematic approach
  • Documentation: Encourage documentation
  • Real-World: Connect to practical applications

Next Day Preview

Tomorrow is our final day! We'll focus on integrating everything we've learned into your curriculum, creating assessment strategies, and building your capstone project. Get ready to put it all together!