# gfm16617/engredu_website architecture

> Architecture diagram of the GitHub repository gfm16617/engredu_website, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-16). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/gfm16617/engredu_website
- Repository: https://github.com/gfm16617/engredu_website

## Overview

This repository is a collection of embedded-systems and electronics teaching projects, not one integrated application. Its clearest workflows are sensor acquisition in the ICM42605 test and balance-robot projects, waveform generation in the DDS projects, and simple MCU demonstrations. The graph preserves those separate project branches and shows the shared HAL layer only where the supplied index or excerpts support a relationship. No README was provided, and unsampled files are not treated as inspected.

Main entry points: [`Class_Projects/Embedded_Systems/DDS_Function_Generator/STM32F405_Board/STM32F_Code/2024_Discovery_DDS_Shield/Core/Src/main.c`](https://github.com/gfm16617/engredu_website/blob/main/Class_Projects/Embedded_Systems/DDS_Function_Generator/STM32F405_Board/STM32F_Code/2024_Discovery_DDS_Shield/Core/Src/main.c) (DDS waveform app), [`Class_Projects/Embedded_Systems/2024_STM32CubeIDE_Projects/2024_STM32C011J4M6_BlinkLED/Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal.h`](https://github.com/gfm16617/engredu_website/blob/main/Class_Projects/Embedded_Systems/2024_STM32CubeIDE_Projects/2024_STM32C011J4M6_BlinkLED/Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal.h) (C0 HAL), [`Class_Projects/Embedded_Systems/2024_STM32CubeIDE_Projects/2024_STM32C011J4M6_BlinkLED/Core/Src/main.c`](https://github.com/gfm16617/engredu_website/blob/main/Class_Projects/Embedded_Systems/2024_STM32CubeIDE_Projects/2024_STM32C011J4M6_BlinkLED/Core/Src/main.c) (C011 UART demo), [`Class_Projects/Embedded_Systems/2024_STM32CubeIDE_Projects/2024_STM32F030_BlinkLED/Core/Src/main.c`](https://github.com/gfm16617/engredu_website/blob/main/Class_Projects/Embedded_Systems/2024_STM32CubeIDE_Projects/2024_STM32F030_BlinkLED/Core/Src/main.c) (F030 peripheral demo)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_mcu["STM32 demonstrations"]
  node_c0blink["C011 UART demo<br/>[main.c]"]
  node_f030blink["F030 peripheral demo<br/>[main.c]"]
end

subgraph group_sensors["Sensor projects"]
  node_imuapp["ICM42605 test app<br/>[main.c]"]
  node_imudriver["ICM42605 driver<br/>[ICM42605_Driver.c]"]
  node_imuheader["ICM42605 API<br/>[ICM42605_Driver.h]"]
  node_balance["Balance robot control<br/>[main.c]"]
end

subgraph group_dds["DDS generator"]
  node_ddsdiscovery["DDS discovery demo<br/>[main.c]"]
  node_ddscore["DDS waveform app<br/>[main.c]"]
  node_ddsfunctions["Waveform functions<br/>[myFunctions.h]"]
  node_lcd["16x2 LCD API<br/>[lcd16x2.h]"]
end

subgraph group_platform["MCU support"]
  node_c0hal["C0 HAL<br/>[stm32c0xx_hal.h]"]
  node_c0config["C0 HAL config"]
  node_llsystem["Low-level system API"]
  node_f030hal["F0 HAL<br/>[stm32f0xx_hal.h]"]
end

node_actor(("Board user"))

node_actor -->|"uses"| node_c0blink
node_c0blink -.->|"uses HAL"| node_c0hal
node_c0hal -->|"includes config"| node_c0config
node_c0hal -->|"uses definitions"| node_llsystem
node_actor -->|"uses"| node_f030blink
node_f030blink -.->|"initializes peripherals"| node_f030hal
node_actor -->|"runs"| node_imuapp
node_imuapp -->|"uses API"| node_imuheader
node_imudriver -.->|"implements API"| node_imuheader
node_actor -->|"runs"| node_balance
node_actor -->|"uses"| node_ddsdiscovery
node_actor -->|"selects waveforms"| node_ddscore
node_ddscore -->|"uses functions"| node_ddsfunctions
node_ddscore -->|"updates display"| node_lcd
node_ddsdiscovery -->|"uses display API"| node_lcd

click node_c0blink "https://github.com/gfm16617/engredu_website/blob/main/Class_Projects/Embedded_Systems/2024_STM32CubeIDE_Projects/2024_STM32C011J4M6_BlinkLED/Core/Src/main.c"
click node_f030blink "https://github.com/gfm16617/engredu_website/blob/main/Class_Projects/Embedded_Systems/2024_STM32CubeIDE_Projects/2024_STM32F030_BlinkLED/Core/Src/main.c"
click node_c0hal "https://github.com/gfm16617/engredu_website/blob/main/Class_Projects/Embedded_Systems/2024_STM32CubeIDE_Projects/2024_STM32C011J4M6_BlinkLED/Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal.h"
click node_c0config "https://github.com/gfm16617/engredu_website/blob/main/Class_Projects/Embedded_Systems/2024_STM32CubeIDE_Projects/2024_STM32C011J4M6_BlinkLED/Core/Inc/stm32c0xx_hal_conf.h"
click node_llsystem "https://github.com/gfm16617/engredu_website/blob/main/Class_Projects/Embedded_Systems/2024_STM32CubeIDE_Projects/2024_STM32C011J4M6_BlinkLED/Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_ll_system.h"
click node_f030hal "https://github.com/gfm16617/engredu_website/blob/main/Class_Projects/Embedded_Systems/2024_STM32CubeIDE_Projects/2024_STM32F030_BlinkLED/Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h"
click node_imuapp "https://github.com/gfm16617/engredu_website/blob/main/Class_Projects/Embedded_Systems/2024_STM32CubeIDE_Projects/2024_STM32C011J4M6_IMU_Test/Core/Src/main.c"
click node_imudriver "https://github.com/gfm16617/engredu_website/blob/main/Class_Projects/Embedded_Systems/2024_STM32CubeIDE_Projects/2024_STM32C011J4M6_IMU_Test/Core/Src/ICM42605_Driver.c"
click node_imuheader "https://github.com/gfm16617/engredu_website/blob/main/Class_Projects/Embedded_Systems/2024_STM32CubeIDE_Projects/2024_STM32C011J4M6_IMU_Test/Core/Inc/ICM42605_Driver.h"
click node_balance "https://github.com/gfm16617/engredu_website/blob/main/Class_Projects/Embedded_Systems/2026_Balance_Robot_Project/3Wheel_Code/2026_STM32F401_3Wheel_Balance/Core/Src/main.c"
click node_ddsdiscovery "https://github.com/gfm16617/engredu_website/blob/main/Class_Projects/Embedded_Systems/DDS_Function_Generator/Discovery_Board_Shield/STM32F_Code/main.c"
click node_ddscore "https://github.com/gfm16617/engredu_website/blob/main/Class_Projects/Embedded_Systems/DDS_Function_Generator/STM32F405_Board/STM32F_Code/2024_Discovery_DDS_Shield/Core/Src/main.c"
click node_ddsfunctions "https://github.com/gfm16617/engredu_website/blob/main/Class_Projects/Embedded_Systems/DDS_Function_Generator/STM32F405_Board/STM32F_Code/2024_Discovery_DDS_Shield/Core/Src/myFunctions.h"
click node_lcd "https://github.com/gfm16617/engredu_website/blob/main/Class_Projects/Embedded_Systems/DDS_Function_Generator/STM32F405_Board/STM32F_Code/2024_Discovery_DDS_Shield/lcd16x2/lcd16x2.h"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_c0blink,node_f030blink,node_actor toneBlue
class node_imuapp,node_imudriver,node_imuheader,node_balance toneAmber
class node_ddsdiscovery,node_ddscore,node_ddsfunctions,node_lcd toneMint
class node_c0hal,node_c0config,node_llsystem,node_f030hal toneRose
```

## Components

### STM32 demonstrations

- [C011 UART demo](https://github.com/gfm16617/engredu_website/blob/main/Class_Projects/Embedded_Systems/2024_STM32CubeIDE_Projects/2024_STM32C011J4M6_BlinkLED/Core/Src/main.c): `Class_Projects/Embedded_Systems/2024_STM32CubeIDE_Projects/2024_STM32C011J4M6_BlinkLED/Core/Src/main.c`
- [F030 peripheral demo](https://github.com/gfm16617/engredu_website/blob/main/Class_Projects/Embedded_Systems/2024_STM32CubeIDE_Projects/2024_STM32F030_BlinkLED/Core/Src/main.c): `Class_Projects/Embedded_Systems/2024_STM32CubeIDE_Projects/2024_STM32F030_BlinkLED/Core/Src/main.c`

### Sensor projects

- [ICM42605 test app](https://github.com/gfm16617/engredu_website/blob/main/Class_Projects/Embedded_Systems/2024_STM32CubeIDE_Projects/2024_STM32C011J4M6_IMU_Test/Core/Src/main.c): `Class_Projects/Embedded_Systems/2024_STM32CubeIDE_Projects/2024_STM32C011J4M6_IMU_Test/Core/Src/main.c`
- [ICM42605 driver](https://github.com/gfm16617/engredu_website/blob/main/Class_Projects/Embedded_Systems/2024_STM32CubeIDE_Projects/2024_STM32C011J4M6_IMU_Test/Core/Src/ICM42605_Driver.c): `Class_Projects/Embedded_Systems/2024_STM32CubeIDE_Projects/2024_STM32C011J4M6_IMU_Test/Core/Src/ICM42605_Driver.c`
- [ICM42605 API](https://github.com/gfm16617/engredu_website/blob/main/Class_Projects/Embedded_Systems/2024_STM32CubeIDE_Projects/2024_STM32C011J4M6_IMU_Test/Core/Inc/ICM42605_Driver.h): `Class_Projects/Embedded_Systems/2024_STM32CubeIDE_Projects/2024_STM32C011J4M6_IMU_Test/Core/Inc/ICM42605_Driver.h`
- [Balance robot control](https://github.com/gfm16617/engredu_website/blob/main/Class_Projects/Embedded_Systems/2026_Balance_Robot_Project/3Wheel_Code/2026_STM32F401_3Wheel_Balance/Core/Src/main.c): `Class_Projects/Embedded_Systems/2026_Balance_Robot_Project/3Wheel_Code/2026_STM32F401_3Wheel_Balance/Core/Src/main.c`

### DDS generator

- [DDS discovery demo](https://github.com/gfm16617/engredu_website/blob/main/Class_Projects/Embedded_Systems/DDS_Function_Generator/Discovery_Board_Shield/STM32F_Code/main.c): `Class_Projects/Embedded_Systems/DDS_Function_Generator/Discovery_Board_Shield/STM32F_Code/main.c`
- [DDS waveform app](https://github.com/gfm16617/engredu_website/blob/main/Class_Projects/Embedded_Systems/DDS_Function_Generator/STM32F405_Board/STM32F_Code/2024_Discovery_DDS_Shield/Core/Src/main.c): `Class_Projects/Embedded_Systems/DDS_Function_Generator/STM32F405_Board/STM32F_Code/2024_Discovery_DDS_Shield/Core/Src/main.c`
- [Waveform functions](https://github.com/gfm16617/engredu_website/blob/main/Class_Projects/Embedded_Systems/DDS_Function_Generator/STM32F405_Board/STM32F_Code/2024_Discovery_DDS_Shield/Core/Src/myFunctions.h): `Class_Projects/Embedded_Systems/DDS_Function_Generator/STM32F405_Board/STM32F_Code/2024_Discovery_DDS_Shield/Core/Src/myFunctions.h`
- [16x2 LCD API](https://github.com/gfm16617/engredu_website/blob/main/Class_Projects/Embedded_Systems/DDS_Function_Generator/STM32F405_Board/STM32F_Code/2024_Discovery_DDS_Shield/lcd16x2/lcd16x2.h): `Class_Projects/Embedded_Systems/DDS_Function_Generator/STM32F405_Board/STM32F_Code/2024_Discovery_DDS_Shield/lcd16x2/lcd16x2.h`

### MCU support

- [C0 HAL](https://github.com/gfm16617/engredu_website/blob/main/Class_Projects/Embedded_Systems/2024_STM32CubeIDE_Projects/2024_STM32C011J4M6_BlinkLED/Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal.h): `Class_Projects/Embedded_Systems/2024_STM32CubeIDE_Projects/2024_STM32C011J4M6_BlinkLED/Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal.h`
- [C0 HAL config](https://github.com/gfm16617/engredu_website/blob/main/Class_Projects/Embedded_Systems/2024_STM32CubeIDE_Projects/2024_STM32C011J4M6_BlinkLED/Core/Inc/stm32c0xx_hal_conf.h): `Class_Projects/Embedded_Systems/2024_STM32CubeIDE_Projects/2024_STM32C011J4M6_BlinkLED/Core/Inc/stm32c0xx_hal_conf.h`
- [Low-level system API](https://github.com/gfm16617/engredu_website/blob/main/Class_Projects/Embedded_Systems/2024_STM32CubeIDE_Projects/2024_STM32C011J4M6_BlinkLED/Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_ll_system.h): `Class_Projects/Embedded_Systems/2024_STM32CubeIDE_Projects/2024_STM32C011J4M6_BlinkLED/Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_ll_system.h`
- [F0 HAL](https://github.com/gfm16617/engredu_website/blob/main/Class_Projects/Embedded_Systems/2024_STM32CubeIDE_Projects/2024_STM32F030_BlinkLED/Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h): `Class_Projects/Embedded_Systems/2024_STM32CubeIDE_Projects/2024_STM32F030_BlinkLED/Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h`

### Other components

- **Board user**

## Connections

- Board user → C011 UART demo: uses
- C011 UART demo → C0 HAL: uses HAL
- C0 HAL → C0 HAL config: includes config (evidence: `Class_Projects/Embedded_Systems/2024_STM32CubeIDE_Projects/2024_STM32C011J4M6_BlinkLED/Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal.h`)
- C0 HAL → Low-level system API: uses definitions (evidence: `Class_Projects/Embedded_Systems/2024_STM32CubeIDE_Projects/2024_STM32C011J4M6_BlinkLED/Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal.h`)
- Board user → F030 peripheral demo: uses
- F030 peripheral demo → F0 HAL: initializes peripherals
- Board user → ICM42605 test app: runs
- ICM42605 test app → ICM42605 API: uses API (evidence: `Class_Projects/Embedded_Systems/2024_STM32CubeIDE_Projects/2024_STM32C011J4M6_IMU_Test/Core/Src/main.c`)
- ICM42605 driver → ICM42605 API: implements API
- Board user → Balance robot control: runs
- Board user → DDS discovery demo: uses
- Board user → DDS waveform app: selects waveforms
- DDS waveform app → Waveform functions: uses functions (evidence: `Class_Projects/Embedded_Systems/DDS_Function_Generator/STM32F405_Board/STM32F_Code/2024_Discovery_DDS_Shield/Core/Src/main.c`)
- DDS waveform app → 16x2 LCD API: updates display (evidence: `Class_Projects/Embedded_Systems/DDS_Function_Generator/STM32F405_Board/STM32F_Code/2024_Discovery_DDS_Shield/Core/Src/main.c`)
- DDS discovery demo → 16x2 LCD API: uses display API (evidence: `Class_Projects/Embedded_Systems/DDS_Function_Generator/Discovery_Board_Shield/STM32F_Code/main.c`)
