Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
KC868-H8B input minimum time to activate
#1
I've been playing with H8B device today and connected a momentary switch to it's input port. I also use MQTT Mosquito to publish/subscribe for the events. Quite often I didn't get the button press reported as apparently they were too short. I have noticed that I have to press and hold the button for around 0.5 sec to get it reported. Is it an expected behavior? I'm planning to use some inputs for the door bell application and short button presses are normal. It almost look like some kind of a button debounce technique was applied for the input signal, but it affected how short signals are being recognized. Please advise.
Reply
#2
yes, the input debounce technique was applied for the input signal. let your hold on time longer.
Reply
#3
Thank you XuWei for your prompt reply. Is this a hardware debouncer or a software one? If so, then is it something a user can have control over? It's hard to require a random guest to press on a doorbell button longer for it to trigger, so I'm trying to figure out some other solution. Do you ever plan to implement the double click feature in H8B like you did for H32B? My guess is, it can affect the minimum trigger time in a positive way, as one would expect shorter timing for double click, hence it may kill two birds with one stone here. Overall great product.
Reply
#4
it debounce by software. I think in furture can add an option in web browser can set the debounce time, such as 0.2-0.5s second. How much the time you want?
Reply
#5
If you have plans to work on that feature I would consider to leave it up to the user what value to use per input channel. Let the minimal value be bounded by hardware interrupt but let the user set the maximum value to be also as large as possible. Someone can use the same feature to set the reset timer. For example user don't want to allow more than one state change within 5 seconds. This can be accomplished within the same piece of code that handles the debouncer.
Reply
#6
when we begin to work , our engineer will confirm this function whether can be add.
Reply
#7
(10-05-2021, 08:23 AM)admin Wrote: when we begin to work , our engineer will confirm this function whether can be add.

Is there any update on toggling the debounce time via browser? Would like to see in H32B :-)
Reply
#8
which controller you are using?
Reply
#9
(11-03-2022, 12:04 AM)admin Wrote: which controller you are using?

H32B
Reply
#10
how many time of pulse do you want? such as trigger for 1 second? or ?
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)