How abdelhamid108/iti-iot- works
Project type and purpose
• This is an embedded IoT firmware project (ITI-IoT) combined with MATLAB-based data-processing and lab scripts.
• The firmware runs on a microcontroller, providing drivers for ADC, digital I/O, 7-segment display and UART, plus a middleware layer (CRC, SLIP, delay) and a LoRaWAN communication stack (WiMOD_HCI_Layer, WiMOD_LoRaWAN_API). MATLAB scripts under matlab_iot are used on a host PC to generate or analyze signals and interact with the device.
File structure
• Top-level directories:
– adc, dio, segment, uart: peripheral driver implementations and small demos (e.g., main.c to test each driver)
– project: the full firmware build, containing HAL drivers, protocol layers, main application and Debug/build artifacts
– matlab_iot: MATLAB/.m scripts for lab exercises and LoRaWAN interaction
• Key patterns:
– “project” directory is organized by component (CRC16, DIO, SLIP, UART, WiMOD layers, lcd, delay, Utils) and contains build files (makefile, .elf/.hex)
– Drivers live at the bottom layer, utilities and protocol middleware above, and main.c sits at the top as the application entry point
Putting it all together
2. Inside, stack from bottom to top:
• HAL Layer: ADC, DIO, 7-Segment, UART
• Middleware Layer: CRC16, Delay, SLIP
• Protocol Layer: WiMOD_HCI_Layer, WiMOD_LoRaWAN_API
• Application Layer: main.c