Arduino and ESP32 projects with full tutorials, source code, components and wiring instructions.
Display VCC → 5V / 3.3V
Display GND → GND
SDA / MOSI → Arduino communication pin
SCL / SCK → Arduino communication pin
Sensor OUT → Analog / Digital input
Buzzer → Digital output
#include <Arduino.h> #define BUTTON_PIN 2 #define BUZZER_PIN 3 void setup() { pinMode(BUTTON_PIN, INPUT_PULLUP); pinMode(BUZZER_PIN, OUTPUT); Serial.begin(9600); } void loop() { int buttonState = digitalRead(BUTTON_PIN); if (buttonState == LOW) { tone(BUZZER_PIN, 1000); Serial.println("Button Pressed"); delay(200); noTone(BUZZER_PIN); } } This page is designed as a complete project tutorial. For every new Arduino project, add the YouTube video, replace the component list, write the exact wiring instructions, and paste the complete tested source code.