-
24-11-2012 #1
Hello all,
It's been a while since I was last here...
I'm in a world of hurt trying to wire up some form of spindle speed detection for a lathe.
I've got some Darlington photointerruptors (KTIR0121DS) which I think are the right thing for the job. I want to power them from a 5V supply, and sense the outputs on inputs to a parallel port (the PCPPS breakout board from DIYCNC).
Can anyone suggest the right circuit and resistor values for this?
I've made 3 versions now, and all of them seemed to work OK (swing from 0.6V to 5V when interrupted) until connected to the parallel port inputs. Once connected though the voltages were different, and only moved around 0.2V when interrupted, which is not enough to change the inputs.
I'm clearly doing something wrong, but after 3 attempts to start from scratch and recalculate, I haven't got things running...
Can anyone help?
-
24-11-2012 #2
Here's the circuit I've arrived at. The resistance values are 100 ohm for the led, and 6800 ohm for the sensor. The signal gets connected to the parallel port.
What am I doing wrong?:thumbup:
-
24-11-2012 #3
Here's a link to the datasheet:
KTIR0121DS datasheet pdf datenblatt - Kingbright Corporation - PHOTO-INTERRUPTER ::: ALLDATASHEET :::
Any pointers would be massively helpful...
-
24-11-2012 #4
have a look here.
Need Encoder for threading
-
24-11-2012 #5
Thanks for that. I've bitten the bullet and ordered some Optek OPB916B. It seems the processing circuitry is included, so should make life easier...
-
24-11-2012 #6
cncdoctor makes an index pulse board which is perfect for this, but last time i looked he was out of stock.
-
24-11-2012 #7
I recon those bits will do it... The cncdoctor board looks the business, but in the fullness of time I'm going to want spindle index, spindle pulse, x home and z home, so i was trying to do it simply and cheaply.
Back in the day I'd have sorted that KTIR0121 circuit in my sleep. All forgotten!
-
24-11-2012 #8
i've used his board and it works well, but all you need is the sensor and the correct limiting resistor.
-
27-11-2012 #9
Well, that was remarkably easy! 3 resistors, 3 sensors, a case, and an ethernet socket to carry the signals back to the control box. All working happily.
The only problem is I fried 2 inputs on the bob during my misadventures. Are there any options out there other than the diycnc bobs?
-
27-11-2012 #10
Worried about saying the obvious.... but have you ever used an Arduino? If I were doing what your doing; my initial tool would be an Arduino...
Apologies in advance if that is a useless comment.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
FOR SALE: pdmx 107 spindle speed control board
By dazza in forum Items For SaleReplies: 0Last Post: 08-05-2014, 02:58 PM -
Spindle Speed Control
By cncJim in forum Spindles & Drive MotorsReplies: 15Last Post: 18-06-2013, 07:53 PM -
High speed spindle for Sieg X1
By ecat in forum Spindles & Drive MotorsReplies: 8Last Post: 29-03-2012, 08:56 AM -
Spindle Speed Measurement
By clockmaker in forum Spindles & Drive MotorsReplies: 2Last Post: 04-12-2010, 11:38 PM -
High speed spindle
By leadinglights in forum Tool & Tooling TechnologyReplies: 0Last Post: 27-04-2010, 09:23 PM
Bookmarks