by spumco » Sun Feb 05, 2017 5:43 am
If you open the instruction manual from the two boards I suggested the input frequencies are listed. The maximum input frequencies are specified pretty clearly and both of them are significantly faster than what you'd need for threading.
Remember - the board will NOT be advertised as having "encoder inputs" or anything like that. If you're searching for a BOB using "encoder" or other search terms, you probably aren't going to find anything. The encoder signals will be handled just like any other on/off input signal - like limit switches, or buttons, an so forth. You just need the board to accept inputs, at the voltage your power supply will produce (usually 5vdc, sometimes 12 or 24vdc) and the rest of your system uses.
If you're considering a particular breakout board, just check the specifications before you buy it. If there are no specifications listed or available I'd suggest avoiding it even if the price is very low.
My next question is - don't you already have a breakout board? If you have motion control on your lathe - i.e. steppers or servos moving the X&Z axis, then you already (probably) have a breakout board. If this is the case, then you just need three available input pins and your existing board should work fine.
If you don't already have motion control on your lathe, are you just trying to find a board to start a CNC project from scratch? Because just about any board will work with the encoder inputs because the speed you'll be threading will be very slow. Even if the board isn't fast enough to keep up at higher spindle speed, what do you care about accurate spindle speeds at 3000rpm?
If you want an A/B/Z encoder on your lathe to do threading, the cheapest way to do it is like this:
1. Buy one of those boards I mentioned, or another one with published specifications. Really, they're only $28! The input signal maximum frequency should be 100k or higher (which is pretty low, to be honest)
2. Buy an encoder with A/B/Z signals. Balazs has mentioned a company that has extremely inexpensive, yet high quality, encoders. Hopefully he can chime in with the specifics.
3. Attach a pulley to your lathe spindle, outboard side. You can buy aluminum timing pulleys cheaply, and since you have a lathe you can bore the pulley out for a tight fit on the spindle. Lock it in place with a set screw or similar.
4. Attach another (same size/tooth) pulley to your encoder. Mount the encoder on the lathe housing in back and in line with the spindle pulley and connect with a belt.
5. Use a toothed timing belt to eliminate slippage and to reduce the need for high belt tension.
6. Connect the encoder to the BOB; input pins are dependent on your BOB. Power it from your power supply, assuming the encoder your bought will accept whatever voltage your electronics/BOB are using. If your BOB accepts 5v inputs, buy a 5v encoder.
7. Configure up UCCNC such that the encoder and index signals match the pins on your BOB. You can turn the spindle by hand and watch the LED's on both the BOB and in UCCNC diagnostics light up appropriately.