This is the water dispenser with a flow sensor plugin again, on a different kind of hardware: an ESP32-S3 board with a touch screen instead of a TPP2(G2) with a keypad. As before, a Custom Plugin counts the pulses of the flow sensor and publishes the flow rate and the volume as two ordinary variables. The dispenser around it is now operated by touch: choose a quantity with - and +, touch START, and a pump runs until that quantity has gone through the sensor. The board has no relay of its own, so the project also shows how to switch a pump from a pin of the ESP32-S3 with a relay and a transistor.
4 posts tagged with "settings"
View All TagsAppBlocks has no built-in feature for pulse-output water flow sensors, the small hall-effect turbines such as the YF-S401. This project adds one as a Custom Plugin: a service that counts the pulses of the sensor and publishes the flow rate and the volume as two ordinary variables. Around it, a handful of blocks make a water dispenser: choose a quantity with the keypad, press RUN, and a pump runs until that quantity has gone through the sensor. The number of pulses the sensor gives per liter, which is also its calibration, is a setting that is changed on the device from the LCD menu.
On the Zephyr runtime, the LCD menu built into TPP2(G2) devices has grown beyond settings: it now lists data tables, shows the network status and can reboot the device. This project is a small cold-chain logger whose main job is to show every part of that menu. It reads the temperature and humidity from a Tibbit 30 every few seconds, logs them to a table, checks them against a table of alert rules, and leaves the rest to the front panel.
On a TPP2(G2) device equipped with an LCD, you can access a settings menu that enables users to modify the device's settings using the LCD and keypad buttons This project builds on the Settings application from the tutorial series and demonstrates how to configure and navigate through the settings menu on the LCD.