
Lesson 5 Passive Buzzer
Introduction
The difference between an active buzzer and a passive one radically lies in the
requirement for input signals. The ideal signals for active buzzers are direct currents(DC),
usually marked with VCC or VDD. Inside them there are a simple oscillation circuit that
can convert constant direct currents into pulse signal of a certain frequency, causing
magnetic fields alternation and then Mo sheet vibrating and making sounds. On the other
hand, there is no driving circuit in a passive buzzer. So the ideal signal for passive buzzer
is square wave. If DC is given, it will not respond since the magnetic field is unchanged,
the vibration plate cannot vibrate and produce sounds.
Components
- 1 * Raspberry Pi
- 1 * GPIO Extension Board
- 1 * 40-Pin GPIO Cable
- 1 * Breadboard
- 1 * Passive Buzzer Module
- 1 * 3-Pin Wires
Experimental Principle
The Fritzing image:
The Physical picture:
Pin definition:
S
Input
+
VCC
-
GND
Summary of Contents for Ultimate Sensor Kit for Raspberry Pi
Page 1: ......
Page 12: ......
Page 21: ......
Page 42: ......
Page 58: ......
Page 66: ......
Page 70: ......
Page 81: ...Now you can see the current temperature is printed on the terminal ...
Page 90: ......
Page 93: ......
Page 99: ......
Page 105: ......
Page 107: ......
Page 114: ......
Page 117: ......
Page 120: ......
Page 141: ... sudo python main py Now you can see the temperature shown on the LCD1602 ...
Page 147: ...Now you can see the voltage value shown on the segment display ...
Page 150: ...Step 3 Run sudo python main py Now you can see the voltage value shown on the LCD1602 ...
Page 151: ......