1. For this project the core is a state-machine for which I think the code will all be sequential but is there a time clock interrupt for implementing a time sliced process?
2. Can you suggest a motor or what do I need to consider.
I need to be able to drive a motor to rotate in fixed 60 deg (or multiples thereof and forwards or backwards) but no more than 360 deg in one movement. A movement needs to be complete in about 0.1 second. The item it is driving is a hollow cylinder about 40mm in diameter and weighing about 120gm. I'm happy to pay for something reliable.
3. I bought the LDR because I need to identify whether there is a threshold of light in 4 places. My first thought is to link each one up to a digital input. But is there a better way of doing this? I did wonder if I could get the input as a bit set binary number.
2. Time slicing. I don't need it for this project. The sort of reason for thinking about it is: a process which is controlling motion and needing to check every 1/10 sec for inputs on any sensor.
come up with some sort of mechanical drive system that moved in increments of 60 degrees
So what is it you are really trying to do?.
Don't talk about "time slicing" or FSM's and such. State your real goal, no buzz words, no star trek style techno bablle just plain English. If you get rid of the rubbish that you don't understand and we think is boring then maybe we can help you.Mark
On the subject of timeslicing this article explains it reasonably well
Personally, given the requirements, I would think that a reasonably gutsy stepper motor would be the easiest solution. 600 rpm isn't CRAZY fast, but it's not unreasonable either. Sixty degrees is just 1/6 rotation... So that isn't a huge deal. Reasonably high torque is easily done with a stepper, and they can be very fast....
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