Outputs triggering twice? #315

Open
opened 2020-04-27 01:18:17 +01:00 by 1Ghasthunter1 · 2 comments
1Ghasthunter1 commented 2020-04-27 01:18:17 +01:00 (Migrated from github.com)

Just installed enclosure plugin, and am running switch that is 5V when filament is in, GND when out. Enclosure picks up the signal and executes my output, which does the following:

M117 Message1
G28
M117 Message2
G4 S1

However, the output sequence gets triggered twice. What could be happening?

Just installed enclosure plugin, and am running switch that is 5V when filament is in, GND when out. Enclosure picks up the signal and executes my output, which does the following: ``` M117 Message1 G28 M117 Message2 G4 S1 ``` However, the output sequence gets triggered twice. What could be happening?
vitormhenrique commented 2020-05-26 21:47:09 +01:00 (Migrated from github.com)

maybe switch is having some bouncing issues? maybe triggering on rising and falling edges?
not enough information to help out, sorry...

maybe switch is having some bouncing issues? maybe triggering on rising and falling edges? not enough information to help out, sorry...
mrwizerd commented 2020-07-14 00:51:22 +01:00 (Migrated from github.com)

You could possibly add a debounce circuit on the switch to deal with the issue. This is a common problem with switches, you could probably look up debounce on google to see if something there might solve the issue.

You could possibly add a debounce circuit on the switch to deal with the issue. This is a common problem with switches, you could probably look up debounce on google to see if something there might solve the issue.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Gandalf/OctoPrint-Enclosure#315