Hello. I am creating a timed touch-alarm. The idea is that if a person stands (or sits) on a specific area for too long, an alarm will sound and continue to sound as long as the person remains on the area.
I have a design for the circuit, and I have tested it on a breadboard with parts I already own (these were parts leftover from my days in digital electronics). What I would like is some feedback on the design; as well, suggestions to improve or to fix any major problems is greatly appreciated. In addition, I have some questions about the design of this device, included at the bottom of this message. If you an answer them in any way, I would greatly appreciate it.
(In addition, please feel free to ask me for any clarification necessary relating to any part of this message)
Operation: When someone steps on a certain area, the timer is activated. 20-25 minutes will pass, and then a buzzer will sound until the person steps off the area. If the person steps off the area before the buzzer sounds, the timer is reset to zero.
Non-essential requirements: It is preferred that the device is as inexpensive as possible and as physically small as possible. (
Circuit Overview: The circuit is made from Three ICs (a 555 timer, a counter, and a Quad 2-input NOR gate chip), a pushbutton, a buzzer, and a few resistors and capacitors. In testing, the circuit is powered by a 5V power supply; however, I would like the circuit to eventually be battery powered (please see my Questions, located very below, to read my concern in full).
Here is a basic schematic diagram of the circuit. It has been tested, and so far, it works as expected.
**broken link removed**
Here are the basic details for this device. The basic components are:
1) Timing: clock, counter
2) Alarm: Latch, buzzer
Clock
The 555 timer is configured to provide a clock output with the period equal to approximately 85 seconds.
Counter:
The 74193 counter is used to divide the count down to approximately 22.5 minutes. It is a Mod 16 up/down counter, configured to count UP. After 16 counts, the /CARRY output (normally high) switches to low for the duration of the clock pulse's LOW period; during this time, the alarm-component is activated.
(Normally when using a counter, you would connect each of the count outputs into an AND gate and connect the AND gate output to whatever device you would like to activate. In my design, the extra AND gate is not required.)
When powered up, the RESET input of the counter is active, and the count remains at zero. When the Pushbutton is pressed, the counter's reset is disabled, and it begins to count.
NOR Gate Latch
Two of four internal gates of a 74LS02 Quad 2-input NOR gate are configured as a NoR Latch. The SET input of the latch is the signal from /CARRY (which is inverted; see below). The CLEAR input of the latch is connected to the Pushbutton. When powered up, the output of the latch is LOW.
Inverter
One of the four gates of the 74LS02 is configured as an inverter. The /CARRY output from the counter is active low, but an active HIGH output is required for the SET input of the latch. For this reason, the /CARRY output is inverted, then used as the SET input for the latch.
Buzzer
The Q output of the Latch is connected to a buzzer. This buzzer will sound until the Pushbutton is no longer pressed.
* * * * *
In addition to asking for input on the design, I have some questions about the device:
- what sort of buzzer would work well with this circuit? I only had one old buzzer to test with - it worked, but I'd like to know what is good to use and what isn't. (The specs for the buzzer I have are found here: **broken link removed** -- although it works, it seems fairly large) My only hunch for buzzer-choice is that I'd need something which will run on less then the max output of the 74LS02 chip ...
- I would like the circuit to be battery powered, and am not sure what changes are necessary (1.5V, 6V and 9V batteries are all too common; unfortunately, I have never seen a 5V battery, and the TTL chips I am using require 5V supplies). How do I configue this circuit to run on common batteries (as opposed to the 5V power supply currently used)? What changes would be necessary? Is there a way to power TTL chips via common batteries?
- Again, what improvements (or dangerous, glaring errors) should I be aware of?
Thank you in advance for your help!
I have a design for the circuit, and I have tested it on a breadboard with parts I already own (these were parts leftover from my days in digital electronics). What I would like is some feedback on the design; as well, suggestions to improve or to fix any major problems is greatly appreciated. In addition, I have some questions about the design of this device, included at the bottom of this message. If you an answer them in any way, I would greatly appreciate it.
(In addition, please feel free to ask me for any clarification necessary relating to any part of this message)
Operation: When someone steps on a certain area, the timer is activated. 20-25 minutes will pass, and then a buzzer will sound until the person steps off the area. If the person steps off the area before the buzzer sounds, the timer is reset to zero.
Non-essential requirements: It is preferred that the device is as inexpensive as possible and as physically small as possible. (
Circuit Overview: The circuit is made from Three ICs (a 555 timer, a counter, and a Quad 2-input NOR gate chip), a pushbutton, a buzzer, and a few resistors and capacitors. In testing, the circuit is powered by a 5V power supply; however, I would like the circuit to eventually be battery powered (please see my Questions, located very below, to read my concern in full).
Here is a basic schematic diagram of the circuit. It has been tested, and so far, it works as expected.
**broken link removed**
Here are the basic details for this device. The basic components are:
1) Timing: clock, counter
2) Alarm: Latch, buzzer
Clock
The 555 timer is configured to provide a clock output with the period equal to approximately 85 seconds.
Counter:
The 74193 counter is used to divide the count down to approximately 22.5 minutes. It is a Mod 16 up/down counter, configured to count UP. After 16 counts, the /CARRY output (normally high) switches to low for the duration of the clock pulse's LOW period; during this time, the alarm-component is activated.
(Normally when using a counter, you would connect each of the count outputs into an AND gate and connect the AND gate output to whatever device you would like to activate. In my design, the extra AND gate is not required.)
When powered up, the RESET input of the counter is active, and the count remains at zero. When the Pushbutton is pressed, the counter's reset is disabled, and it begins to count.
NOR Gate Latch
Two of four internal gates of a 74LS02 Quad 2-input NOR gate are configured as a NoR Latch. The SET input of the latch is the signal from /CARRY (which is inverted; see below). The CLEAR input of the latch is connected to the Pushbutton. When powered up, the output of the latch is LOW.
Inverter
One of the four gates of the 74LS02 is configured as an inverter. The /CARRY output from the counter is active low, but an active HIGH output is required for the SET input of the latch. For this reason, the /CARRY output is inverted, then used as the SET input for the latch.
Buzzer
The Q output of the Latch is connected to a buzzer. This buzzer will sound until the Pushbutton is no longer pressed.
* * * * *
In addition to asking for input on the design, I have some questions about the device:
- what sort of buzzer would work well with this circuit? I only had one old buzzer to test with - it worked, but I'd like to know what is good to use and what isn't. (The specs for the buzzer I have are found here: **broken link removed** -- although it works, it seems fairly large) My only hunch for buzzer-choice is that I'd need something which will run on less then the max output of the 74LS02 chip ...
- I would like the circuit to be battery powered, and am not sure what changes are necessary (1.5V, 6V and 9V batteries are all too common; unfortunately, I have never seen a 5V battery, and the TTL chips I am using require 5V supplies). How do I configue this circuit to run on common batteries (as opposed to the 5V power supply currently used)? What changes would be necessary? Is there a way to power TTL chips via common batteries?
- Again, what improvements (or dangerous, glaring errors) should I be aware of?
Thank you in advance for your help!