This cropped up recently on arduino forum as a debounce in noisy [automotive] enviro as an effective debounce method
![]()
This cropped up recently on arduino forum as a debounce in noisy [automotive] enviro as an effective debounce method
![]()
Warning I'm not a teacher
Yeah, I've saved an article from February 2020 about this one too:
https://www.eejournal.com/article/ul...bounce-part-3/
I had even tried it without success, but I used a breadboard and that most likely caused me a ton of bad connections. This last batch I got from AliExpress leaves a lot to be desired.
My Creality Ender 3 S1 Plus is a giant paperweight that can't even be used as a boat anchor, cause I'd be fined for polluting our waterways with electronic devices.
Not as dumb as yesterday, but stupider than tomorrow!
The reason why I'm sticking with the Hackaday design is because the front end is recommended by Bourns with their rotary encoders (page 3).
https://www.bourns.com/docs/Product-...ets/PEC11R.pdf
I figure if they can recommend this design with their products, it's gotta have some merit when you consider how easily liability lawsuits get thrown around in the US.
Unless I'm mistaken, the Elliot Williams design from Hackaday that I'm using is exactly the same, but with the Schmitt Trigger added at the back end.
About that other technique of just storing the state in a bunch of bits, and then checking for a "clean press", Elliot encountered a problem with a "janky button".
https://hackaday.com/2015/12/10/embe...i/#more-180185
My Creality Ender 3 S1 Plus is a giant paperweight that can't even be used as a boat anchor, cause I'd be fined for polluting our waterways with electronic devices.
Not as dumb as yesterday, but stupider than tomorrow!
If a button has serious problem, it has to be replaced.
The usual, normal behavior of a metal contact switch is to bounce a few ms and then settle. That is why a 10ms debounce is most recommended. More may be better if you can spare the time, either in software or hardware.
In your case, with so many buttons, you will be using too many components. All these can be just fine be replaced with a few more lines of code for free. And with less posibility for a component or soldering it ot pcb to fail.
Ioannis
One issue that's been a thorn in my side since day 1 was how to engrave text on the enclosure. One of the easiest ways was to use double-layer ABS engraving sheets like this and engrave text with a mini-CNC or laser:
https://www.amazon.ca/gp/product/B07QT93LN9/
My problem was how to have a nice finish along the edges, cause you can see the white backing. I doubt I could get paint to match, and thin moldings would not go on straight. I finally got a breakthrough today; I print my own 1-piece molding, but with alignment pegs.
In theory I should have a decent enclosure front panel. And best of all, I'm not getting these sheets from Amazon any more, I just got a waaaay better price straight from the manufacturer. And they will cut the sheets to my exact specs, I don't have to trim, so less waste and lower costs.
And even better, the sales rep said they can customize everything about my order. I can get semi-opaque backing of the colour of my choice. I just slap some LEDs in the enclosure behind the text and VOILA! Instant backlighting.
This is such a relief. I didn't want my case to look DIY that much; a professional look helps customer confidence in your product.
Last edited by Demon; - 21st February 2024 at 06:36.
My Creality Ender 3 S1 Plus is a giant paperweight that can't even be used as a boat anchor, cause I'd be fined for polluting our waterways with electronic devices.
Not as dumb as yesterday, but stupider than tomorrow!
Nice project you have going Demon. I have used this company before at work and have had great results.
Paul
Front Panel Creator - Front Panels![]()
Wow! Those are exactly what I am aiming to get.
Only one question, is that fee just for the designing on Panel Creator, and then a separate fee from Precision Graphics?
I've made contact with a manufacturer in China for something like these, but I haven't sent any models yet for pricing.
Last edited by Demon; - 28th February 2024 at 05:39.
My Creality Ender 3 S1 Plus is a giant paperweight that can't even be used as a boat anchor, cause I'd be fined for polluting our waterways with electronic devices.
Not as dumb as yesterday, but stupider than tomorrow!
Bookmarks