PCEval / esp32 /level1 /buzzer_basic /description_esp.md
eunzee's picture
upload Arduino Uno and ESP32 project files
8e53a3e verified
|
Raw History Blame Contribute Delete
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.