Hi, I don't know if it is possible and I haven't found anything about it. I would like to know a code that makes a stepper motor stop if it detects 5 lbs of force, i.e. it would not be necessary to include a presence sensor if a hand gets in the way of the stepping path.
Like this thread, you’re probably looking in the wrong places.
Your topic was MOVED to its current forum category which is more appropriate than the original as it has nothing to do with Installation and Troubleshooting of the IDE
You will need some sort of "force detector". The motor can't do that.
If you provide some useful details about your project, forum members will be able to make useful suggestions.
Learn about stepper motors and how to control them with Arduino. Try a search for "stepper motors arduino tutorial". Here is one to start with: Stepper Motor Basics
Learn how to use a load cell and read it with an Arduino. Try a search for "load cell arduino tutorial" Start with: Arduino with Load Cell and HX711 Amplifier (Digital Scale) | Random Nerd Tutorials Or use your favorite force measuring device. Forget about using a force sensitive resistor. They are not accurate, linear or repeatable.
Use a comparison (if structure) to compare the measured force to 5lbf. Stop the stepper movement if the measured force exceeds 5lbf.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.