Choose your language
Microcontroller Course
More than 2 million students worldwide

Microcontroller Course

4

Master microcontroller development from bare-metal fundamentals to professional firmware architecture. This course covers everything from GPIO control and serial protocols to low-power design and RTOS integration. You'll build real skills that apply directly to embedded systems engineering roles and projects.

Dedika for businesses

What you will learn:

You'll start with microcontroller architecture and memory organisation, then move into configuring GPIO, timers, PWM, and serial communication protocols including UART, SPI, and I2C. You'll learn how to write interrupt-driven firmware, design low-power systems using sleep modes and clock gating, and interface analogue sensors with proper signal conditioning. The course also covers RTOS task management, layered firmware architecture, bootloader design, and PCB layout for microcontroller projects. By the end, you'll have the technical depth to design, build, and debug complete embedded systems professionally.

How you study in practice Microcontroller Course

How you practise Microcontroller Course

For businesses looking to train their team

With Dedika for businesses, the course includes exercises and examples tailored to your own business and the way your company needs.

Click here

Course content

8 Chapters • 40 LessonsDuration between 4 and 360 hours (you decide)

Chapter 1See details

Foundations of Microcontroller Systems

  • Lesson 1 • Memory Organisation and Addressing

    Covers flash, SRAM, EEPROM, and register file layout. Students map memory regions and understand how addressing affects code and data placement.

  • Lesson 2 • What Is a Microcontroller

    Defines microcontrollers and contrasts them with microprocessors and FPGAs. Provides the conceptual baseline for all subsequent hardware and software topics.

  • Lesson 3 • Power Supply and Reset Circuits

    Explains voltage regulation, decoupling capacitors, and reset signal requirements. Proper power design prevents erratic behaviour covered in later debugging chapters.

  • Lesson 4 • Development Ecosystem Introduction

    Surveys IDEs, compilers, programmers, and debuggers used throughout the course. Students set up a working toolchain before writing their first programme.

  • Lesson 5 • Internal Architecture Overview

    Examines CPU core, memory blocks, and peripheral buses inside a typical microcontroller. Connects architectural knowledge to programming and hardware design decisions.

Chapter 2See details

GPIO and Digital I/O Control

  • Lesson 1 • Configuring Input Pins

    Addresses floating inputs, pull-up and pull-down resistors, and Schmitt trigger inputs. Proper input configuration prevents noise-induced false readings.

  • Lesson 2 • Switch Debouncing Techniques

    Teaches hardware and software methods to eliminate mechanical switch bounce. Reliable debouncing is essential before implementing interrupt-driven input.

  • Lesson 3 • Configuring Output Pins

    Covers push-pull and open-drain output modes, drive strength, and slew rate. Students configure pins to drive LEDs, relays, and logic signals correctly.

  • Lesson 4 • LED and Indicator Drive Circuits

    Covers current-limiting resistor calculation, multiplexed LED arrays, and charlieplexing. Students build practical indicator circuits used in later project chapters.

  • Lesson 5 • GPIO Register Architecture

    Explains direction, output, and input registers that control pin behaviour. Understanding register bits is prerequisite to all peripheral configuration chapters.

Chapter 3See details

Interrupts and Event-Driven Programming

  • Lesson 1 • Interrupt Latency and Priority Management

    Analyses sources of interrupt latency and strategies to meet real-time deadlines. Priority assignment decisions directly affect system responsiveness.

  • Lesson 2 • External Interrupt Configuration

    Configures edge- and level-triggered external interrupts on GPIO pins. Students replace polling loops with efficient interrupt-driven input handling.

  • Lesson 3 • Software Flags and Deferred Processing

    Introduces flag-based main-loop processing to offload work from ISRs. This pattern scales into the RTOS task model introduced in later chapters.

  • Lesson 4 • Interrupt System Architecture

    Explains interrupt vectors, the interrupt controller, and priority levels. This architecture underpins every event-driven technique taught in the chapter.

  • Lesson 5 • Writing Safe Interrupt Service Routines

    Covers ISR entry and exit, volatile variables, and shared-data protection. Safe ISR design prevents race conditions addressed in advanced chapters.

Chapter 4See details

Timers, PWM, and Time-Based Control

  • Lesson 1 • Watchdog Timer Configuration

    Configures the watchdog timer to reset the system on firmware lockup. Watchdog integration is a mandatory reliability practice for deployed embedded systems.

  • Lesson 2 • PWM Signal Generation

    Configures fast and phase-correct PWM modes to control duty cycle and frequency. PWM output drives motors, dimmers, and audio signals in project chapters.

  • Lesson 3 • Generating Accurate Time Delays

    Implements blocking and non-blocking delays using timer overflow and compare-match events. Non-blocking delays replace busy-wait loops in responsive firmware.

  • Lesson 4 • Timer Hardware Architecture

    Describes prescalers, counter registers, and compare/capture units inside a timer peripheral. Architectural understanding enables correct timer mode selection.

  • Lesson 5 • Input Capture and Frequency Measurement

    Uses input capture to timestamp signal edges and compute frequency and pulse width. These measurements support sensor interfacing covered in the next chapter.

Chapter 5See details

Serial Communication Protocols

  • Lesson 1 • UART Asynchronous Communication

    Configures baud rate, frame format, and flow control for UART transmission. UART is the simplest serial protocol and the foundation for protocol comparison.

  • Lesson 2 • SPI Synchronous Protocol

    Explains SPI master and slave roles, clock polarity, and phase modes. Students interface SPI flash memory and display modules used in project chapters.

  • Lesson 3 • I2C Two-Wire Protocol

    Covers I2C start/stop conditions, addressing, and ACK/NACK handling. Multi-device bus management skills apply directly to sensor hub designs.

  • Lesson 4 • Circular Buffers for Serial Data

    Implements ring buffers to decouple ISR data reception from main-loop processing. Buffer design prevents data loss at high baud rates and bus speeds.

  • Lesson 5 • Protocol Debugging and Analysis

    Uses logic analysers and software tools to capture and decode serial traffic. Debugging skills reduce integration time when connecting third-party peripherals.

Chapter 6See details

Analogue Interfaces and Signal Conditioning

  • Lesson 1 • Noise Reduction and Averaging

    Applies oversampling, decimation, and moving-average filters to reduce ADC noise. These techniques improve measurement resolution beyond hardware limits.

  • Lesson 2 • ADC Architecture and Configuration

    Explains successive-approximation ADC operation, reference voltage, and resolution. Correct configuration is prerequisite to accurate sensor data acquisition.

  • Lesson 3 • DAC Output and Waveform Generation

    Configures the DAC peripheral to produce DC reference voltages and arbitrary waveforms. DAC output drives actuators and audio circuits in project work.

  • Lesson 4 • ADC Sampling Modes and Triggering

    Configures single, continuous, and scan modes with timer and software triggers. Triggered sampling synchronises data acquisition with system events.

  • Lesson 5 • Signal Conditioning Circuits

    Designs anti-aliasing filters, voltage dividers, and op-amp buffers for sensor signals. Proper conditioning ensures the ADC receives clean, in-range voltages.

Chapter 7See details

Low-Power Design and Sleep Modes

  • Lesson 1 • Real-Time Clock and Scheduled Wake-Up

    Uses the RTC peripheral to schedule periodic wake events from deep sleep. RTC-based scheduling enables duty-cycled sensor nodes with long battery life.

  • Lesson 2 • Peripheral Clock Gating

    Disables unused peripheral clocks via clock control registers to reduce dynamic power. Clock gating complements sleep modes for fine-grained power management.

  • Lesson 3 • Voltage Scaling and Frequency Reduction

    Reduces core voltage and CPU frequency at runtime to lower dynamic power dissipation. Students implement dynamic voltage and frequency scaling in firmware.

  • Lesson 4 • Power Consumption Analysis

    Measures active, idle, and sleep current using datasheets and bench instruments. Accurate power budgeting is the foundation of low-power system design.

  • Lesson 5 • Sleep Mode Configuration

    Configures idle, sleep, deep-sleep, and standby modes with appropriate wake sources. Mode selection balances wake latency against power savings.

Chapter 8See details

Embedded Firmware Architecture and RTOS Basics

  • Lesson 1 • Inter-Task Communication Mechanisms

    Uses queues, semaphores, and mutexes to share data and synchronise tasks safely. These primitives prevent race conditions identified in the interrupts chapter.

  • Lesson 2 • State Machine Design Patterns

    Implements finite state machines to manage complex control flow without blocking. FSM patterns replace nested conditionals in interrupt-driven and RTOS contexts.

  • Lesson 3 • RTOS Concepts and Task Management

    Introduces RTOS scheduler, tasks, priorities, and context switching. Task-based design enables concurrent peripheral management in complex applications.

  • Lesson 4 • Layered Firmware Architecture

    Organises code into hardware abstraction, driver, middleware, and application layers. Layering reduces coupling and simplifies testing and porting across platforms.

  • Lesson 5 • Memory Management in Embedded Systems

    Covers static allocation, heap fragmentation, and memory pool strategies for RTOS. Deterministic memory use prevents runtime failures in safety-critical firmware.

Certification

Your valid completion certificate

This course is for you:

  • Electrical engineering students: ready to move beyond theory into real hardware.

  • Hobbyist makers: wanting to go deeper than Arduino abstractions allow.

  • Software developers: looking to transition into embedded and hardware-adjacent roles.

  • Mechanical engineers: adding microcontroller skills to their product development toolkit.

  • Electronics technicians: aiming to write firmware instead of just reading schematics.

  • Career changers: entering the embedded industry from unrelated technical backgrounds.

What our students say

Your lessons are perfect. I purchased the one-year package and finally have the opportunity to follow various topics of interest without needing to change platforms... I'm grateful for everything you do, I've already recommended you to other people...
Giulio Carlo
Giulio CarloDigital Marketing Student
I like how the lessons are straight to the point and how I can change chapters and skip content I don't need.
Mariana Ferres
Mariana FerresPhotography Student
I like the content and the way videos are presented and transcribed, which speeds up the process!
Luciana Alvarenga
Luciana AlvarengaNail Design Student
The platform is fast and simple to use. The diversity of content and complementary videos really help with learning.
André Felipe
André FelipePrompt Engineering Student

Top qualifications

FAQ

Who is Dedika?

Is the certificate valid in the United Kingdom?

Are the courses free?

What is the course workload?

What are the courses like?

How do the courses work?

What is the duration of the courses?

What is the cost or price of the courses?

What is an EAD or online course and how does it work?

PDF Course