A fast typist can hit that speed without breaking a sweat. 200 ms with a break and a make is about what you might expect on a keyboard. Also you did not specify VCC and that has a considerable effect along with Vgs(th) for the FETs. Having some idea of pulse width and duty cycle would have been helpful. No matter it became clear after playing around with it for a while. It's all good.The TS only mentioned a flash duration of a fraction of a second and with a supply voltage from 3 to 12 volts. It's hard to select exact component values with those specs and certainly didn't expect someone pushing the button 5 times every second.
All of this is true and I never got around to playing with the switch bounce generator to see what effect it would have.Extracting action from both the press and release of a SPST switch increases the circuit complexity. It pains me to say this, but the absolutely smallest way to do this is with a microcontroller. One 8-pin chip, one switch pull-up resistor (internal pull-up or pull-down resistors have fairly high values, leading to noise pickup), and one decoupling capacitor. That's it. Detecting both the switch press and release, debouncing both switch transitions, setting the flash period - everything is done in firmware.
You don't say if you can do SMT (surface-mount) assembly, but either SOT-8 or DIP parts are less than 60 cents in ones (!!!).
https://media.digikey.com/pdf/Data Sheets/Atmel PDFs/ATTINY11,12_summary_Rev07.pdf
You don't say what the LED current is. This part has 6 I/O pins. It might be able to drive one LED per pin, eliminating an external driver transistor.
ak
No, what he said in post 6 "Ok I calculated it to flash to around 0.1 seconds, but I don't know what's happening if I keep pressed the button/trigger?"Are you referring to my schematic?
I understand, so the LED has to flash at lower speed like 0.0001sec, seems possible? I can put 2 LEDs, one for the ON contact and the other for OFF contact.At .001 sec ON then OFF the LED will appear to be on constantly.
Hi Pia,I understand, so the LED has to flash at lower speed like 0.0001sec,
Thread starter | Similar threads | Forum | Replies | Date |
---|---|---|---|---|
G | Light flashing unit for car | General Electronics Chat | 133 | |
C | Push button flashing light circuit | Digital Design | 58 | |
Flashing protocol for stm32 | Microcontrollers | 1 | ||
Dyson dc01 hairdryer. 3 red flashing lights then stops working. | Technical Repair | 11 | ||
B | Flashing of ESP32-C3-Mini | Microcontrollers | 0 |