You could spare any MCU and programming with this:

https://www.aliexpress.com/item/1005...Cquery_from%3A

Ioannis