Raspberry Pi Buzzer (Controlled Via Web Browser)

by LimitOS in Circuits > Raspberry Pi

527 Views, 1 Favorites, 0 Comments

Raspberry Pi Buzzer (Controlled Via Web Browser)

active_buzzer-9bf35f3cbb155cf0ac4c18ef76c7ef333ac163823af744f5ed5fdc71a6a34683.jpg
Active buzzer controlled via the internet

What you'll be building

This tutorial teaches you how to turn an active buzzer that emits a high-frequency sound on and off via the internet.

Requirements

Raspberry Pi connected to the internet

Raspberry Pi OS (Buster)

Circuit materials: active buzzer, breadboard, wires

Set Up the Circuit

active_buzzer_circuit-98179d9908c64a117797c5a90ae2701f044e69433033e66e4687290bbe2b93ee.png

Connect the active buzzer to GPIO pin 4.

Run LimitOS on the Raspberry Pi

limitos run.GIF

LimitOS runs alongside your existing operating system, and can be run via:

curl -sS https://limitos.com/run | bash

Follow the on-screen instructions to register the device afterwards.

Set Up the Device on the LimitOS Website

active_buzzer-9bf35f3cbb155cf0ac4c18ef76c7ef333ac163823af744f5ed5fdc71a6a34683.jpg

After registering your device, you'll be on the LimitOS website at https://limitos.com . From there, go to your device by clicking "My Devices" and selecting your device. Then add pin 4 as a digital output, and you can then click the "on" or "off" buttons on the website to turn the buzzer on or off.