2023-08-22 17:41:15 +02:00
2023-08-22 17:41:15 +02:00
2023-08-22 17:41:15 +02:00
2023-08-22 17:38:33 +02:00
2023-08-22 17:41:15 +02:00
2023-08-22 17:41:15 +02:00

ESP32 buzzer

Simple ESP32 buzzer that is controlled by http requests

Before you load to boad you need set IP address and WiFi password So edit lines according to your WiFi settings

IPAddress staticIP(192, 168, 1, 53); IPAddress gateway(192, 168, 1, 1); IPAddress subnet(255, 255, 255, 0); WiFi.begin("WIFI-SSID-NAME", "WIFI-PASSWORD");

Load this program to board. You can then test it by running curl http://192.168.1.53/tone

To silence run curl http://192.168.1.53/silent

You may change frequency by appending number after /tone. To get 3kHz tone for example curl http://192.168.1.53/tone3000

After everything works comment out WiFi.begin("WIFI-SSID-NAME", "WIFI-PASSWORD"); line and leave only WiFi.begin(); to get better startup time.

Description
Simple ESP32 buzzer that is controlled by http requests
Readme 31 KiB
Languages
C++ 92.2%
Shell 7.8%