Week 16 System Integration

This week, I focused on the system integration of my final project The Honor Tree, which is an interactive classroom display that celebrates students’ achievements.

assignment:

1.1 System Overview

The Honor Tree consists of multiple components working together:

1.2 Bill of Materials

Component Quantity Unit Price (RMB) Notes
PLA Filament93g--Provided by FabLab Formshop
3mm Corrugated Cardboard3 pcs--Laser-cut tree structure
9mm Felt Board121.8Tree background
Seeed XIAO-ESP32-C3134.05Main microcontroller
WS2812B RGB LEDs8 pcs17.36Light up apples
A3144 Hall Sensor8 pcs17.6Detect magnetic apples
Neodymium Magnets8 pcs3.3Inside 3D-printed apples
DFPlayer Mini139Plays sound effects
Speaker (3W 8Ω)14.12Connected to DFPlayer
SD Card (8GB)13.7Stores MP3 files
1

1.3 Circuit and Electronics Integration

I designed a custom PCB using EasyEDA based on the XIAO ESP32-C3,A total of 8 pins are required for the Hall sensors and 1 for the LED, plus two pins for the mini player, along with power and ground pins. No additional pin expansion board is needed for the Xiao.

1 1

Design Process

Click Place - Component

1

Enter the component name in the search box and select the model you purchased

1

Click the mouse to place the component on the canvas

1

Click Place - Add online tag

1

Connect one by one

1

Enter the tag name

1

Finish the design

1 1

Design - Convert schematic to PCB

1

Arrange the components

1

Routing - Single Track Routing

1

line Wiring

1

Click Place - Frame - Panel Frame

1

Board Frame

1

Place - Text

1

Input Text

1

Design and Manufacture

1 1

PCB board

1 1

1.4 Code Test

  • Pins D0–D5 & D8-D10 are connected to Hall sensors and WS2812B LEDs.
  • D6 and D7 are connected to DFPlayer Mini.
  • 1

    Connection layout

    1

    code

    1

    Test

    When a student puts their apple near the Hall sensor, the LED lights up and a happy “Great job!” plays.

    1.5 Structure Integration

    1.6 System Test & Result

    When a student attaches their apple:

    1. The Hall sensor detects it.
    2. The matching LED lights up.
    3. A “Great job!” message plays from the speaker.

    This provides immediate feedback and motivates students through interactive celebration.

    Here is my first version — an Honor Tree made of a wooden box. Since the surface area was relatively small, I upgraded to the second version to enhance the visual effect.

    Reflection

    Integrating all the parts was challenging yet rewarding. Aligning structure and electronics required multiple iterations. The result is a beautiful and meaningful classroom interaction tool that helps students feel recognized and proud of their efforts.

    Design files

    Code2.1 for this week Code2.2 for this week Code2.3 for this week Code2.4 for this week Code2.5 for this week