Unless your stepper motor deliberately provides a torque output, I doubt that it will be possible to determine torque just from the stepper drive side.
PeterH you're mistaken, it does exactly that with the specific hardware I mention in the link. The code is on Gist, the discussion here:http://arduino.cc/forum/index.php/topic,85335.45.html
So I always wondered how a CD/ROM tray on a desktop computer worked. When the user pushes on an open tray, the tray closes automatically. On the other hand, if you introduce resistance to the tray when trying to open, it stops and some clse again when detecting resistance (such as the CD being stock or the user's hand).This is EXACTLY what I need for my project. Does anyone know how this mechanism works? is it part of the program or is it a mechanical system?If anyone knows how it works, it will be greatlt beneficial. I believe the tray openers operate with Stepper motors as well.Thank you!
when this load changes, the average value measured at A0 changes too.