I want to build simple CNC machine, via reusing printer head, connected to arduino. As per motion its all right: I use L298N dual driver, and can control movement direction and speed via PWM, setting appropriate voltages on the pins.
Question is that I need a coordinate system, and printer head had some plastic PET strip with transparent and black stripes. And I guess, an "opto isolator"? (correct me if i am wrong)
My question is how does it work and how to operate this strip "electronically"?
Should I set or read voltages? What voltage and at what rate? (arduino is a discrete machine, kind of fixed-timestep "adc sampler")
Should I control current, for instance, limit it?
Does that operates like led, or a resistor, or a transistor?
PS: Strip is on the photo below:
opto isolator
..... it is anoptical slot sensor
..... the two are similar in construction, except that an opto isolator does not have a way to block the sensor mechanically .... it is used for electrically isolating the output from the input \$\endgroup\$