Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic 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.

Register Log in

A door bell like design problem

Status
Not open for further replies.

RollingEEE

Full Member level 3
Joined
Mar 25, 2006
Messages
166
Helped
8
Reputation
16
Reaction score
7
Trophy points
1,298
Location
Bangladesh
Activity points
2,406
Consider a calling bell (or door bell) in which a button is pushed to ring a buzzer. Now I want a design of a buzzer, that would only sound, if the switch is pressed for five seconds. If the switch is not pressed no bell will ring. Also, if the switch is continously pressed for less than 5 second interval, no buzzer will ring.

I actually want a digital circuit like this, that will give a high output for 1 seconds, if the input is high for 5 seconds. Can any one please help me?
 

IanP

Advanced Member level 5
Joined
Oct 5, 2004
Messages
7,942
Helped
2,309
Reputation
4,620
Reaction score
531
Trophy points
1,393
Location
West Coast
Activity points
66,459
Take a look at the attached circuit ..
The "miniature" microcontroller is the PICAXE-08 ..
Hardware, as you can see, consists of this microcontroller, a button, a buzzer and a couple of resistors ..
Program can be written in extremely easy dialect of BASIC ..
And that's basically it ..
More details at: http://www.rev-ed.co.uk/docs/axe101.pdf

Code example:
Code:
Start:
  b1=0
Loop:
  if pin3 = 1 then Cnt
  goto Start
Cnt:
  pause 100  ' wait 0.1s
  b1=b1+1
  if b1=50 then Buzzer
  goto Loop
Buzzer:
  high 2
  wait 1  ' Buzzer ON for 1s
  low 2
  goto Start
Regards,
IanP
 

RollingEEE

Full Member level 3
Joined
Mar 25, 2006
Messages
166
Helped
8
Reputation
16
Reaction score
7
Trophy points
1,298
Location
Bangladesh
Activity points
2,406
Thank you so much. I know it will sound funny, but I am not allowed to use microcontroller. Any alternate suggestions (like using a 555 timer)
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top