Sign in Sign up
Courses › Beginner

Microcontrollers: Discover the PIC16 Family

Understand how a computer works from the inside, then learn to program a real microcontroller — step by step, from zero.

📚 6 chapters available ⏱ ~15 hours 🎓 Beginner 👥 16 students
Sign up to start the course Sign in

About this course

Microcontrollers are everywhere: in washing machines, cars, toys, medical devices and industrial machines. In this course you will first understand how any computer system works (processor, memory, buses), then discover the PIC16 family from Microchip: its architecture, its instruction set, its input/output ports and its built-in peripherals.

The course is written for beginners. Every chapter explains one idea at a time, with diagrams, examples and a short quiz at the end.

This course is largely inspired by the course "Microcontrôleurs — Famille PIC 16" by T. Grenier and D. Tournier (INSA Lyon), rewritten and extended for beginners.

What you will learn

  • Describe the elements of a computer system
  • Explain the Von Neumann and Harvard architectures
  • Understand how data travels on the buses
  • Read a memory map and understand address decoding
  • Know the PIC16 family and its architecture
  • Program a PIC16 in assembly and use its I/O ports and peripherals

Course outline

2

Meet the PIC16 microcontrollers

PIC families, how to read a part number, and the internal architecture of the PIC16F877A.
2.1 — The PIC family: choosing and identifying a PIC 16 min
3

The PIC16 instruction set

The 35 instructions of the PIC16 and your first programs in assembly.
Coming soon
4

Input/output ports

Reading buttons and driving LEDs with ports A to E.
Coming soon
5

Built-in peripherals

Timers, interrupts, analog-to-digital converter and serial communication.
Coming soon
6

Practical considerations

Clock, reset, power supply and programming a real chip.
Coming soon