Outils pour utilisateurs

Outils du site


raspberrypi-grove-hat:hat_seedstudio_grove_sur_raspberry_py_et_capteurs_grove

Intro et install

Pour installer :

sudo apt install python-pip python3-pip
curl -sL https://github.com/Seeed-Studio/grove.py/raw/master/install.sh | sudo bash -s -

On doit avoir à la fin :

  Lastest Grove.py from github install complete   !!!!!

grove.py

Capteur CO2 SCD30

https://github.com/UnravelTEC/Raspi-Driver-SCD30
sudo apt install python-crcmod
sudo apt install python3-crcmod
sudo sed -i "s|^ExecStart=.*|ExecStart=/usr/bin/pigpiod -l -n 127.0.0.1|" /lib/systemd/system/pigpiod.service
sudo systemctl daemon-reload
sudo systemctl stop pigpiod
sudo systemctl enable pigpiod
sudo systemctl start pigpiod
git clone https://github.com/UnravelTEC/Raspi-Driver-SCD30
cd Raspi-Driver-SCD30
/scd30-once.py # test
# gas_ppm{sensor="SCD30",gas="CO2"} 404.636780
# temperature_degC{sensor="SCD30"} 30.775925
# humidity_rel_percent{sensor="SCD30"} 31.170654
sudo ./install.sh # installer et démarrer le service
watch -n 1 cat /run/sensors/scd30/last # test du service

Capteur de lumière TSL2561

git clone https://github.com/DexterInd/GrovePi/grove_i2c_digital_light_sensor/
cd GrovePi/Software/Python/grove_i2c_digital_light_sensor
python ./grove_i2c_digital_light_sensor.py

Bouttons et LEDs

Boutton + LED

LED multicolore / potentiomètre

A tester

raspberrypi-grove-hat/hat_seedstudio_grove_sur_raspberry_py_et_capteurs_grove.txt · Dernière modification: 2019/08/23 11:33 par ghusson