Treffer: Raspberry GPIO: Schalten und messen.
Weitere Informationen
The article "Raspberry GPIO: Switching and measuring" in PC Welt Plus describes the use of the GPIO interface of the Raspberry Pi to control LEDs and query sensor data. It is recommended to acquire electronic components such as breadboards, jumper cables, resistors, LEDs, capacitors, transistors, switches, and sensors. The article also provides a brief introduction to component knowledge and explains the use of resistors and LEDs. An example is given on how to make an LED light up by connecting it to the GPIO pins of the Raspberry Pi with a resistor. The text describes the use of the Python programming language to control GPIO pins on a Raspberry Pi. Various functions and commands are explained, such as turning an LED on and off, querying the status of a button, and reading temperatures with a DS18B20 sensor. It is also mentioned that Python is an easy-to-learn programming language and that Raspbian already includes everything necessary to run Python scripts. The article describes various aspects of the Python programming language, particularly in relation to the Raspberry Pi. Information is provided on connecting a sensor to the Raspberry Pi using the One-Wire protocol and how to use functions and loops in Python. Furthermore, it is explained how to activate a relay through software to turn electrical devices on and off. Information is also given on the use of modules and how to start Python scripts. Additionally, the possibility of creating a graphical user interface with the GUI toolkit tk is mentioned. [Extracted from the article]
Der Artikel "Raspberry GPIO: Schalten und messen" in der PC Welt Plus beschreibt die Verwendung der GPIO-Schnittstelle des Raspberry Pi, um LEDs zu steuern und Sensordaten abzufragen. Es wird empfohlen, elektronische Bauteile wie Breadboards, Steckbrückenkabel, Widerstände, LEDs, Kondensatoren, Transistoren, Schalter und Sensoren zu erwerben. Der Artikel gibt auch eine kurze Einführung in die Bauteilkunde und erklärt die Verwendung von Vorwiderständen und LEDs. Es wird ein Beispiel gegeben, wie man eine LED zum Leuchten bringt, indem man sie mit einem Vorwiderstand an die GPIO-Pins des Raspberry Pi anschließt. Der Text beschreibt die Verwendung der Programmiersprache Python zur Steuerung von GPIO-Pins auf einem Raspberry Pi. Es werden verschiedene Funktionen und Befehle erklärt, wie z.B. das Ein- und Ausschalten einer LED, das Abfragen des Status eines Tasters und das Auslesen von Temperaturen mit einem DS18B20-Sensor. Es wird auch darauf hingewiesen, dass Python eine leicht zu erlernende Programmiersprache ist und dass Raspbian bereits alles Notwendige für die Ausführung von Python-Scripts enthält. Der Artikel beschreibt verschiedene Aspekte der Programmiersprache Python, insbesondere im Zusammenhang mit dem Raspberry Pi. Es werden Informationen zur Verbindung eines Sensors mit dem Raspberry Pi über das One-Wire-Protokoll gegeben und erklärt, wie man Funktionen und Schleifen in Python verwendet. Des Weiteren wird erläutert, wie man ein Relais per Software aktivieren kann, um elektrische Geräte ein- und auszuschalten. Es werden auch Informationen zur Verwendung von Modulen und zum Starten von Python-Skripten gegeben. Zudem wird die Möglichkeit der Erstellung einer grafischen Benutzeroberfläche mit dem GUI-Toolkit tk erwähnt. [Extracted from the article]
Copyright of PC Welt Plus is the property of Foundry and its content may not be copied or emailed to multiple sites without the copyright holder's express written permission. Additionally, content may not be used with any artificial intelligence tools or machine learning technologies. However, users may print, download, or email articles for individual use. This abstract may be abridged. No warranty is given about the accuracy of the copy. Users should refer to the original published version of the material for the full abstract. (Copyright applies to all Abstracts.)