Rules | Recent posts | topic RSS | Search | Register  | Log in

Simple timer design looking for help

 
Post new topic  Reply to topic    EDAboard.com Forum Index -> Elementary Electronic Questions
Author Message
chien_fu



Joined: 11 May 2008
Posts: 8


Post11 May 2008 16:32   Simple timer design looking for help

I'm looking for some help designing the following circuit. I've done a few hobby level circuits based on the PIC 16F877 / 84 and assume this will probably require something along those lines.

Functional goal description:
Vibrating motor that gives a quick pulse (< 1sec) every 15, 30 or 45 minutes. I'm looking for one momentary-push button that controls the circuit ON/OFF as well as the interval. IE. Push the button once, the circuit turns on and interval is set to 15 min. Push again, interval changes to 30 min. and again for 45 min interval.

It's a 3-5v dc motor and I'm assuming I can run it at line level. As you see I don't have a lot of knowledge around this yet, and would appreciate any help I can get.
Thanks a lot!
Back to top
Audioguru



Joined: 19 Jan 2008
Posts: 521
Helped: 39
Location: Canada


Post11 May 2008 18:36   Simple timer design looking for help

What is "line level"?
The motor needs 3VDC to 5VDC so give it that.

Make a circuit to give the timed pulses then add a transistor or two to boost the current high enough to power the motor.
Back to top
VVV



Joined: 26 Nov 2004
Posts: 1492
Helped: 278


Post12 May 2008 17:08   Re: Simple timer design looking for help

Yes, the kind of thing you are describing requires some intelligent chip.
I would think a PIC10Fxx, or 12Fxx would do the trick.
One I/O line of the PIC will be used to power the motor, through a transistor, and another I/O would be needed to sense the switch closure. From that point on, it's all software, which is relatively simple, by the way.
I can help with that.
Back to top
chien_fu



Joined: 11 May 2008
Posts: 8


Post15 May 2008 21:10   Re: Simple timer design looking for help

Thanks for the help guys,
So, I found this schematic, which doesn't use a PIC: http://www.zen22142.zen.co.uk/Circuits/Timing/5_30timer.htm

Would this give me what I'm looking for if I scraped the requirement for one momentary button and went to a rotary switch?

Also, I found the LM122 from national semi. http://www.datasheetcatalog.org/datasheet/nationalsemiconductor/DS007768.PDF

Can I easily use this? And if so, ...how?...
Thank again.
Back to top
VVV



Joined: 26 Nov 2004
Posts: 1492
Helped: 278


Post26 May 2008 17:28   Re: Simple timer design looking for help

You will need two timers to do it: one that gives you the motor on time, 1s, the other that gives you the interval. Two 555 timers or a 556 will do the trick.
Back to top
chien_fu



Joined: 11 May 2008
Posts: 8


Post26 May 2008 19:04   Re: Simple timer design looking for help

Can I use a 555 or 556 to easily create a random timer interval? I'd like to time an interval between 15 and 75 minutes. Is this possible with these timers?
Back to top
sabeti_1990



Joined: 16 Nov 2007
Posts: 124
Helped: 7


Post27 May 2008 10:56   Re: Simple timer design looking for help

hi chien_fu

yes u can use 555 or 556 to have long time
but it's better to us a divider after a 555 (like 4017)

see this



Sorry, but you need login in to view this attachment

Back to top
blueroomelectronics



Joined: 17 Sep 2006
Posts: 1230
Helped: 61
Location: Toronto, Canada


Post27 May 2008 14:36   Re: Simple timer design looking for help

chien_fu wrote:
Can I use a 555 or 556 to easily create a random timer interval? I'd like to time an interval between 15 and 75 minutes. Is this possible with these timers?


You'll need more than a 555 or 556 if you want random. One of your PICs could do it no problem.
Back to top
Post new topic  Reply to topic    EDAboard.com Forum Index -> Elementary Electronic Questions
Page 1 of 1 All times are GMT + 1 Hour


Abuse
Administrator
Moderators
topic RSS 
sitemap