On 11 February 2014 08:59, Russell Brown <[email protected]> wrote: > > Mesa 5I25/7I76 with 12V field power and the optical switch is an Optek > OPB830L51
The 7i76 has encoder connections provided on TB3. If you only want spindle speed and you are not bothered for rigid tapping etc, then you would connect the A-channel only and set the encoder in counter mode. This assumes that you are not already using the encoder for something else. There is probably a clever way to connect the phototransistor to the A-channel as a differential signal, but I will let someone cleverer than me answer that part. There is an encoder 5V output on TB3 too, so you might as well use that. Working on 20mA for the LED and 10mA for the phototransistor connect TB3 pin 6 (5VP) to a 220R resistor and then to OPB 2/red. Connect TB3 pin 6 (5VP) also to a 470 R resistor and connect that to TB3 pin 7 (ENC A+) then from there to OPB pin 3 (white). Connect OPB 1/black and 4/green together and back to TB3 pin 9. Set the encoder to single ended mode (W4, W5, W6 to the left) and in HAL set the encoder to counter mode. I sketched this using a cool tool on the Digikey site, then found that you need a Digikey account to share schematics, so here it is on imagebin. http://imagebin.org/292721 -- atp If you can't fix it, you don't own it. http://www.ifixit.com/Manifesto ------------------------------------------------------------------------------ Android apps run on BlackBerry 10 Introducing the new BlackBerry 10.2.1 Runtime for Android apps. Now with support for Jelly Bean, Bluetooth, Mapview and more. Get your Android app in front of a whole new audience. Start now. http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
