GPIO (BCM) | Name | Phycial PIN |
---|---|---|
2 | SDA | 3 |
3 | SCL | 5 |
4 | GPIO 7 | 7 |
17 | GPIO 0 | 11 |
-
Double occupancy through BME680/BME280 (I2C: SDA&SCL) is no problem.
-
The HoneyPi Button cannot be at GPIO17. Better would be GPIO16.
-
1-Wire default GPIO (used for DS18b20 sensors) must be switched to another GPIO (e.g. GPIO 11). It cannot stay at default value because GPIO4 is used from WittyPi.
-
See p.37 in manual.pdf you can check the gpio states with
gpio readall
.
I2C Address: 0x08
GPIO (BCM) | Name | Phycial PIN | Description |
---|---|---|---|
2 | SDA 1 | 3 | |
3 | SCL 1 | 5 | |
4 | GPIO 7 | 7 | |
17 | GPIO 0 | 11 | |
14 | TXD | 8 | high=system is on, low=system is off |
cd ~
wget http://www.uugear.com/repo/WittyPi2/installWittyPi.sh
sudo sh installWittyPi.sh
- Skip -n fake-hwclock and Qt 5 GUI.
- If Raspi 4 (Buster): Update WiringPi to the latest Raspbian Buster compatible version (>v2.52):
wget https://project-downloads.drogon.net/wiringpi-latest.deb
sudo dpkg -i wiringpi-latest.deb
cd ~
wget http://www.uugear.com/repo/WittyPi3/install.sh
sudo sh install.sh
cd ~
wget https://www.uugear.com/repo/WittyPi4/install.sh
sudo sh install.sh
- Save script as
schedule.wpi
to/home/pi/wittyPi/schedule.wpi
- Run
cd /home/pi/wittyPi
andsudo ./runScript.sh
/etc/init.d/wittypi
should contain correct paths