Thanks! I’ll check it out.
You are a life saver…
You have mentioned that:
“Maybe the circuit can be extended to also send a pulse when the input changes state from GND to VCC”
Could you PLEASE make that extension?
It would be a great help!!!
I created a Littlebits single pulse monostable timer, generating a 3 second pulse when the input button changes from GND to VCC and when it changes back from VCC to GND.
This is the circuit:
USB power - Button - Differentiator - Bright LED - Timeout - Bargraph LED.
(The bright LED is only there to show the pulse from the differentiator).
There is only one bit needed that is not available as standard, it is a so called “differentiator”. I made this bit from a proto bit with only 3 components, a 0.33 uF capacitor and 2 resistors 10 kOhm. This bit detects the rising and falling edge from the button bit signal by generating a small pulse when the button switches ON and also when the button switches OFF. (See the oscilloscope pictures)
Both pulses can activate the timeout bit, set to 3 seconds.
See this video, the bargraph LED flashes 3 seconds when the button is switched ON (and stays ON) and it flashes also 3 seconds when the button is released.
But I unfortunately do not have access to Littlebits circuits
Can you PLEASE give me the corresponding map for Littlebits Timeout circuit so that I can assemble it myself?
This is the Timeout bit i17 diagram:
You are a REAL life saver…
How could they put all that stuff in that little piece!
Is the 555 IC under the board?
Indeed the 555 is the small smd (surface mounted device) version mounted under the board…
I’m asking way more questions than I expect someone would answers…
But please guide me through this one too!
I just need the “on-off” mode. How can I simplify the circuit?
Can you please show me which parts can be omitted?
Is my modified version right?
Or I still need the 10K resistor between LV321SOT23-5 and VCC? Like this:
I think the littlebits diagram has indeed more components than you need, the opamps are part of the standard input/output design of all the littebit bits. I will try to make a diagram with the “normal” 555 IC with less components to make a single 3 sec. pulse with the ON/OFF button as described above, but it will take me a few days, so stay tuned…
It is very kind of you.
Ofcourse i’ll stay tuned…
Just please make sure the output pulse activates both when input switch goes ON and when it goes OFF too, exactly the way you have shown in your video…
I just tried the circuit without those opamps. No success
As soon as my hand goes near the Trigger wire LED goes on!!! Even I haven’t touched it…
After a few tryouts and failures I found a nice solution…
As you also noticed the NE555 trigger input is very very noise sensitive…
I recreated the Littlebits timeout bit without the opamps and added the differentiator as discussed earlier. The differentiator is connected to the trigger input from the NE555 via a capacitor (100nF) and a variable resistor (P1, 50kOhm).
You must set this resistor appr. halfway (30/50) to get a stable trigger.
To adjust the output pulse duration you can vary the values of the capacitor C1 and the resistor R1.
The output LED flashes 3 seconds when the switch changes from OFF to ON (and stays ON). When the switch is released (changing from ON to OFF and staying OFF) the LED flashes again 3 seconds.
I think this answers your question (I hope)…
Enthusiastically three times a day I was checking & waiting for your precious reply.
You left me speechless…
I really don’t know how to thank you…
I’m short in a few of elements in the circuit. I’ll obtain them and will inform you of the result, hopefully tomorrow…
PS: I’m short in 100nf but I couldn’t wait until tomorrow, so I tried to assemble them using what I had and managed to make & try the circuit with 190nf (instead of 100nf)
But unfortunately I do not get the LED ON upon press and I just get it ON for 3 secs upon release!!
Probably that capacitor is the culprits. I’ll try the circuit tomorrow this time with the exact elements and post the results ASAP.
The variable resistor P1 is crucial. After setting it I measured the setting and replaced this part by two normal resistors, 33kOhm from the middle connection to VCC and 22kOhm from the middle connection to GND. Then it also worked as it should.
IT WORKED LIKE A CHARM…
Please share your final project when ready…
And Final Project:
Love this project you’ve done. I am planning on using this to trigger a switch that only has a push button so this will work ideally for me as the switch will be either on or off and the push button is temporary. So each time the switch status is changed from either on to off or off to on the circuit will send a single pulse through. Will you please advise me what is needed so this circuit will work off 3.3V input and give a positive 3.3V output (trigger).
Thanks in advance
The general specification of the 555 IC mentiones a minimum operating voltage of 4.5 Volt. I checked the trigger at 3.3 V and it worked without changing any component, although the output voltage on pin 3 of the 555 is 2.75 Volt without the Led and 2.05 Volt with the Led connected.
I do not think this output voltage can be increased, I suppose it is caused by the internal setup of the 555 IC.
Hope this is what you need,
Can you please guide me How I can get the inverted output from this 555 IC circuit.