An interesting option is the ESP32 WROOM breakout board. This comes with wifi and bluetooth and a very powerfully MCU. More important is that it support wifi security, cost ca 3.5 USD and measure 18 x 25.5 mm in size. If I use this as MCU I only need to worry about the H-Bridge, PSU…