LoRa remote water level and pump controller: Server
Articles
- LoRa remote water tank level and pump controller: intro
- LoRa remote water level and pump controller: server software
- LoRa remote water level and pump controller: client software
- LoRa remote water level and pump controller: server PCB
- LoRa remote water level and pump controller: client PCB
- LoRa remote water level and pump controller: entire server with 3D printed case
- LoRa remote water level and pump controller: entire client with 3D printed case
Problem
First, the problem: I must refill a 1,5Km far water tank, so I need two devices:
a server pump manager, that If the remote tank does not start the pump with a relay and when the tank is full, stop the pump.
- Start-stop pump;
- Manage the remote message;
- Prevent dangerous action if the remote device is no more active;
- Monitor to select an operation mode and status.
A client in a remote position (tank position) checks the water level and warns the Server if It’s all ok or if the tank is full.
- Check the max and min level;
- Warn Server about status;
- Battery and solar-powered;
- Sleep mode if no more need.
Demo video
Display menu
I use an OLED ssd1306 display, very little; I’m going to manage a set of Icons to better understand the operation; I change the menu icon by rotating an encoder and selecting it by clicking the encoder.
I change the language by including a file with all the labels.
I use a simple state machine to manage the Display; a switch managed by the encoder value is used to show the correct icon; the values are:
PUMP_START_MENU: start the pump and wait for it to be complete; the only safe controller is a timer that stops the pump after an hour.
PUMP_START_PING_MENU: start the pump and wait for a ping message every 20 seconds; if the tank is full or there is no message after 20 seconds, It stops the pump.
PUMP_STOP_MENU: stop the pump and tell the client to go into sleep mode.
STATUS_MENU: graphical status of the devices (pump active, battery status, and tank level).
STATUS_MENU_DETAILED: descriptive status of the devices.
Assembly
To assemble, you can refer to the silkscreen of the PCB, and I do It quite verbose.
LoRa wireless remote water tank and pump controller (esp8266) Server PCB up
And I also create a video of the soldering phase
https://www.youtube.com/watch?v=CQLXeBToEfg
Here is the result of your work
Then, we must start to assemble the components, the LEDs, switch, display, WeMos D1, and EByte E32.
Assembly video
Test video
LoRa remote water level and pump controller: Server
*PCBWay community is a sharing platform. We are not responsible for any design issues and parameter issues (board thickness, surface finish, etc.) you choose.
- Comments(4)
- Likes(2)
- Engineer Apr 12,2023
- André Cruz Jul 17,2022
- 0 USER VOTES
- YOUR VOTE 0.00 0.00
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
More by Renzo Mischianti
- WeMos D1 (esp8266) Ebyte LoRa shield (10Km) with HardwareSerial and 5V switch HardwareSerial shield 5v versionAfter a while, I understand that to have a good range, I need to pow...
- WeMos D1 (esp8266) Ebyte LoRa shield (10Km) with HardwareSerial and voltage regulator The new shield is similar but has more features here than the breadboard schema, even if it is limit...
- Inverter Aurora ABB (Power One) Web Monitor (WIM): server PCB If you have trouble with the price check the Min Track/Spacing, It must be greater or equal than 6/6...
- Arduino NANO 33 IoT SPI Flash memory shield Like the Arduino MKR WiFi 1010, the NANO 33 IoT doesn’t have Flash memory to store data. I wrote an ...
- STM32F4 black pill EByte LoRa E32 E22 E220 shield v1.0 Detailed information on my siteFor LoRa E32, LoRa E22 and LoRa E220I start using STM32 microcontroll...
- STM32F4 Black-pill: WiFi shield (WiFiNINA) STM32F1 Blue-pill: WiFi shield (WiFiNINA)Complete tutorial here.First of all, read the article “STM3...
- STM32F1 Blue-pill: WiFi shield (WiFiNINA) First of all, read the article “STM32: use WiFiNINA with ESP32 WiFi Co-Processor”, where there are a...
- STM32F1 blue pill EByte LoRa E32 E22 E220 shield v1.0 Full documentation of the PCBEByte E32 tutorialEByte E22 tutorialEByte E220 tutorialI start using ST...
- LoRa remote water level and pump controller: Battery powered client (ReWaL) ArticlesLoRa remote water tank level and pump controller: introLoRa remote water level and pump cont...
- LoRa remote water level and pump controller: Server ArticlesLoRa remote water tank level and pump controller: introLoRa remote water level and pump cont...
- ESP32 WeMos LOLIN32 EByte LoRa E32, E22 and E220 shield (10Km) Full articleFinally, I’m going to publish my LoRa shield for WeMos LOLIN32. This is one of my prefer...
- Arduino MKR WiFi 1010 SPI Flash memory shield Arduino SAMD (NANO 33 and MKR): SPI flash memory FAT FSI have a couple of Arduino MKR WiFi 1010, and...
- WeMos D1 (esp8266) relay shield WeMos D1 3v module relay shield at work main.One of my project’s most used components is undoubtedly...
- WeMos D1 (esp8266) with pcf8574 multiplexer to manage encoder, buttons or other For fast prototyping, I will create a set of shields for the WeMos D1 mini; the first is a service b...
- MKS WiFi module This is a simple PCB to create a WiFi module for 3D printer that use MKS Robin Nano v1 mainboard.I t...
- Ciclop 3D scanner board v1.2 ElectronicI create a board with PTC Resettable Fuse, (1.85A 30V) this simple component protect your ...
- esp32-wroom-32 esp32-S programming board Full article and specs on my site www.mischianti.orgESP32-wroom-32, esp32-S: flash, pinout, specs an...
- esp-12 esp-07 (esp8266) programming board You can find detailed information on my site When I went to use esp12 and esp07, and the first probl...
-
-
-
-
-
-
3D printed Enclosure Backplate for Riden RD60xx power supplies
154 1 1 -
-