Skip to main content

Timeline for Phantom events on Pull-Down Button

Current License: CC BY-SA 4.0

18 events
when toggle format what by license comment
S May 1 at 14:51 vote accept m5c
May 1 at 14:49 answer added m5c timeline score: -1
Feb 22, 2023 at 12:25 vote accept m5c
S May 1 at 14:51
Feb 21, 2023 at 21:29 answer added Milliways timeline score: 0
Feb 21, 2023 at 13:28 comment added m5c I guess I see the main issue now though… I put the ground on the wrong side of the switches. The GPIOs are not connected to ground in default button state. I guess that’s why you meant by « subject to interference » ? @Milliways See: raspberrypi.stackexchange.com/a/69475/152237
Feb 21, 2023 at 12:53 comment added m5c Thanks, updated the image for a schematic. I also listed the code for the handlers, which was further down in the linked python script. @Milliways the reason for using a pin as power is that the device also contains a stepper motor and a display and I was running out of pins. Could you elaborate why it is not recommended to use a GPIO as power supply?
Feb 21, 2023 at 12:49 history edited m5c CC BY-SA 4.0
added 2 characters in body
Feb 21, 2023 at 12:48 history edited m5c CC BY-SA 4.0
added 18 characters in body
Feb 21, 2023 at 12:47 history edited m5c CC BY-SA 4.0
added 266 characters in body
Feb 21, 2023 at 12:39 history edited m5c CC BY-SA 4.0
added 4 characters in body
Feb 21, 2023 at 12:38 history edited m5c CC BY-SA 4.0
deleted 27 characters in body
Feb 21, 2023 at 12:38 history edited m5c CC BY-SA 4.0
added 579 characters in body
Feb 21, 2023 at 12:10 comment added joan It's not clear why you are powering from a GPIO. Why not use a 3V3 pin? Also it's not clear if the buttons are defaulted high or low. A proper schematic would clarify the situation.
Feb 21, 2023 at 12:10 comment added Milliways It is far from clear what you have done. Draw a proper circuit not pictures of buttons. As far as I can see the buttons are using internal pull down which is subject to interference and for some bizarre reason using another pin for power. But no code to actually DO anything.
Feb 21, 2023 at 12:05 history edited m5c CC BY-SA 4.0
added 1 character in body
Feb 21, 2023 at 11:55 history edited m5c CC BY-SA 4.0
deleted 1 character in body
S Feb 21, 2023 at 11:55 review First questions
Feb 22, 2023 at 12:32
S Feb 21, 2023 at 11:55 history asked m5c CC BY-SA 4.0