opulo-inc / feeder

Source for LumenPnP Feeders
GNU General Public License v3.0
77 stars 31 forks source link

Filter user input switch signals #20

Open unpaid-bill opened 1 year ago

unpaid-bill commented 1 year ago

Version Number

1.0.1

Bugfix or Enhancement

Enhancement

Description

The user input switches could use some filtering between the physical switch and the micro. This filters the high frequency content from the switch event from reaching the micro, and debounces the signal. The schematic symbol for the switches should also be updated to be an actual switch symbol. Right now it is a generic connector. image

Suggested Solution

An RC filter on each switch signal is pretty easy to add. A simple 100R/100nF would probably do just fine.

sphawes commented 1 year ago

Thanks for the note @unpaid-bill! I agree, would be good to add this. I believe we're doing some software debouncing in Photon that would be nice to remove. We're very tight on available board space, so ill try to squeeze these in after other board edits are made for this rev. And agreed, a proper symbol should be used for the buttons!