Does anyone know tell me what are the values ( vcc , gnd and outputs ) this sensor was removed old printer hp
The photo shows the copper side of a printed circuit board, not an encoder.
Here's the photo attached to the top post so others don't have to download it to view it.
jremington:
The photo shows the copper side of a printed circuit board, not an encoder.
I'm guessing the PCB has an encoder on the other side.
The second conductor from the top is probably Vcc. Ground is the bottom conductor. The other two are signals.
It's possible I have Vcc and ground swapped but I doubt it. To be sure you could test the LED (bottom two pins). The anode is likely on the right and the cathode on the left. You could use a diode tester to make sure this is correct.
Thanks for the help DuaneDegn, based on your tip could perform some tests successfully . I am using 3.3v vcc when I turn the drive the LEDs flash.
int PDum = 8;
int PDdois = 9;
int Lum = 13;
int Ldois = 12;
void setup() {
pinMode(PDum,INPUT);
pinMode(PDdois,INPUT);
pinMode(Lum, OUTPUT);
pinMode(Ldois, OUTPUT);
}
void loop() {
digitalWrite(Lum,digitalRead(PDum));
digitalWrite(Ldois,digitalRead(PDdois));
}
obs: not sure about the voltage vcc but I'm used 3.3v for now is working.
Attached is the encoder wiring diagram test.png
jabiraka1:
obs: not sure about the voltage vcc but I'm used 3.3v for now is working.
That's great it's working.
Can you find any part numbers on the encoder? If you had the part number you could look up the datasheet to learn the correct value of Vcc.
The encoder has only two numbers 80060 and 01120 did not find the datasheet it. I ended up rising to 5v still worked perfectly . One solution would be direct measure in the printer, but unfortunately I have only some parts tried going to a maintenance shop however did not get any information.
jabiraka1:
The encoder has only two numbers 80060 and 01120 did not find the datasheet it. I ended up rising to 5v still worked perfectly . One solution would be direct measure in the printer, but unfortunately I have only some parts tried going to a maintenance shop however did not get any information.
I think it would be a great sensor for trying to precisely control a motor.
I'm not sure what having a datasheet would change? You have a working quadrature encoder. Can you mount it on a motor?
Try Kodenshi. Not exactly but looks like http://www.kodenshi.co.jp/products/pdf/sensor/encoder/KE-2_19.pdf.
Sorry the link above is dead now. Try this one: KE-2-19 Datasheet(PDF) - KODENSHI_AUK CORP.