Instructions

KY-019 5V Relais Modul
Ausgabe: 29.04.2016 Copyright by Joy-IT - Published under CC BY-NC-SA 3.0 Seite 88 von 227
# Aufraeumarbeiten nachdem das Programm beendet wurde
except KeyboardInterrupt:
GPIO.cleanup()
Anschlussbelegung Raspberry Pi:
Relais - = GND [Pin 06]
Relais + = 5V [Pin 2]
Relais Signal = GPIO24 [Pin 18]
Beispielprogramm Download
KY-019_RPi_Relais.zip
Zu starten mit dem Befehl:
sudo python KY-019_RPi_Relais.py