Engineering Asked by Doua Ali on January 17, 2021
I need to detect if a foot treadle has been pressed and send a signal to a Microcontroller unit notifying of that press. What is the best method to achieve this? What kind of sensor can be used and how? I thought of a push button being placed under the treadle, would this work?
Thanks very much.
Purchase a proper footswitch unit. You need to decide your specifications:
Program your microcontroller with a pull-up on the input. Wire your switch from the input to ground so that it pulls low when pressed.
You might need to debounce your microcontroller input either in hardware or in software. There are thousands of articles on how to do this and a web search should quickly give you a suitable approach.
Answered by Transistor on January 17, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP