
Zynface V5
zynthian/zynthian-hw
Zynthian hardware stuff: PCBs, schemes, parts specifications, pin assignment, ...

Using Esp32 to mix water temperature
WaterMixer is an open-source printed circuit board by guttih, from the guttih/WaterMixer repository on GitHub. It is a 2-layer board of 114.9 × 100 mm with 20 parts on 22 nets, routed with 217 tracks and 6 vias.
It is built around the ESP32-DEVKITC-VE, MCP4728-E/UN and ADS1115. Its parts include 7 ICs, 3 capacitors and 1 resistor. It belongs with the ESP32 boards of this library.
This project mixes water temperature from a 1/2" hot water pipe and a 1/2" cold water pipe out to a single 3/4" output water pipe. A electrical valve controls the flow from the hot water pipe and another electrical valve controls the cold water pipe. A Temperature sensor is put into the 3/4" output water pipe to sense the current heat of the outgoing water. Finally the third electrical valve is used to drain the hot tub.
Supported methods, requests and responses are described in the API methods
+12V
┬
┌───────────────────────────────────────────────────────────────────────────────────────┤
│ ┌───────────────────┬──────────────────┬────────────────┬───────────────────────┬──┐ │
│ │ │ │ ╔══════════╗ │ ╔═════════════╗ ┴ │ │
│ │ ╔══════════════╗ │ ╔═════════════╗ │ ║ Pressure ║ │ ║ ADC ║ GND │ │
│ │ ║ POWER SOURCE ║ │ ║ DC_STEPDOWN ║ │ ║ Sensor ║ │ ║ ADS1115 ║ │ │
│ │ ║ ║ │ ║ -Vo(GND) -╟─┘ ║ ║ │ ║ ║ │ │
│ │ ║ ║ │ ║ +Vo(+5V) -╟─┐ ║ Black-╟──┴──╢-G ║ │ │
│ │ ║ ║ │ ║ ║ │ ║ Green-╟─────╢-A0 ║ │ │
│ └─╢- GND -╟──┴──╢-GND ║ │ ║ ║ ╢-A1 ║ │ │
└───╢- +12V -╟─────╢-VIN ║ │ ║ ║ ╢-A2 ║ │ │
╚══════════════╝ ╚═════════════╝ │ ║ ║ ╢-A3 ║ │ │
│ ║ Red-╟─┬───╢-V ║ │ │
+5V │ ╚══════════╝ │ ┌─╢-CL DA-╟─┐ │ │
┬ ┌────────────────┴───────────────┘ │ ╚═════════════╝ │ │ │
└──┤ │ │ │ │
│ ╔═══════════╗ │ ╔═════════════╗ │ │ │
│ ║ -ESP32- ║ ╔═════════════╗ │ ║ DAC ║ │ │ │
│ ║ ║ ║ Logic Level ║ │ ║ MCP4728 ║ │ │ │
│ ║ ║ ║ converter ║ │ ║ ║ │ │ │
└─╢-VIN G14-╟──╢-LV3 HV3-╟───┴─╢-CL ║ │ │ │
║ G13-╟──╢-LV4 HV4-╟─────╢-DA───────DA-╟─┘ │ │
+3V3 ╔═══════════╗ ║ ║ ║ ║ ║ ║ │ │Legend
┴GND : Ground. When there is no room to connect the GND on the drawing, this notation is used. Note, all grounds are connected together.The software for this project was developed using PlatformIO.
There are two kinds of tests in this project, integration tests and unit tests.
Integration tests:
integration tests are located in the ./test directory.
On windows 10, best would be if you would add this location to your PATH system environment variable C:\Users\your_user_name.platformio\penv\Scripts to get access to the pio.exe application.
C:\Users\gudjons.platformio\penv\Scripts
Then you can run the tests with this command pio test
| Qty | Value | Footprint | References |
|---|---|---|---|
| 4 | MountingHole | watermixer-footprints:MountingHole_3.2mm_M3 | H1, H2, H3, H4 |
| 3 | 470uF | Capacitor_THT:CP_Radial_Tantal_D8.0mm_P5.00mm | C1, C2, C3 |
| 2 | SD_BUCK3A | watermixer-footprints:SD_BUCK3A | U6, U7 |
| 1 | 01x03 | watermixer-footprints:Screw_Termianl_01x03 | JD_VALVE1 |
| 1 | 01x06 | watermixer-footprints:Screw_Termianl_01x06 | JHC_VALVES1 |
| 1 | 4.7k | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_Horizontal | R1 |
| 1 | ADS1115 | watermixer-footprints:ADS1115_module | U5 |
| 1 | Barrel_Jack | watermixer-footprints:Barrel_Jack | J_12V1 |
| 1 | CR2013-MI2120-touch | watermixer-footprints:CR2013-MI2120_touch | U1 |
| 1 | ESP32-DevKitC | Espressif:ESP32-DevKitC | U2 |
| 1 | LLC_4CH | watermixer-footprints:LLC_4CH | U3 |
| 1 | MCP4728 | watermixer-footprints:MCP4728_module | U4 |
| 1 | Pressure sensor | watermixer-footprints:Screw_Termianl_01x03 | JPress1 |
| 1 | Temperature sensor | watermixer-footprints:Screw_Termianl_01x03 | JTemp1 |

zynthian/zynthian-hw
Zynthian hardware stuff: PCBs, schemes, parts specifications, pin assignment, ...

Kanedinha/ESP_IDF_WIFI_CAR
Remote car controled with Wifi HTTP protocol. Using a ESP32 Wrover-It as a Access point web server, the interface made with HTML and JS comunicate car and control it.


heliumonoxide/water_quality_monitoring_device
Water Quality Monitoring in Water Fountain at Gedung K Faculty of Engineering UI


CrashOverride85/zc95
4 channel EStim box inspired by the mk312bt, with Lua scripting support

thebiguno/microcontroller-projects
A home for a bunch of microcontroller projects which don't warrant their own repos.

DanielMartensson/STM32-Ethernet-Camera
PCB board with camera and ethernet connection + CAN-bus
It measures 114.9 × 100 mm and has 2 copper layers, 1.6 mm thick.
20 parts, built around the ESP32-DEVKITC-VE, MCP4728-E/UN and ADS1115. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
From the guttih/WaterMixer repository on GitHub, at the commit this page was made from: the board is hardware/KiCad/watermixer.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.
Its repository states no licence, so its author keeps all rights: ask guttih before reusing the design.