You should not update on every step as that could burn out the EEPROM (it's only rated for ~1million erasures and you can easily reach that if you write it on every step). But writing once every 10 seconds or so should be fine.
Found an interesting way to keep track of number of turns/position.http://www.migamotors.com/Media/MigaOne-Arduino-v2c.pdfFrom what I understand, a pot shaft is coupled to the motor. Voltage drop across pot is fed back to arduino through a ADC that translates to a value between 1 to 1023 and that gives the motor position. Am I understanding is correctly? Sorry, not really an electronics person, though can write C/perl Does this look like a practical solution? Only hitch is my capacitor shaft turns 73 times between it's lowest and highest capacitance
Only hitch is my capacitor shaft turns 73 times between it's lowest and highest capacitance
From it's lowest to highest capacitance, the capacitor goes through several turns.
Use gears!Use a couple of gears between the capacitor knob and the potentiometer to reduce the number of turns. Then you can use a 10-turn potentiometer (which are fairly easy to find) and read it via analogRead().
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16