Goal : Simple LED to Raspberry Pi 3 B wiring set-up to use with various tests like 4DIAC. Side Goal: Learn some basic electronics so not always asking EE with 4DIAC - how, why LED wiring used http://www.resistor-calculator.com/ LED Resistor Value Calculator LED used is 5mm, so chose a 330 Ohm resistor greater than minimum needed. Raspberry Pi 3 Model B v1.2 Pin layout 2 Tests for + output to LED: 1. Pin 1 = 3.3 V output to LED 2. Pin 7 Output to LED: GPIO04 Pin 6 GND was used for - output ground. https://www.jameco.com/Jameco/workshop/circuitnotes/raspberry-pi-circuit-note.html https://www.raspberrypi.org/documentation/usage/gpio-plus-and-raspi2/ sysfs from term command line What worked: To have authority to do commands sudo su [Note: sudo -i for root environment, suggested, but internet posts indicate it can cause problems easier.] For GPIO pin using to test and change on/off: Test with GPIO4 (note: ...
Sensor list Ultrasound HC-SR04 Ultrasonic Range Sensor on the Raspberry Pi (python,photos, theory) also see Common Adafruit Sensors Air quality RFID Also see post Common Adafruit Sensors for supporting code for: Accelerometers Gyroscope Light Magnetometers Barometric Pressure Humidity & Temperature Orientation
Plans test DHT11, DHT22 and SensePi Temperature and Humidity sensors and compare http://www.circuitbasics.com/ how-to-set-up-the-dht11- humidity-sensor-on-the- raspberry-pi/ https://github.com/netikras/r-pi_DHT11/blob/master/dht11.py Works as is! Code is Python 2, but works under Python 3 only changing print statements. http://www.uugear.com/portfolio/dht11-humidity-temperature-sensor-module/ Info on how the values are read from the sensor, but Python code is broke and not even close. Interfacing Temperature and Humidity Sensor (DHT11) with Raspberry Pi (C, wiringPi) Original post 11/29/17 in private blog
Comments
Post a Comment