So I’m making my first attempt at a PCB using EasyEDA. Most of it is straightforward but I’m wondering if anyone here can help me with two parts of the design.
The first part (left side of attached image), is the barrel connector for the power source. This will be powered by a 5v switching power supply. What size capacitor is generally used for stability? The power supply will also be powering an 8-relay board and two DFPlayer MP3 boards.
The right side of the diagram shows my button config. Instead of a button, there is a screw terminal and a long wire with a button will be connected through that. The button could be up to 15 meters away, so I’ve tried to use a capacitor and a resistor to clean up the signal. Unfortunately, I’m not able to use a twisted pair because the wire has already been run. The code will also implement software debouncing.
I’m open to any suggestions, as I’m very new to this. Thanks.