How mono-1223/aurak-ceng432-embeddedsystemdesignlab works
Project Type and Purpose
• This project is a set of lab exercises for embedded systems design. Its purpose is to demonstrate various embedded programming and interfacing techniques—from basic digital logic and LED control to more complex tasks such as LCD device drivers and real‐time measurement.
• The labs use the Texas Instruments TM4C123GH6PM microcontroller on the Tiva LaunchPad board and are programmed in both C and Assembly, using the Keil µVision IDE and TivaWare SDK. The project aims to teach how to implement and test embedded systems with real peripherals.
File Structure Analysis
• The file tree is organized into lab-specific directories (e.g., Lab 01, Lab 02, … Lab 09) plus a “Practice” directory that contains additional experiments. Each lab directory holds a README, a RAR file with the source (including Keil project files with the .uvprojx extension), and a “Photos” subdirectory.
Key Components and Their Roles
• Embedded Hardware (TM4C123G LaunchPad):
• The central element with the TM4C123GH6PM MCU.
• Onboard debugger interface (ICDI) for programming and debugging.
• Software Development Environment:
• Keil µVision IDE: where each lab’s project is built (using .uvprojx project files) and compiled into firmware.
• TivaWare SDK: supplies the driver libraries and sample code essential for peripheral control.
• Peripheral Interfaces (varying per lab):
• Digital logic and LED experiments (Lab 01, Lab 02, Practice examples): show LEDs connected to GPIO ports.
• Switch and Button Interface (Lab 03, Practice): illustrate how button inputs are wired to the MCU.
• Debug and Diagnostic Modules (Lab 04): show heartbeat toggling and memory dump debugging mechanisms.
• More complex peripherals:
• Traffic Light Controller (Lab 05): a dedicated module representing multiple LEDs and switch inputs.
• Digital Piano (Lab 06): involving a Digital-to-Analog Converter interface.
• LCD Device Driver (Lab 07): connecting an LCD (Sitronix ST7735) to the MCU.
• Measurement System (Lab 08) and Embedded System Design (Lab 09): indicating real-time sensor data handling.
Architectural Patterns and Design Principles
• Modularity – Each lab experiment is a self-contained module with a specific focus yet uses the same hardware fundamentals.
• Separation of Concerns – The development environment (Keil µVision) is separate from the firmware execution on hardware, and the firmware itself is divided into modules (drivers, control routines, and hardware abstractions).
• Real-time processing and debugging aspects which are central for embedded systems design.