Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Will this circuit work?

Status
Not open for further replies.

b_reagle

New Member
Hello, I am trying to make a circuit for the truth table. I also am not sure if the diode "or" gate will work right. Thanks for the help.
 

Attachments

  • doorlock33.jpg
    doorlock33.jpg
    83.1 KB · Views: 216
The LS part has a very wimpy high output current IOH. You will never be able to drive that circuit. Why not just use an OR gate? Also keep in mind HC can drive LS parts ok but LS is not always able to drive HC, so you should stick to one logic family. Also why is R6 on your FET? I don't think you want to drive 50 ohms.
 
Thank you Mike,
I am trying to keep parts count to a minimum. I could use an OR gate but that is another chip. I forgot to change the chip families to both HC, as suggested by audioguru, as was R6 also suggested. I want a simple battery operated electric lock to make a motor forward and reverse only stoping when the lock is locked or unlocked. For now, U is a momentary push button. B and C are phototransistors. Maybe I will switch to Light Sensitive Resistors. No, I don't want to drive 50 ohms. I want to use as little as power as possible for the circuitry. All the power should be used only when motor is on, and very little when it is stopped. Thanks for the help.
 

Attachments

  • door 4.jpg
    door 4.jpg
    94.6 KB · Views: 200
The 74HC00 will generate only about 2.0V or so across R7 which is only 100 ohms. R7 should probably be several k ohms.

How much voltage does Q3 require to turn on and carry the motor current?
 
I'm having trouble understanding your logic. Does B=1 mean light is present? Same for C=1? Does X=1 mean the motor is on?
 
B= 1 when light is not present. C=1 when light is present. X=1 when motor is on.
 
Is that part number for your FET correct? I could not find a data sheet for it.
 
Maybe this will help.
 

Attachments

  • door 4.jpg
    door 4.jpg
    94.6 KB · Views: 173
lol, I thought the Z was a 2. :) thanks
 
Hi b reagle,

Replace the 74HC00 ****, D1, D3, R5 and R7 with a 74HC51.
I also have a problem with the base currents of the 2N2222's.

on1aag.
 
Last edited:
Geez, I now have a bright red spot on my forehead from slapping myself. Good one Ron :)
And a spare gate to boot.
 
Last edited:
Yes, I think that is it....The circuit is for an electric dead bolt than runs on batteries. Will all this work at 3 vdc?
 
Thank you very much!!! I knew something was just not right. Thanks again..
 
Is this right then??
 

Attachments

  • door 4.jpg
    door 4.jpg
    86.7 KB · Views: 174
Isn't the base current 4.9mA in the unnumbered Q's?
 
I would change R5 to 100 ohms.
If you don't need the extra gate, either connect the inputs to GND, or put it in parallel with the "output" gate to speed up MOSFET switching.
How much current does your relay require?

EDIT: I just saw your last post. R1 and R2 should be around 10k. If you don't get solid "0" levels at B and C, change R3 and R4 to 10k, and R1 and R2 to 100k.
 
Last edited:
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top