Clap twice to change device state (code for Arduino).
Videos and images in the Media folder.
Parts I used in the project:
Power supply: Precision 5V700mA (3.5W) isolation switch power supply ACDC step-down module 220 turn 5V
Microcontroller: Upgraded version ESP-01 ESP8266 serial WIFI wireless module wireless transceiver ESP01 ESP8266-01
Aditional usb adapter to install to this ESP8266: ESP01 Programmer Adapter UART GPIO0 ESP-01 Adaptater ESP8266 CH340G USB to ESP8266 Serial Wireless Wifi Developent Board Module
Relay for this version of the ESP8266: ESP8266 ESP-01S 5V WiFi Relay Module Things Smart Home Remote Control Switch for Arduino Phone APP ESP01S Wireless WIFI Module
Microphone sensor detection module: High Sensitivity Sound Microphone Sensor Detection Module For Arduino AVR PIC