HOW TO USE BUZZER WITH PI

received_10206472478232922.jpeg

 

beside of PI and its accessory which is PI, memory card 8 gig class 10, HDMI cable, keyboard, Mouse, Monitor and Wi-Fi dongle or Ethernet cable.it is recommended to have other equipment that is listed Below:

Equipment List

Hardware:

  • 2Male/Female Wires
  • 1 Buzzer
  • 1 Resistor

Software:

  • Python Version 3.0 or Above

 

Instruction

NOTE: Before Start the task it is important to test the equipment to avoid any confusion, also be sure about python version otherwise the codes can not run properly.

 

First Step: we should set the wires which means put one of the wires into the 3v Power(the first on the right in top row) and other one on 22 (number 8 from right in top row) received_10206472478712934.jpeg

Second Step: now we should set the buzzer which mean it has to connect into the middle part of the board

received_10206472478592931.jpeg

Third step: like the picture we should put the resistor in it position received_10206472478232922.jpeg

Last Step: now its the coding part and you need to write these codes

Codes

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s