Connect with us

Toggle button NE555 and MCU

Discussion in 'General Electronics Discussion' started by Ardudriver, Dec 24, 2012.

Scroll to continue with content
  1. Ardudriver

    Ardudriver

    4
    0
    Dec 24, 2012
    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
     

    Attached Files:

  2. Ardudriver

    Ardudriver

    4
    0
    Dec 24, 2012
    no idea?
     
  3. davenn

    davenn Moderator

    13,866
    1,958
    Sep 5, 2009
    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: Dec 24, 2012
  4. davenn

    davenn Moderator

    13,866
    1,958
    Sep 5, 2009
    OK a slightly revised drawing
    NOTE I havent bothered to reverse the +V and -V rails
    it would have required a total redraw

    [​IMG]

    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
     

    Attached Files:

    Last edited: Dec 24, 2012
  5. Ardudriver

    Ardudriver

    4
    0
    Dec 24, 2012
    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!
     

    Attached Files:

  6. Ardudriver

    Ardudriver

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

    Attached Files:

  7. cjdelphi

    cjdelphi

    1,096
    104
    Oct 26, 2011
    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
     
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day

-