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 4497 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 2 guests

USED SKAR AUDIO SK-M5001D 500W RMS ULTRA COMPACT CLASS D MONOBLOCK CAR AMPLIFIER
$104.99
USED SKAR AUDIO SK-M5001D 500W RMS ULTRA COMPACT CLASS D MONOBLOCK CAR AMPLIFIER pictureVintage Hewlett Packard HP 467A Power Amplifier / DC Power Supply – Powers On
$99.99
Vintage Hewlett Packard HP 467A Power Amplifier / DC Power Supply – Powers On pictureNew, 5 W, 10 MHz to 1200 MHz , 42 dB Gain,  Broadband RF Power Amplifier
$495.00
New, 5 W, 10 MHz to 1200 MHz , 42 dB Gain,  Broadband RF Power Amplifier pictureAllen-Bradley 2198-C4004-ERS Kinetix 5300 400V Class Servo Drive. EB
$425.00
Allen-Bradley 2198-C4004-ERS Kinetix 5300 400V Class Servo Drive.      EB picture


cron