Embedded C Programming Lab Manual

Author

Livin Nector D

Published

September 18, 2024

Preface

This book contains the help documents and the exercises for the Embedded C Programming Lab.

IDEs

There are two groups of exercises which will be using the following IDEs.

Basic IO, Serial Communication, External and Timer interrupts will be discussed with STMCubeIDE and Interfacing with Sensors will be done using Arduino IDE.

Note

The exercises that are done using Arduino IDE can also be done using STMCubeIDE.

Development board

The exercise here are implemented using STM Nucleo-144 F767ZI development board.

Components

  • Built-in LEDs (PB0,PB7,PB14) and Pushbutton (PC13)
  • Built-in Serial UART
  • Ultrasonic sensor - HC-SR04
  • Temperature Sensor - MCP9808
  • Accelerometer and gyroscope - MPU-6050