I am working on a device that requires a motor to stop a small load every 15* in rotation, fairly accurately. On a hunch, I bough a very small gear reduction DC motor and determined that the gear reduction will indeed give enough resistance to position the load accurate enough for my needs.
That means I still need an accurate way to tell the micro controller when to stop. I am honestly VERY new to MCs and this will be my first MC project. I just want SIMPLE, but I am also trying to stay away from a mechanical switch that might fail.
I already have a rotating device mounted to the motor so my thought was to add something to the device to pass through the interrupter. I have never used one and not sure if this is the right way to go. I was going to just add bolts or something that could pass in the center of the sensor but not sure if that will work right and there is some risk of the bolts striking the sensor and ruining it.
I also noticed the reflective interrupters and not sure if you just add a mirror and they have an LED and sensor? Not sure if that could work here or not.
So my questions might mostly pertain to understanding the "logic level" interrupter as well as ideas on stopping my load now that I might have a solution for the motor.
That means I still need an accurate way to tell the micro controller when to stop. I am honestly VERY new to MCs and this will be my first MC project. I just want SIMPLE, but I am also trying to stay away from a mechanical switch that might fail.
I already have a rotating device mounted to the motor so my thought was to add something to the device to pass through the interrupter. I have never used one and not sure if this is the right way to go. I was going to just add bolts or something that could pass in the center of the sensor but not sure if that will work right and there is some risk of the bolts striking the sensor and ruining it.
I also noticed the reflective interrupters and not sure if you just add a mirror and they have an LED and sensor? Not sure if that could work here or not.
So my questions might mostly pertain to understanding the "logic level" interrupter as well as ideas on stopping my load now that I might have a solution for the motor.