Maker Pro
Maker Pro

Toggle button NE555 and MCU

Ardudriver

Dec 24, 2012
4
Joined
Dec 24, 2012
Messages
4
Hi all, I realized in a pattern on the internet using a toggle button and ne555 monostable mode so everything is ok.
Now, I'd like to add the ability to simulate pressing the MCU via a pulse (which could be very useful in many situations), and I thought to use the classic means of a transistor (which should act as a switch) but it does not work, the circuit is closed but not 'clicks' as if it were closed by pressing the button. I am a neophyte electronics and certainly do not have the appropriate knowledge on the operation about ne555 to make arguments like this, the problem is probably due to the logic of charging and discharging of the capacitor, here is the complete schema.

I noticed that every time I press the button, the polarity of the two ends of the button are reversed and so I added a diode to avoid a short, this system would be fine (if it worked) only when the polarity of the terminals A and B (indicated in the diagram) were respectively + and -, and not the opposite. On a site I noticed that they use a relay to do something like that but I would avoid this solution.
In fact I could have avoided all of this and get by cheap with a few lines of code, I speak to you as a programmer, but I think that it is technically more interesting solve the problem by using a handful of components if possible, what do you think?

Take this opportunity to make the New Year to all.

driver
 

Attachments

  • schema.jpg
    schema.jpg
    39.1 KB · Views: 174

davenn

Moderator
Sep 5, 2009
14,268
Joined
Sep 5, 2009
Messages
14,268
Greetings
welcome to the forums
And seasons greetings too :)

I read your post a couple of times and am still not really sure what you are trying to achieve ??
your first sentance makes no sense at all
Maybe a better description of your goal mite help ?

Im going to tidy your circuit a little just to make it easier to follow ....

hints ....
Always put the +V rail along the top and the -V along the bottom
You have huge loops of lines that can be shortened lots :)
Dont run lines through other components

Dave
 
Last edited:

davenn

Moderator
Sep 5, 2009
14,268
Joined
Sep 5, 2009
Messages
14,268
OK a slightly revised drawing
NOTE I havent bothered to reverse the +V and -V rails
it would have required a total redraw

attachment.php


you can see I have got rid of the huge loops, lines through components
unnecessary double ups of lines to various places

its all just a learning process and you are making a good start :)

from an electronic circuit point of view, I can see a few problems
I also havent done any of those corrections
that others may also point out and clarify

Dave
 

Attachments

  • schema1.jpg
    schema1.jpg
    34.3 KB · Views: 273
Last edited:

Ardudriver

Dec 24, 2012
4
Joined
Dec 24, 2012
Messages
4
You're right Dave, thank you for the interest, I am a hobbyist and I follow those who willingly gives me advice that I can improve.
What I want to achieve is a trivial thing, but in practice does not give me the desired result.
it is a problem but it can be interesting to solve technically for a fan.
I simplified the pattern according to your advice and now it should be better.

Add only that functions in this way, if it is possible, using a transistor controlled by MCU to operate the circuit.

Here from me is already Christmas wishes to all!
 

Attachments

  • schema2.jpg
    schema2.jpg
    36.9 KB · Views: 134

Ardudriver

Dec 24, 2012
4
Joined
Dec 24, 2012
Messages
4
sorry this is the schematic right!
 

Attachments

  • schema3.jpg
    schema3.jpg
    38.3 KB · Views: 198

cjdelphi

Oct 26, 2011
1,166
Joined
Oct 26, 2011
Messages
1,166
wow, your first circuit should be sold to restaurants for kids to find the beginning and end point while waiting for their meal LOL :D
 
Top