Timeline for Button short press and long press without using microcontroller
Current License: CC BY-SA 4.0
17 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 27, 2020 at 16:55 | answer | added | varun | timeline score: 2 | |
Jul 24, 2020 at 5:40 | comment | added | Jasen Слава Україні | or a PADAUK PMS150C those three cent microcontrollers are hard to beat | |
Jul 23, 2020 at 18:35 | answer | added | varun | timeline score: 1 | |
Jul 23, 2020 at 18:23 | comment | added | Criticizing Israel not allowed | @spockshr I mean what the question says. I mean doing it without a microcontroller. Also, if you product already has a microcontroller in it, maybe that microcontroller can do both things. | |
Jul 23, 2020 at 17:58 | comment | added | spockshr | @user253751 What do you mean by this? Using the PIC10--- microcontroller? | |
Jul 23, 2020 at 17:55 | comment | added | Criticizing Israel not allowed | Are you sure this will shorten the BOM? | |
Jul 23, 2020 at 17:43 | comment | added | spockshr | @jonk : The reason I'm asking this question is because, I'm working with HCS360 IC which gives 4 inputs for push-buttons. But, I want to have a single push button to provide two functions: one for short press and one for long press. So, I plan to drive 2 inputs of the HCS360 IC using a single push-button. | |
Jul 23, 2020 at 17:38 | comment | added | jonk | @spockshr This is a very common question, finding a short/long hold for a simple PB to perform certain desired functions. I'd probably want to include power-on reset, too. Why don't you spend a little time working out exactly what would serve your needs and update the question a bit. Would something like this serve your needs if it wasn't boutique and didn't come from Maxim? | |
Jul 23, 2020 at 17:32 | comment | added | spockshr | As I told, using microcontroller felt like an overkill. But, as you and @jonk told, using a 6/8 pin MCU like the PIC10(L)F-- does make sense for as task a simple as button interfacing. | |
Jul 23, 2020 at 17:25 | comment | added | Dave Tweed | Define "simplest". Also, what is the nature of the two outputs that you need? | |
Jul 23, 2020 at 17:24 | history | edited | spockshr | CC BY-SA 4.0 |
deleted 13 characters in body
|
Jul 23, 2020 at 17:23 | comment | added | spockshr | @DaveTweed I'll edit the question. It's obviously an error. I'm just looking for the simplest way to do it. | |
Jul 23, 2020 at 17:20 | comment | added | Dave Tweed | "I don't want to do it without using a microcontroller" -- That means you DO want to use a microcontroller! And a 6- or 8-pin MCU is going to give you the lowest BOM cost anyway, especially once you factor in the extra PCB area, etc. as well. | |
Jul 23, 2020 at 17:08 | comment | added | jonk | If you can temporarily ignore the software development side (which is ornery, I admit), then the MCU is the only case that isn't overkill. Everything else is much more pain. You can take a PIC10F20x or PIC10LF32x, which come in SOT23-6 packaging, and be done with it. Just supply power and they work right. The one-shot approach is very good, but it involves lots more parts and more space and more cost and probably a lot more power, as well. | |
Jul 23, 2020 at 17:04 | comment | added | spockshr | @jonk : I feel the use of a microcontroller for this purpose is an overkill, which is why I'm asking this question. | |
Jul 23, 2020 at 16:59 | comment | added | jonk | There are ICs for this, I think. Some may use an MCU. But you can ignore that fact and just imagine they have an analog circuit for it. If you are sincere about an analog method then look up the use of one-shots. This could be readily designed using a few of these. | |
Jul 23, 2020 at 16:48 | history | asked | spockshr | CC BY-SA 4.0 |