{"id":18148286,"url":"https://github.com/veolinan/esp32-piano","last_synced_at":"2026-05-17T03:39:54.568Z","repository":{"id":259687025,"uuid":"879200949","full_name":"Veolinan/Esp32-Piano","owner":"Veolinan","description":null,"archived":false,"fork":false,"pushed_at":"2024-10-27T09:45:55.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-06T21:47:21.817Z","etag":null,"topics":["esp-project-package","esp32","esp32-arduino","piano","piano-keyboard","webserver"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Veolinan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-27T09:26:28.000Z","updated_at":"2024-10-27T09:45:59.000Z","dependencies_parsed_at":"2024-10-27T10:59:04.243Z","dependency_job_id":"15fe73a6-0903-44ea-b8a5-80d9fa27c110","html_url":"https://github.com/Veolinan/Esp32-Piano","commit_stats":null,"previous_names":["veolinan/esp32-piano"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Veolinan%2FEsp32-Piano","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Veolinan%2FEsp32-Piano/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Veolinan%2FEsp32-Piano/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Veolinan%2FEsp32-Piano/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Veolinan","download_url":"https://codeload.github.com/Veolinan/Esp32-Piano/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247557805,"owners_count":20958047,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["esp-project-package","esp32","esp32-arduino","piano","piano-keyboard","webserver"],"created_at":"2024-11-01T23:07:50.808Z","updated_at":"2025-10-10T08:42:17.117Z","avatar_url":"https://github.com/Veolinan.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ESP32 Piano\n\nThis project allows you to create a simple piano using an ESP32 microcontroller and a buzzer. The ESP32 acts as a Wi-Fi hotspot, providing a web interface to play musical notes by clicking on virtual piano keys.\n\n## Features\n\n- **Wi-Fi Hotspot**: The ESP32 creates a Wi-Fi hotspot named \"ESP32Piano\" with the password \"playmusic\".\n- **Web Interface**: A responsive web interface that simulates a piano keyboard with 25 keys (C4 to C6).\n- **Note Playback**: Each key plays a specific musical note when clicked.\n\n## Components Required\n\n- ESP32 development board\n- Buzzer\n- Jumper wires (if needed)\n\n## Wiring\n\nConnect the buzzer to pin 14 of the ESP32. You can connect the other terminal of the buzzer to the ground.\n\n## Code Explanation\n\nThe code includes the following key components:\n\n1. **Wi-Fi Configuration**: \n   - The ESP32 is set up to create a Wi-Fi access point with specified SSID and password.\n   \n2. **Web Server**: \n   - A web server is initialized on port 80. It serves the piano interface and handles note playback requests.\n\n3. **HTML/CSS for Web Interface**: \n   - The web interface is designed with HTML and CSS, providing visual representation of the piano keys.\n   \n4. **Tone Generation**: \n   - The buzzer plays specific frequencies corresponding to the musical notes using the `tone()` function.\n\n## How to Use\n\n1. Upload the code to your ESP32 using the Arduino IDE or PlatformIO.\n2. Connect to the Wi-Fi network named \"ESP32Piano\" with the password \"playmusic\".\n3. Open a web browser and navigate to `http://192.168.4.1`.\n4. Click on the piano keys to play different notes.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## Acknowledgments\n\n- Inspired by various online resources and tutorials on ESP32 and Arduino projects.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fveolinan%2Fesp32-piano","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fveolinan%2Fesp32-piano","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fveolinan%2Fesp32-piano/lists"}