Electronics Forum

Electronics Circuits & Projects discussion forum. Get help with electronics.


help please to create a digital circuit

Discuss about electronic circuits here. Request help for circuits that you couldn't find anywhere else, how a circuit works etc. Discuss anything related to electronic circuits.

Moderator: pebe

help please to create a digital circuit

Postby jeniaainej » Fri Dec 14, 2012 9:09 am

We want to design a system that sounds a buzzer inside our home whenever motion outside is
detected at night. Assuming we have a motion sensor with output M that indicates whether
motion is detected (M=1 means motion detected) and a light sensor with output L that indicates
if light is detected (L=1 means light is detected). The buzzer inside the home has a
single input B that when 1 creates a loud warning sound. Using AND, OR, and NOT gates,
create a simple digital circuit to implement the motion detector at night system.
jeniaainej
 
Posts: 1
Joined: Fri Dec 14, 2012 9:04 am

Re: help please to create a digital circuit

Postby JoshMac » Thu Dec 27, 2012 3:43 am

Hi Jeniaainej,

If I am understanding you correctly. There is an easier option that allows you to avoid the gates all together.

There are outdoor PIR's that are available off the shelf that have a day-night compensation to avoid them activating during the day. Have you looked into these?

But if you are deadset on using gates, using 1x 74LS00 would solve your problem (assuming the light sensor is binary, not analogue). The 74LS00 is a quad channel 2-input NAND gate. NAND gates are fantastic, because they can do pretty much any job if you have enough of them. OR, NAND, AND, NOR etc..

In this case you would use 1 IC, but use 3 of the 4 channels on the 74LS00. The fact that you mention gates, gives me the impression you have a base understanding of electronics and gates, so I havent including pin numbers, but if you are unsure, there are plent of tuts you can find on google that will give you a run down on them.

Channel 1 will invert the light sensors output, so when there is no light, the sensor will output a '0', that will be inverted to a '1' by the IC.
Channel 2 will act as a inverted AND gate (NAND), giving a 0 when the PIR gives a '1' [u]AND[/u] the output of the channel 1 gives a '1'.
Channel 3 will invert the output of channel 2.

I have attached a diagram to help you understand a little better.

Hope this helps.
Josh
Attachments
circuit.jpg
circuit.jpg (6.3 KiB) Viewed 4498 times
JoshMac
 
Posts: 27
Joined: Sun Dec 23, 2012 4:59 am
Location: Perth, Western Australia


Return to Electronic Circuits Help



Who is online

Users browsing this forum: No registered users and 1 guest

10pcs 1N4007 Rectifier Diode 1A 1000V - US Seller
$1.80
10pcs  1N4007 Rectifier Diode 1A 1000V - US Seller  pictureVQL AVR Automatic Voltage Regulator Rectifier for BlackMax 5KW 5.5KW 6KW 6.5K
$26.99
VQL AVR Automatic Voltage Regulator Rectifier for BlackMax 5KW 5.5KW 6KW 6.5K pictureRectifier Diode 10A 1000V Electronic Silicon Diodes 200pcs for 10A10
$32.62
Rectifier Diode 10A 1000V Electronic Silicon Diodes 200pcs for 10A10 pictureFor Briggs & Stratton 91825GS Rectifier Brush Holder Assembly Voltage Regulator
$39.89
For Briggs & Stratton 91825GS Rectifier Brush Holder Assembly Voltage Regulator picture


cron