My WHOLE systems runs over wifi. It's how it talks. These expenasion boards are what communicate with Home Assistant and allow my control over everything.
Some boards are just sensors, some boards are just relays (wifi switches in my case) and other boards take a physical input and with a automation on Home Assistant it can do what ever I need it to.
Some of these boards will look messy, they're a prototype! As things progress so will the boards. I'll redesign and make it better, but for now, it does what it says on the tin!
All images of the boards will be on the image page.
So, from the spreadsheet you can see I have around 18 'wifi expansion boards' and each one needs a few hundred lines of code (all documented here). This page will be just explaining what most of the boards do. They all do something, somewhere.
Electric Panel - header board to 4 relays
This board has a ESP8266 with 4 physical inputs.
Input 1 - Door lock position sensor (locked or unlocked)
Input 2&3 - Connected to an up/down switch
Input 4 - Reads the air pressure in my rear air bag suspension
Temperature and Humidity sensor of the electric panel area.
4 way relay board which control my door locks, air compressor and air release. I can adjust the height of the back end of the van so I can have a level sleep!
Heating System - Embedded ESP32 relay with header board
This one is the opposite way round compared to the other baords. The WiFi controller is embedded on the relay board with the header board just being a breakout for sensors - and lots of them!
Starting from the top....
Sensors:
433MHz Sender/Receiver - Chinese Diesel Heater Control
ADS1117 - This receives the raw voltage from tank level sensors (home assistant sorts the percentage)
DS18B20 - Temperature sensors for hot tank, heater exchange and heater output
ENS160 - Air quality sensor with temperature and humidity, I like to know what state the air is I'm pushing around the van.
The 8 relays on the board control circulation pumps for the heat exchanger (x2 as I pull engine heat for my hot water too), pump speed select as full power they're noisey so I used a relay as a power selector. The fourth relay controls a fan which takes air from the heater compartment as pushes it under the shower into the garage directly on my batteries keeping them warm. The fifth relay controls a valve for direction of my air output. There's 3 spare relays for expansion on here.
Fan Controller - Header board to 8 solid state relays
This board has a ESP8266 with 2 input/output slots. This will become clear in a bit.
I/O 1 - Infrared sender for the MaxxFan
I/O 2 - Spare
The 8 way SSR board was the first iteration to my fan control, it basically mimics button pushes connected to the fans controller board. Theres a socket there already for it so i just traced back the pins and away we went.
Water System - Embedded ESP8266 8 way relay
There's just 8 relays here. No sensors as there's not enough I/O with 8 fixed relays.
These relays control my waste water dump valve (with a camera mounted above so I can see where I'm releasing), a water valve to fill my hot water tank (it's a recirculating shower), a water valve to drain my hot tank and a water pump which sucks the water from the shower tray back to the tank.
There's 4 spare relays here so plenty of room for expension.