Introductory Mechatronics Question

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
4 replies · 3K views
baillik
Messages
5
Reaction score
0
Okay, two questions:
1) Using a normally closed push button, design and sketch a circuit that will generate a logic '0' when the button is pressed, and a logic '1' when the button is released
2) Using a normally open push button, design and sketch a circuit that will generate a logic '0' when the button is pressed and a logic '1' when the button is released.

My answers are the in the attached pictures, sorry about the sad paint drawings haha. I really have no idea what I am doing and I have no access to the answers, so any help at all would be appreciated.
Thanks!
 

Attachments

  • 1.png
    1.png
    888 bytes · Views: 478
  • 2.png
    2.png
    806 bytes · Views: 481
Engineering news on Phys.org
Your circuits look correct for giving the logical "0" and "1". However, you might want to show the normally closed switch like this (shown closed):

[PLAIN]http://www.kpsec.freeuk.com/symbols/swpbrk.gif

And the normally open switch like this (shown open):

[PLAIN]http://www.kpsec.freeuk.com/symbols/swpush.gif
 
Last edited by a moderator:
dlgoff said:
Your circuits look correct for giving the logical "0" and "1". However, you might want to show the normally closed switch like this (shown closed):

[PLAIN]http://www.kpsec.freeuk.com/symbols/swpbrk.gif

And the normally open switch like this (shown open):

[PLAIN]http://www.kpsec.freeuk.com/symbols/swpush.gif[/QUOTE]


okay, I will change that.
thank you for the help!
 
Last edited by a moderator:
Actually both circuits are not correct.

If the output is connected to one of the supply rails, then the output will not be affected by the switch.

[PLAIN]http://dl.dropbox.com/u/4222062/logic.PNG

In the circuit at left, if the switch is closed, the output will be high, but go low if the switch is opened.

In the circuit at right, the output will be low if the switch is closed, but high if it is open.
 
Last edited by a moderator:
Thanks vk6kro for catching this. I had his circuits reversed in my mind and didn't notice where his outputs were taken from.

@ baillik: Sorry about that.