.. _Basic_Active_Buzzer: Active Buzzer ========================== Overview --------------- The active buzzer is a typical digital output device that is as easy to use as lighting up an LED! Two types of buzzers are included in the kit. We need to use active buzzer. Turn them around, the sealed back (not the exposed PCB) is the one we want. .. image:: img/Active_Buzzer.png :align: center :width: 70% Wiring ---------------------- .. note:: When connecting the buzzer, make sure to check its pins. The longer pin is the anode and the shorter one is the cathode. It's important not to mix them up, as doing so will prevent the buzzer from producing any sound. .. image:: img/Active_Buzzer_Wiring.png :align: center :width: 70% Schematic Diagram ----------------------- .. image:: img/Active_Buzzer_Wiring1.png :align: center :width: 80% Code --------------- .. note:: * You can open the file ``04_Active_Buzzer.ino`` under the path of ``Basic-Starter-Kit-for-Arduino-Uno-R4-WiFi-main\Code`` directly. After the code is uploaded successfully, you will hear a beep every second.