The windows control station is an embedded system with multiple sensors to climatize different locations according there temerature and humidity.
SBC:
====
i2c-1:
------
am2315
i2c-3:
------
am2315
gpios:
======
Fensteransteuerungen(0/offen, 1/zu):
---------------------
gpio5 Gefrierraum
gpio6 Kellerbüro
gpio13 Heizoelkeller
gpio19 Kartoffelkeller
- install rasbian
- set root passwd and enable ssh and set root access
echo wcs > /etc/hostname
deluser pi --remove-home
export LANGUAGE=en_US.UTF-8 export LANG=en_US.UTF-8 export LC_ALL=en_US.UTF-8 locale-gen en_US.UTF-8 dpkg-reconfigure locales
apt purge avahi-daemon bluez bluez-firmware crda ca-certificates cifs-utils ed firmware-atheros firmware-brcm80211 firmware-libertas firmware-misc-nonfree firmware-realtek freetype2-doc g++ gdb htop iw javascript-common nfs-common ntfs-3g pciutils pi-bluetooth rpi-eeprom rpi-eeprom-images rfkill sudo wireless-regdb wireless-tools wpasupplicant zlib1g-dev
apt autoremove apt autoclean apt clean
apt update apt dist-upgrade apt clean
rmdir /home /srv /media
apt install git i2c-tools libi2c-dev python-dev
nano /boot/config.txt ...
dtoverlay=i2c-gpio,bus=3,i2c_gpio_delay_us=2,i2c_gpio_sda=22,i2c_gpio_scl=27
#dtparam=audio=on
disable_splash=1 # no rainbow on boot gpu_mem=16 ...
mkdir git cd git/ git clone https://github.com/lexruee/am2315.git git clone https://github.com/brenkem/wincon.git