News for hackers. Stuff that matters.
Re:A Guide to Debouncing, Or, How to Debounce a Contact, by ... by theamk on Wednesday January 08, 2025 @12:25PM (#42636390)
that seems like a real overkill - it's a full-blown RS232 receiver _and_ transmitter, including two DC-DC converters (with inductor and capacitor) that you don't even use... Also, "R_IN absolute max voltage" is +/- 25V, so I really would not use this in 24V system.

If you want slow and reliable input for industrial automation, it seems much safer to make one yourself - an input resistor, hefty diode/zener, voltage divider, maybe a schmitt trigger/debouncer made from opamp if you want to get real fancy.

Re:A Guide to Debouncing, Or, How to Debounce a Contact, by ... by Certified on Wednesday January 08, 2025 @01:49PM (#42637217)
Thanks for pointing that out. I realized I called out the wrong chip. I was actually trying to call out the Max6818.
Re:A Guide to Debouncing, Or, How to Debounce a Contact, by ... by theamk on Wednesday January 08, 2025 @03:53PM (#42638325)
That's a neat chip, especial max6816/max6817 version in SOT23 package!

but yeah, very expensive for what it does. If my MCU was really short on interrupts, I'd go with I2C bus expander with 5v-tolerant inputs and INT output - sure, it needs explicit protection for 24V operation, but it also only needs 3 pins and 1 interrupt.