Optical sensor to control rotation of a part

I want to put a squarish part in a chuck that is controlled by a stepper motor and have it rotate to the correct orientation based on what the optical sensor tells it. I'm thinking some sort of camera that is controlled by an arduino or raspberry pi might be a start.

Here is a image of what I would like to do https://imgur.com/a/UJWJPqd

Any help pointing me in the right direction or terms I could search for would be a big help.

submitted by /u/m_court15
[link] [comments]

from The ME Hang Out https://ift.tt/2ZegTdP https://ift.tt/eA8V8J

Comments