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

Electricity and Your First GPIO Outputs

Understand enough electricity to wire safely, then control LEDs from Python with gpiozero.

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

10 Lektionen in dieser Stufe

  1. Voltage, Current and Resistance for Makers
    Describe the three quantities and apply Ohm's law to a simple circuit. · Lab: Calculate the current through three resistor values at 3.3 V and check one with a multimeter.
  2. How a Breadboard Is Wired Inside
    Predict which holes are connected and build a circuit that matches a diagram. · Lab: Map your breadboard with the continuity tester and mark the rail break if it has one.
  3. Measuring Voltage, Continuity and Resistance with a Multimeter
    Select the right range and probe position for three basic measurements. · Lab: Measure the 3.3 V and 5 V header pins, five resistors and a suspect jumper wire.
  4. The 40-Pin Header: Power, Ground and GPIO Numbering
    Find any pin by GPIO number and by physical position. · Lab: Run the pinout command and label the breakout board with the pins you will use.
  5. GPIO Safety Limits: 3.3 V Logic and Current Budgets
    State what damages a GPIO pin and how to stay inside the limits. · Lab: Review six wiring sketches and mark each one safe or unsafe with the reason.
  6. Calculating a Resistor and Lighting an LED from 3.3 V
    Choose a series resistor from forward voltage and target current. · Lab: Light an LED from the 3.3 V pin through a calculated resistor and measure the actual current.
  7. Blinking an LED with gpiozero
    Control an output pin from Python using the LED class. · Lab: Wire an LED to GPIO17 and write a blink script with on, off and blink.
  8. How gpiozero Reaches the Pins: Pin Factories and lgpio
    Explain the layers between your script and the pin on Pi 4 and on Pi 5. · Lab: Print the active pin factory, list GPIO chips with gpioinfo and note what differs on a Pi 5.
  9. Fading with PWM and Mixing Colours on an RGB LED
    Use duty cycle to set brightness and combine channels into colours. · Lab: Fade an LED with PWMLED, then cycle an RGBLED through six colours.
  10. Sequencing Several LEDs into a Traffic Light
    Coordinate several outputs with lists, loops and timing. · Lab: Build a three-LED traffic light and run the correct sequence for your country.

Abschlussprojekt

A traffic light and RGB mood lamp on a breadboard, with every resistor value calculated by you and every voltage checked with a multimeter.

Teile für diese Stufe

  • 1 × Raspberry Pi 5 or Pi 4 set from Level 1
  • 1 × Breadboard 830 tie points
  • 1 × GPIO breakout (T-cobbler) with ribbon cable
  • 1 × Jumper wire set (male-male and male-female)
  • 10 × LED 5 mm assorted colours
  • 1 × RGB LED common cathode
  • 1 × Resistor kit (220 ohm to 10 k ohm)
  • 1 × Digital multimeter

In jeder Lektion legst du die passenden Teile direkt in den Warenkorb. Raspberry Pi →

Voraussetzung: Level 5: Python variables, loops, functions and virtual environments.

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