Lesson 4: Active Buzzer - Elecrow Raspberry Pi & Arduino Starter Kit User Manual

Table of Contents

Advertisement

Application effect
The script will print "BALL is HIGH" if it's closing the circuit or "BALL is LOW" if not. You can tilt the ball switch around
to see the data changing.

LESSON 4: ACTIVE BUZZER

Introduction
Active buzzer is a very useful module that can be used in many applications
For example: alarm clock, movement detection or as an alert to an UPS to let you know the battery is running low.
No matter what your project is about, buzzer probably can be very useful case.
In the tutorial below, we'll learn how the buzzer works and how to control it using the raspberry pi GPIO, how to
wire it using the breadboard and the jumpers and use it with Python script sample attached in our GitHub page.
Make sure not to confused the active buzzer with the passive buzzer in the kit, the difference is that the active
buzzer have a sticker on top (a seal) the passive buzzer doesn't have one.
21 of 114

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Raspberry Pi & Arduino Starter Kit and is the answer not in the manual?

Table of Contents