I've used analog and digital input for a multitude of applications with the Arduino Uno board. It has continuously given extremely non reliable readings, where the analog input is always fluctuating, or digital read will read true even if it isn't connected to anything. Is there a way when connecting to a digital or analog input pin that will eliminate that problem? Like a capacitor? I'm not very well versed in electronics, I understand basics on transistors, diodes, resistors, etc... But I don't know much about eliminating electrical signal noise. I feel that with so many false positives my ability to create more complex projects is completely shot.
Any suggestions on eliminating all the extra false positives/noise when receiving Analog/Digital Input on an Arduino Uno?