Testing all sensors

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Testing all sensors

AlfredC
Administrator
This post was updated on .
Test DHT 22 sensor:
>cd /home/pi/liv/livDB
>sudo python temperatureHumiditySensor.py
(command tests DHT sensor connected to GPIO 27. DHT sensor has to be plugged into the connector close to RTC module. If you want to test DHT22 connected to GPIO 17, plug into the connector on the back and edit the temperatureHumiditySensor.py so that it uses GPIO 17)



Test BMP180 sensor:
>cd /home/pi/liv/livDB
>sudo python airPressureSensor.py



Test K30 sensor:
>cd /home/pi/liv/livDB
>sudo python co2Sensor.py







Loading...