06-24-2020, 08:51 PM
@waffle
Some random thoughts.
Regards,
Kent
Some random thoughts.
- If you are seeing spurious behavior during startup, then you need to devise a test which executes during startup, not a test which is run manually after everything has initialized.
- GPIO 3 is also used in I2C communications. I'm just saying....
- From my reading, GPIO 3 includes an internal 1.8 kohms pull-up to 3.3v., so telling the software to pull it high is effectively a "no op".
- How big is that capacitor you wired between GPIO 3 and ground? (Because of #2 you have created an RC-network.)
- How long are the wires connecting it to the GPIO pin and to ground? Did you wire directly to a GND pin on the RPi or somewhere else.
- As above, how long are the wires connecting the switch to the GPIO pin and to ground? Did you wire directly to a GND pin on the RPi or somewhere else.
- How are you triggering the relay which turns on the amp? How have you made certain the flaw doesn't lie in this portion of the circuitry and software rather than in the input-button portion?
Regards,
Kent