TransWikia.com

Detect treadle press

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.

One Answer

Purchase a proper footswitch unit. You need to decide your specifications:

  • Momentary action or latched.
  • Normally open (NO), normally closed (NC) or changeover. The latter gives you options.

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

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP