Go Down

Topic: Toggle button NE555 trigged over Arduino (Read 2 times) previous topic - next topic

MAS3

You still didn't answer vasquo's question, and i'm having a hard time understandig your question and your goal.
Your schematic is also hard to read and what i can read doesn't make any sense to me (but ofcoure that can be me).
But am i right to see you are trying to replace the button by the 2n2222 ?
The button has 3 contacts, P1, P2 and P3 and your transistor is across P2 and P3.
The button connects P1, P2 and P3 all together (strange, but that's the way it is drawn).
And you just connect P2 and P3 with your transistor.
P1 is tied to the 555, P2 and P3 are not.
So any interaction between your transistor and your 555 is impossible.
So there's your difference.

Do you really need to use this strange switch (why ?) or can you do this an other way ?
Have a look at "blink without delay".
Did you connect the grounds ?
Je kunt hier ook in het Nederlands terecht: http://arduino.cc/forum/index.php/board,77.0.html

ardudriver

Hello and thank you for your interest. Put it this way: apart from the final goal, I want to close the points A and B with a transistor, simple. The terminals of the button are not all connected together, of course. In other terms, I want to replace the button with a transistor. I built this thing, but I do not get the desired result as if you had pressed the button.

MAS3

I explained why you do not get the same result.
If you press the button as shown (i'm not familiar with that symbol), then all inputs are tied together.
Your transistor only connects A and B or P2 and P3.
It does not break the connection between P1 and P2.

If the switch actually switches (toggles) P1 or P3 to P2 (so not pressed is P1 + P2 and pressed is P2 + P3), then you would need to also take over that breaker switch (P1 / P2).
This can be done, you will need an extra transistor (different type) for that.
I now see the title tells it's about a toggle switch, sorry about that.

Also, take in consideration that a transistor can be used as a switch, but it really is not a switch.
You will have a larger voltage drop over this transistor as you would have over a switch.
This might also contribute to an unwanted effect.
Have a look at "blink without delay".
Did you connect the grounds ?
Je kunt hier ook in het Nederlands terecht: http://arduino.cc/forum/index.php/board,77.0.html

vasquo

The schematic is unclear.
Are you trying to blink (2) LEDs alternately using the 555 circuit?
Then you want to turn on/off the 555 using the arduino?

What are you REALLY trying to do? It's a freaking simple question.

dhenry

Quote
What are you REALLY trying to do? It's a freaking simple question.


That's apparently classified, :)

Go Up