case 07 buzzer
9. case 07 buzzer#
The buzzer is a kind of integrated electroic sounder which be widely used in computers, printers, photocopiers, announciators, electronic toys, automotive electronics, telephones and timers. In this case, we are going to use the micro:bit driving the buzzer to make it voice in different frequency, just like an alarm song.
9.3. Hardware Connect#
Connect circuit as above picture and put 2 AAA batteries into batteries pack.
9.4. Principles of Circuits#
The GND of slot on micro:bit is into innards of batteries’ GND to generate current loop. P0 port of the micro:bit outputs a square wave, and it be amplified when it through the audion to drive the buzzer.
9.5. Introduction of Components#
The buzzer a kind of voice device which consists of vibration device and resonance device. Sorting it by control method, the buzzer contains active and passive. Principle of active：The buzzer has integrated vibration system and sampling amplifier circuit. It generates voice when DC electrical source is getting through it. You can refer the picture as below:
Principle of passive：Turn the square signal to voice.You can refer the picture as below:
The experiment box included a passive buzzer.
Audion is a semiconductor device to control the current. It is used to amplify the feeble signal to electronic signal with large amplitudes. The buzzer will in a feeble voice when it directly received PWM signal by micro:bit. This is because the currents of I/O port is usually weak which can’t directly drive buzzer. Now we need a transistor to amplify the currents of PMW signal for buzzer can alarm properly. The experiment box included a mos tube.
Note: Please note the positive and the negative when you are connecting.
Click on “New Project” and set a new Project.
Snap the ring tone block and pause block into the forever in order to play the GRE sound.
You also could directly download program by visiting website as below:
The buzzer emits diffrent voices just like a alarm sound.