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

The Serial Monitor: Making Your Board Talk and Listen

Exchange text and numbers with the computer to inspect, control and graph your programs.

Einsteiger freischalten · CHF 9.90 Stufen 1–13, einmalig, kein Abo

10 Lektionen in dieser Stufe

  1. Opening the Serial Monitor and Printing Text
    Start serial communication at a chosen baud rate and print lines. · Lab: Print a greeting once and a counter every second; then mismatch the baud rate and observe.
  2. Printing Variables, Number Bases and Tidy Columns
    Format output with print, println, tabs and DEC, HEX, BIN. · Lab: Print a table of numbers 0–15 in decimal, hex and binary.
  3. Tracing Program Flow with Serial Prints
    Place prints to find out which branch runs and what a variable holds. · Lab: Locate a planted logic bug in a given sketch using only print statements.
  4. float, char and bool: Choosing the Right Data Type
    Select types by range and precision and avoid float pitfalls. · Lab: Print the result of dividing integers and floats and explain the differences.
  5. Arrays: Many Values Under One Name
    Declare, index and loop over arrays without reading past the end. · Lab: Store four LED pins in an array and rewrite the running light with it.
  6. Text as char Arrays versus the String Class
    Store and compare text both ways and know the trade-offs. · Lab: Store a name in both forms, print its length and compare it with typed input.
  7. Receiving Single Characters from the Keyboard
    Use Serial.available and Serial.read to react to typed keys. · Lab: Switch an LED on with the key 1 and off with 0.
  8. Reading Whole Numbers and Lines of Text
    Read multi-character input with parseInt and readStringUntil and handle line endings. · Lab: Type a number to set how many times an LED blinks.
  9. Live Graphs with the Serial Plotter
    Format output so the plotter draws one or more labelled traces. · Lab: Plot a rising and falling counter and a button state together.
  10. Building a Serial Command Menu
    Design a small text command set with help output and rejection of bad input. · Lab: Implement commands to switch four LEDs and print their status.

Abschlussprojekt

A serial control console that switches and reports LEDs through typed commands with a help menu and input checking.

Teile für diese Stufe

  • 1 × UNO-compatible board
  • 1 × USB cable matching the board
  • 1 × Solderless breadboard 830 points
  • 1 × Jumper wire set male-male
  • 4 × LED 5 mm assorted
  • 4 × Resistor 220 ohm
  • 2 × Tactile push button

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

Voraussetzung: Levels 1–4: digital I/O, conditions, loops and functions.

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