|
Download esp32/level1/buzzer_basic/description_esp.md from eunzee/PCEval: direct link, hf CLI and curl.
- Browser
- Download file 749 Bytes
-
https://huggingface.co/datasets/eunzee/PCEval/resolve/main/esp32/level1/buzzer_basic/description_esp.md
- Command line
-
hf download hf://datasets/eunzee/PCEval/esp32/level1/buzzer_basic/description_esp.md
-
curl -L -o description_esp.md https://huggingface.co/datasets/eunzee/PCEval/resolve/main/esp32/level1/buzzer_basic/description_esp.md
749 Bytes
| # Piezo Buzzer | |
| ## Project Description | |
| This is a simple ESP32 project that uses piezoelectric buzzer to play 262Hz tone. | |
| ## Hardware Components | |
| - ESP32 DevKit v1 | |
| - Piezoelectric buzzer | |
| ## Circuit Description | |
| The piezo buzzer is connected to the ESP32. The positive pin is connected to pin2, the negative pin to gnd1. | |
| ## Expected Behavior | |
| When the ESP32 powers up, it should: | |
| 1. Set the pin mode as OUTPUT | |
| 2. Continuously play 262Hz tone | |
| ## Success Criteria | |
| The test is successful when: | |
| 1. Piezo buzzer runs successfuly | |
| ## Notes for Implementation | |
| - Use Arduino.h library for arduino core. | |
| - In the loop function, make buzzer play 262Hz tone | |
| ## Variants | |
| There may be variants with buzzer, GND pin number and the pitch of the sound being played. |