SparkFun Forums 

Where electronics enthusiasts find answers.

General project discussion / help
Did you make a robotic coffee pot which implements HTCPCP and decafs unauthorized users? Show it off here!
By rudyeb
#197927
Would someone be so kind as to show me the wiring and the coding to be able to set up a laser emitter + receiver. I am needing to use a laser beam to locate the proper position of a thru hole in a ABS black plastic part. The beam would bounce off the slowly revolving part until the thru hole is in direct line with the beam allowing the beam to go thru the hole and hit the emitter behind the hole. Once the light is detected the revolving of the part stops.

I just want to see if the emitter + receiver can do this and how accurately it does so. I will rotate the part by hand to test.

My laser emitter is a Keyes KY-008 and my receiver is Banggood Laser Receiver Module Non-modulator Tube Laser Sensor Module. My board is a Uno.

Any help is sincerely appreciated