Setting up threading on a Boxford 160TCL lathe
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23170
- Thank you received: 4860
13 May 2021 08:36 #208713
by andypugh
Replied by andypugh on topic Setting up threading on a Boxford 160TCL lathe
The 47 Ohm resistor is part of their response test circuit. It isn't made very clear but the diagram shows a fixed-current 5mA supply input to the LED.
To get a 5mA supply current with a 5V suppy:
V = IR -> R = V/I
Need to allow for the fixed voltage drop over the LED:
R = (Vcc - Vf)/I = (5.0 - 1.1) / 0.005 = 780 Ohms.
(But 680 is a more common size, and is close enough. 1k would probably also work)
Perhaps it is worth getting a starter kit of electronic components? Amazon has this in same-day delivery: www.amazon.co.uk/Electronic-Component-Br...sistor/dp/B08DX9Q49J
To get a 5mA supply current with a 5V suppy:
V = IR -> R = V/I
Need to allow for the fixed voltage drop over the LED:
R = (Vcc - Vf)/I = (5.0 - 1.1) / 0.005 = 780 Ohms.
(But 680 is a more common size, and is close enough. 1k would probably also work)
Perhaps it is worth getting a starter kit of electronic components? Amazon has this in same-day delivery: www.amazon.co.uk/Electronic-Component-Br...sistor/dp/B08DX9Q49J
Please Log in or Create an account to join the conversation.
- rider-83
- Offline
- Elite Member
Less
More
- Posts: 237
- Thank you received: 10
18 May 2021 18:02 #209371
by rider-83
Replied by rider-83 on topic Setting up threading on a Boxford 160TCL lathe
So, the 680r arrived and I've hacked it all together on my test rig using the USB 5v as you suggested.
Success! That USB was a neat suggestion.
Next I need to configure an extra LPT port, then move it over to the lathe
Thanks once again
Success! That USB was a neat suggestion.
Next I need to configure an extra LPT port, then move it over to the lathe
Thanks once again
Please Log in or Create an account to join the conversation.
- rider-83
- Offline
- Elite Member
Less
More
- Posts: 237
- Thank you received: 10
19 May 2021 11:46 #209487
by rider-83
Replied by rider-83 on topic Setting up threading on a Boxford 160TCL lathe
Do I only need the one input ?
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23170
- Thank you received: 4860
19 May 2021 12:00 #209488
by andypugh
Replied by andypugh on topic Setting up threading on a Boxford 160TCL lathe
You can manage it with one input. Three is better.
Please Log in or Create an account to join the conversation.
- rider-83
- Offline
- Elite Member
Less
More
- Posts: 237
- Thank you received: 10
19 May 2021 13:42 #209508
by rider-83
Replied by rider-83 on topic Setting up threading on a Boxford 160TCL lathe
Are you aware of any sample code any where that I can cut/paste & edit accordingly?
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23170
- Thank you received: 4860
19 May 2021 13:51 #209511
by andypugh
Replied by andypugh on topic Setting up threading on a Boxford 160TCL lathe
Please Log in or Create an account to join the conversation.
- rider-83
- Offline
- Elite Member
Less
More
- Posts: 237
- Thank you received: 10
22 May 2021 12:02 - 22 May 2021 13:30 #209831
by rider-83
Replied by rider-83 on topic Setting up threading on a Boxford 160TCL lathe
A bit of frustration here.
I've installed a new PCI parallel port, and the PC BIOS can see it.
I want to collect some more data, so at Terminal I've typed:
lspci -v
but I get 'Command not recognised'
Grrr, what's wrong ?
I've managed to use 'ppdiag' to show me the port information, but it only shows the integrated LPT port, not my additional PCI port.
I've installed a new PCI parallel port, and the PC BIOS can see it.
I want to collect some more data, so at Terminal I've typed:
lspci -v
but I get 'Command not recognised'
Grrr, what's wrong ?
I've managed to use 'ppdiag' to show me the port information, but it only shows the integrated LPT port, not my additional PCI port.
Last edit: 22 May 2021 13:30 by rider-83.
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19486
- Thank you received: 6533
22 May 2021 14:32 #209840
by tommylight
Replied by tommylight on topic Setting up threading on a Boxford 160TCL lathe
sudo lspci -v
Please Log in or Create an account to join the conversation.
- rider-83
- Offline
- Elite Member
Less
More
- Posts: 237
- Thank you received: 10
22 May 2021 14:53 #209841
by rider-83
Replied by rider-83 on topic Setting up threading on a Boxford 160TCL lathe
That was the first thing I tried.
'command not found'
'command not found'
Please Log in or Create an account to join the conversation.
- rider-83
- Offline
- Elite Member
Less
More
- Posts: 237
- Thank you received: 10
22 May 2021 15:55 #209842
by rider-83
Replied by rider-83 on topic Setting up threading on a Boxford 160TCL lathe
I think I may have two issues.
I can use cat /proc/ioports
In the information that this yealds I see:
0378-037a : parport 0 (My functioning on-board LPT port)
also there is
037b-037f : parport 0 (Could this be my PCI LPT port?)
Am I correct in thinking that the system sees two ports but hasn't split them as two and is confused them as one ?
The lack of 'lspci' isn't helping
I can use cat /proc/ioports
In the information that this yealds I see:
0378-037a : parport 0 (My functioning on-board LPT port)
also there is
037b-037f : parport 0 (Could this be my PCI LPT port?)
Am I correct in thinking that the system sees two ports but hasn't split them as two and is confused them as one ?
The lack of 'lspci' isn't helping
Please Log in or Create an account to join the conversation.
Time to create page: 0.088 seconds