ESP32 microcontroller programming principles for operation of steam resonator