Skip to content

Search

Search courses, labs, notes, tools…

Guided lab · ECE 2

Microcontroller PCM and UART on the logic analyser

Decode real serial frames made by real firmware

Time
45 min
Bench
Emona kit bench

Free. The lab opens after Google sign-in, which also keeps your progress.

Screenshot of the "Microcontroller PCM and UART on the logic analyser" virtual lab running on the Emona kit bench, wired and measuring

What you do in this lab

Two microcontrollers turn a voltage into serial bits: an Arduino Uno bit-bangs an 8-bit PCM frame (DATA, CLK, FS) and a Raspberry Pi Pico does the same with its PIO state machine. You will decode both on the logic analyser, predict the codes from the ADC reference, and then decode a 9600-baud UART message and measure its bit time.

Objectives

  • Read a PCM frame: data bits on clock edges and a frame-sync marking the last bit.
  • Predict an ADC code from the input voltage, the reference and the number of bits.
  • Decode UART 8N1 and relate the bit time to the baud rate.
  • Compare software bit-banging with a hardware serial engine (PIO).

Inside the lab

Step-by-step instructions with wiring checks, the readings you should get, questions with model answers and a short quiz. Sign in to open it.

Unofficial, free student project. Not affiliated with Emona Instruments or with any university. Emona and ETT-101 are trademarks of their owner.