Timeline for How to connect a switch to a microcontroller in an extremly noisy environment
Current License: CC BY-SA 4.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 17, 2019 at 21:08 | vote | accept | K. Krull | ||
Jul 17, 2019 at 21:08 | comment | added | K. Krull | Though it's quite some time ago, I really appreciate your answer. Actually, what I have done is a) use 24V across the switch, since then errors are less significant, b) use a current-controlled optocoupler to shift down to 3.3V logic levels and c) use a RC filter just as you described. Maybe you could add that to your answer to make it easier to find that info for others. Anyway, in my opinion this is close enough to what actually solved the problem to mark it as accepted answer. BTW: Seperate calbes are not available since that part of the machine was not designed by me and is a given :( | |
Jul 16, 2019 at 9:55 | history | answered | Barleyman | CC BY-SA 4.0 |