Endpreise in CHF – Versand inklusive Schweizer Unternehmen · 076 792 63 50 (WhatsApp/SMS)
Kurse › Arduino › Stufe 14
Arduino · Intermediate · Stufe 14 / 40

UART in Depth: Serial Links Between Devices

Understand asynchronous serial at signal level and build robust links to modules and other boards.

Intermediate freischalten · CHF 19.90 Stufen 14–26, einmalig, kein Abo

10 Lektionen in dieser Stufe

  1. Anatomy of a UART Frame: Start, Data, Parity, Stop
    Describe how one byte is sent bit by bit without a clock line. · Lab: Draw the waveform for the letter A at 9600 baud by hand.
  2. Baud Rate Error and Why High Speeds Sometimes Fail
    Relate clock accuracy and baud divisor to reception errors. · Lab: Calculate the real baud rate and error at 115200 on a 16 MHz board and test a link at several speeds.
  3. Capturing Serial Traffic with a Logic Analyzer
    Connect a logic analyzer, record a signal and decode it as serial data. · Lab: Capture the board printing text and read the decoded characters.
  4. USB-to-Serial Adapters and Crossing TX with RX
    Wire an external adapter correctly and talk to a board without its USB port. · Lab: Open a second serial channel to the computer through an adapter.
  5. 5 V and 3.3 V Logic: Level Shifting Done Right
    Protect 3.3 V parts with dividers or shifter modules and know when none is needed. · Lab: Build a resistor divider for one direction and use a shifter module for both, verifying levels by meter.
  6. SoftwareSerial and Its Limits
    Create an extra serial port in software and understand its speed and timing restrictions. · Lab: Talk to a module at 9600 baud on two free pins while keeping USB serial for debugging.
  7. Multiple Hardware Serial Ports on a Mega-Compatible Board
    Use Serial1 to Serial3 for reliable parallel links. · Lab: Bridge data between the computer and a module through a Mega-compatible board.
  8. Designing a Framed Message Protocol with Checksum
    Define start marker, length, payload and checksum and parse it with a state machine. · Lab: Send sensor frames between two boards and reject deliberately corrupted ones.
  9. Parsing NMEA Sentences from a GPS Module
    Extract time, position and speed from text sentences and validate them. · Lab: Display latitude, longitude, speed and satellite count outdoors.
  10. Wireless Serial with an HC-05 Bluetooth Module
    Pair a classic Bluetooth serial module with a phone and configure it by AT commands. · Lab: Send commands from a phone terminal app to switch outputs and receive readings.

Abschlussprojekt

A GPS speed and position display that also relays formatted data to a phone over Bluetooth with a checksummed message format.

Teile für diese Stufe

  • 1 × UNO-compatible board
  • 1 × Mega-compatible board
  • 2 × USB cable matching each board
  • 1 × Solderless breadboard 830 points
  • 1 × Jumper wire set male-male and male-female
  • 1 × USB logic analyzer 8 channel
  • 1 × USB-to-serial adapter 3.3 V and 5 V
  • 1 × Bidirectional logic level shifter module
  • 1 × GPS receiver module with antenna
  • 1 × HC-05 Bluetooth serial module
  • 2 × Resistor 1 kilohm
  • 2 × Resistor 2 kilohm
  • 1 × OLED display 0.96 inch I2C 128x64

In jeder Lektion legst du die passenden Teile direkt in den Warenkorb. Arduino-kompatibel →

Voraussetzung: Levels 1–13: Serial basics, classes, fixed-width types and timing.

🔒 Sichere Zahlung · 3D Secure 🔐 SSL-verschlüsselt 🚚 Versand in die ganze Schweiz 🇨🇭 Schweizer Unternehmen