diff options
-rw-r--r-- | _Raspberry_Pi___42____42__Blink__42____42___.mdwn | 32 |
1 files changed, 20 insertions, 12 deletions
diff --git a/_Raspberry_Pi___42____42__Blink__42____42___.mdwn b/_Raspberry_Pi___42____42__Blink__42____42___.mdwn index 3930ecea..5f35dd68 100644 --- a/_Raspberry_Pi___42____42__Blink__42____42___.mdwn +++ b/_Raspberry_Pi___42____42__Blink__42____42___.mdwn @@ -21,17 +21,6 @@ 3. cd Adafruit-Raspberry-Pi-Python-Code 4. ls - -### Beispiel-Programm für Luftfeuchte- und Temperatursensor - -1. sudo apt-get install build-essential python-dev python-openssl -2. git clone https://github.com/adafruit/Adafruit_Python_DHT.git -3. cd Adafruit_Python_DHT/ -4. sudo python setup.py install -5. cd examples/ -6. sudo ./AdafruitDHT.py 11 4 - - ## Wo ist welcher PIN? [[ http://pinout.xyz/ ]] @@ -39,7 +28,7 @@ ##Eine LED verbinden <img src="https://cdn-learn.adafruit.com/assets/assets/000/024/147/medium640/raspberry_pi_little_cobbler_bb.png?1427733019" alt="LED mit Raspberry Pi verbinden"> - +Bild von adafruit.com ##LED mit Python-Interpreter steuern @@ -82,6 +71,25 @@ speed = raw_input("Enter length of each blink(seconds): ") Blink(int(iterations),float(speed)) </pre> + +## Beispiel für Luftfeuchte- und Temperatursensor + +<img src="https://cdn-learn.adafruit.com/assets/assets/000/001/860/original/raspberry_pi_dht11wiring.gif?1447864313 alt="DHT-Sensor mit Raspberry Pi verbinden"> +Bild von adafruit.com + +1. sudo apt-get install build-essential python-dev python-openssl +2. git clone https://github.com/adafruit/Adafruit_Python_DHT.git +3. cd Adafruit_Python_DHT/ +4. sudo python setup.py install +5. cd examples/ +6. sudo ./AdafruitDHT.py 11 4 + + + ## Links [[ http://www.thirdeyevis.com/pi-page-2.php ]] + +[[ https://learn.adafruit.com/dht-humidity-sensing-on-raspberry-pi-with-gdocs-logging/overview ]] + +[[ https://learn.adafruit.com/adafruits-raspberry-pi-lesson-4-gpio-setup/overview ]] |