Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

how can a buzzer be used to alert a sound?

Status
Not open for further replies.

josh1245

Newbie level 5
Newbie level 5
Joined
Oct 20, 2012
Messages
10
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,355
hi , im doing a simple project using lcd and keypad with a PIC16F877A, i m planning to check password, so if there is wrong password, how can i make a alert sound ???.
( one of my friend suggested me to use a buzzer )
 

You will be using conditional statements(if.. else) for checking the passwords... then in false block use any one of the pin of the port(A,B,C,D mostly which one unused) as the switch signal...
that will be give pulse to the transistor connected to the buzzer and buzzer works whenever false block executes for timing purpose use any one of the interrupt to reset microcontroller... sry for my bad english...
 

    V

    Points: 2
    Helpful Answer Positive Rating
Use a small Buzzzer ....you can get it anywhere in a electronics shop..
connect the a not gate output where the IC gives 0 signal upon entering a wrong password further connect the buzzer with that NOT gate IC.
one terminal of buzzer is at IC output and other is grounded
 

Use comparator to check the password, if the password does not matches it will make AeqB pin low, now connect the NOT gate at AeqB pin and connect the output of NOT gate to the buzzer.
 

thank you all !! appreciate your help verrry much... i will try as u instructed :)

- - - Updated - - -

thank you all !! appreciate your help verrry much... i will try as u instructed :)
 

You can use the following circuit to drive the buzzer from the MCU's pin.



Alex
 

you didn't mention the type of Programmer you're using!!! you already have an answer for C programming, but for MPLAB you just send a voltage(bsf PORT...) to the buzzer using an output port IF WRONG PASSWORD IS PRESSED!!!
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top