IET
Decrease font size
Increase font size
Topic Title: Timer circuit using 555?
Topic Summary:
Created On: 14 July 2009 04:06 PM
Status: Post and Reply
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
View similar topics View similar topics
View topic in raw text format. Print this topic.
 14 July 2009 04:06 PM
User is offline View Users Profile Print this message



dyke24

Posts: 1
Joined: 14 July 2009

Hi, I'm a student trying to build a timing circuit that after a switch is closed counts for 2 mins, beeps(piezo or to a female mono jack connector), counts for another minute then beeps, counts for two minutes then beeps, counts for another mintue then beeps, then another two minutes then beeps again and turns off. Then does it again when switch is closed. Ideally having green LEDs lit when counting for the two minutes and red LEDs when counting for one minute.

I know I haven't explained this very clear so something like:

switch closed.
2min count GREEN
Beep
1min count RED
beep
2min count GREEN
beep
1 min count RED
beep
2min count GREEN
beep
then turns off.

Any help from someone with more electronics experience than myself would be a great help.
 17 July 2009 08:26 AM
User is offline View Users Profile Print this message



ptbbrett

Posts: 2
Joined: 09 September 2004

This is an example of a state machine. If I was building it, I'd use:

  • A clock generator (e.g. 555-based)
  • A clock divider (to get a 1 minute clock; it's tricky to build accurate, slow clocks with 555-based parts)
  • Some J/K flip-flops to implement the state machine
  • A monostable multivibrator to generate the beeps.


Your university will have books which discuss implementing state machines in hardware.

Alternatively, just use a microcontroller (e.g. a Microchip PIC part). This will have the advantages of lower cost (a microcontroller capable of doing what you need can be obtained for pennies), lower circuit complexity, and lower part count.

Hope that helps.

-------------------------
Satellite Remote Sensing Research Group, Surrey Space Centre
Open Source EDA with gEDA
 06 August 2009 05:37 PM
User is offline View Users Profile Print this message



roryspeirs

Posts: 21
Joined: 05 November 2001

I would recommend Microchip PIC's as the best solution.
They have a huge range of potetially suitable components and a large amount of support data on their website.
Check out www.microship.com.
There is information on LED lighting, I/O control with switches, sample code and other support available. One of their low-end development kits would be ideal as a base for your design - in the past I have donated dev kits that are no longer required to my local college, see if any of the companies in your area do the same thing, womeone is bound to have a kit they could donate.
The PIC as good as most newer ones have LED current spource / sink capability which will simplify the circuit required.

-------------------------
Rory Speirs
 14 August 2009 11:41 AM
User is offline View Users Profile Print this message



staceyfinn

Posts: 2
Joined: 25 July 2008

I agree with the previous post. I would use a PIC. They come in all shapes and sizes e.g 6-pin SOT23 SMT. The benefit of using the midrange PIC's (18F) is the free C18 compiler with libraries for delay's already for you! If power consumption is a problem, these PIC's can run off a coin cell and have sleep functions.
 28 September 2009 01:36 PM
User is offline View Users Profile Print this message



sclemmet

Posts: 13
Joined: 23 May 2005

I agree, a PIC, or a PAL (GAL, PLA), is the best solution for you. Any of these solutions will enable you to modify your code without having to rebuild the electronics. MicroChip sell a PIC Start kit and software. Worth the money from RS, or Farnell.

Steve Clemmet

-------------------------
Stephen Clemmet CEng MIET
 06 October 2009 12:59 PM
User is offline View Users Profile Print this message



TheAnonyMoose

Posts: 1
Joined: 04 October 2009

Using the 555 approach, it might be better linking up the 555 astable circuit to a 4017 decade counter. If the astable sends a pulse signal to the 4017 every minute, it is fairly simple to link up the LEDs and speakers to the different outputs, so that they light up at the right time. Then at the final output, a thyristor latch can be opened to bypass the two chips and effectively "turn off" the circuit. The PIC microcontroller will work as well and is probably a better solution.

-------------------------
First year undergraduate studying Electronic and Electical Engineering (MEng)
 23 October 2009 07:10 AM
User is offline View Users Profile Print this message



repair1

Posts: 1
Joined: 23 October 2009

The 555 has three operating modes:

* Monostable mode: in this mode, the 555 functions as a "one-shot". Applications include timers, missing pulse detection, bouncefree switches, touch switches, frequency divider, capacitance measurement, pulse-width modulation (PWM) etc
* Astable - free running mode: the 555 can operate as an oscillator. Uses include LED and lamp flashers, pulse generation, logic clocks, tone generation, security alarms, pulse position modulation, etc.
* Bistable mode or Schmitt trigger: the 555 can operate as a flip-flop, if the DIS pin is not connected and no capacitor is used. Uses include bouncefree latched switches, etc.

Link removed/">... repair solutions [/L]

Link removed/ap...pple-ipod service [/L]

Link removed/ab.../">xbox 360 repair[/L]
 08 December 2009 09:03 PM
User is offline View Users Profile Print this message



aidanhedley

Posts: 2
Joined: 07 June 2009

You will initially find the PIC route is harder. but even if you only get part way through it, your project should get better marks.

No one in industry would use a 555 and board full of logic to realise your project. Use this to justify your approach. - but be careful lecturers are often out of date.

I don't know how much you already know but Nigel Godwins PIC tutorials is a good start - google it.
 10 December 2009 10:19 AM
User is offline View Users Profile Print this message



wilson479

Posts: 114
Joined: 11 February 2008

Hi,

I know it's a little late - but you may want to investigate the 14541 timer IC.

I can think of a few safety critical applications that this device is used in, where as I can think of none that use a 555. Maybe that says something about the quality?

But judging by what you need, a PIC or AVR would be much easier. Take something like a PIC509 or Tiny AVR with 8 pins and use internal clock. A few lines of C code and you will have a one chip solution.

Cheers,
Statistics

See Also:



FuseTalk Standard Edition v3.2 - © 1999-2013 FuseTalk Inc. All rights reserved.