-
Notifications
You must be signed in to change notification settings - Fork 7
Hardware
The entire project is based on a Raspberry Pi 3 Model B+ with various sensors and corresponding software. Of course you can also use other components than the ones listed here. The brand names are only examples. For details, please refer to the submenu on the right.
I used the following components for my setup (Amazon list):
- Raspberry Pi 3 Modell B+
- Single point load cell for weighing the gas cylinder (Bosche H10A for 20 kg)
- hx711 for evaluating the signals from the load cell (ARCELI CJMCU-711 HX711)
- ADXL345 Triple-Axis Accelerometer to determine the position of the caravan (Adafruit ADXL345)
- BME280 Barometric sensor for temperature, humidity and air pressure (AZDelivery GY-BME280)
- DS18B20 Temperature sensor encapsulated in stainless steel AZDelivery 1M Cable DS18B20
- RGB LED to indicate the tilt angle
- various buttons, resistors, diodes
The use of Cat6 network cables is intended for cabling in caravans. As a rule, the routing of 2 Cat6 cables to the rear and to the other side of the caravan and 3 cables from the Raspberry to the front of the caravan or motorhome should be sufficient.
Cat6 cables are suitable because they are already twisted in pairs, which is absolutely necessary, for example, to extend the I2C bus.
The assembly of the many components and sensors is not trivial, thanks to the GPIO bar of the Raspberry Pi with two extensions of GPIO to perform well. Details can be found in the circuit diagram and the board design.
Some of the housings for the sensors were created on the 3D printer.
CaravanPi - smart Caravan based on Raspberry Pi
(c) Josef Spitzlberger, Schloss Lustheim, Munich, Germany, 2019ff
CaravanPi Wiki
- Testaufbau
- Raspberry Pi OS installieren und initial konfigurieren
- MagicMirror installieren
- CaravanPi Skripte installieren
- MagicMirror vorbereiten & updaten
- OBSOLET V2 - Bottle Framework installieren
- Ein-/Aus-Schalter installieren
- Bewegungsmelder installieren
- Hupe/Buzzer installieren
- weitere Taster installieren
- OBSOLET V2 - Konfigurations-Website einrichten
- Temperatur Sensoren installieren
- Temperatur Sensoren anzeigen
- Gasflaschenwaage HX711 installieren
- Gasflaschenfüllstand anzeigen
- mehrere Gasflaschen Waagen anschließen
- I2C-Bus einrichten
- Klimasensor installieren
- Klimasensor BME280 anzeigen
- Klimasensor BME680 anzeigen
- GPIO Ports mit MCP23017 erweitern
- Lage-Sensor installieren
- Lage-Sensor anzeigen
- I2C Extender - langes Kabel
- Tank-Füllstände auslesen
- LEDs zur Lageanzeige
- RGB-LEDs am MCP23017 betreiben
- LED Einbau im Testaufbau
- Caravan ausrichten im Testaufbau
ab hier altes WIKI, muss noch umgezogen werden
XX = in Bearbeitung NEU = neue Funktion in letzter Version
- Stromversorgung Grundsätzliches
- Testgerät bauen
- Verkabeln am Caravan
- Gasflaschen-Waage bauen
- LEDs am Caravan anbringen
- Temperaturfühler im Kühlschrank anbringen
- Klimasensoren innen & außen anbringen
- Stromversorgung Raspberry Pi
- Stromversorgung Monitor
- WLAN im Caravan
- CaravanPi in Betrieb nehmen
- Gasflaschenwaage in Betrieb nehmen
- Defaultwerte für Lage, etc eintragen
- NEU XX Vorüberlegungen
- NEU XX MariaDB installieren
- NEU XX CaravanPi Datenbank anlegen
- NEU XX phpmyadmin installieren
- NEU XX Grafana installieren
- NEU XX Grafana auf MagicMirror anzeigen
- NEU XX Pythonzugriff auf MariaDB
- NEU XX Problembehandlung MariaDB, Grafana
- NEU XX Vorüberlegungen
- NEU XX Flask installieren
- NEU XX Status-Website einrichten
- NEU XX vorhandene Websites migrieren
- NEU XX 230V Eingang prüfen
- NEU XX 12V Batterie prüfen
- NEU XX Gassensor