My local makers group (Hobart Makers) has a K40 that we are about to perform some long overdue maintenance on - plus a few upgrades.
It runs a Protoneer Rpi-CNC on a Raspberry Pi 3B+ running Laserweb3. An upgrade to laserweb4 was planned 12 months ago but there were unresolved issues with it working correctly via browser interface (since fixed I believe)
To get the Protoneer board to work with the opto end switched, a circuit was designed to add some buffering/inverters. This works well but was done using a perfboard as a ‘temporary’ measure - 4 years ago!. A proper PCB has been designed to interface the flat cable to the Rpi-CNC board, power supply etc. The temporary fix ended up with the ribbon cable being soldered and it needs replacing. No one seems to have a source for this cable but I have found an Aliexpress store that will make a few to the correct length.
My question (finally!) is “How long is this cable?”
Other upgrades will be to add interlocks, a 24V power supply with 5V for the Pi, relocating the mains power switch to the side of the cabinet and inprovements to water cooling and air asist. Both of these last two items are working but are noisy!
Your right I have never been able to source this cable.
I think it is 24" but I will have to pull mine out to check.
Is there no way to measure the one in your machine?
The machine is at my local makers about 60km away and I won’t be back there until Tuesday but I guess it can wait.
I have been communicating with an Aliexpress store that carry the correct cable but in shorter lengths but they seem willing to make up longer ones but I need to tell them how long. They can also supply a PCB to go from the FFC cable to standard headers which would be handy as the interface board that the maker group has created to sort out the opto end stop issues does not have an FFC connector.
These are three parts that we have not found sources for. It would be awesome if we found some source for these.
X & Y Endstop daughter cards
46" 1.25mm 12 positions flat cable
8" 1.25mm 6 positions flat cable
It also would be nice to have a PCB for adding interlocks to a machine. I have a design that is on vector board but never had the motivation to create a PCB as mine works fine. Don's Laser Things: Search results for interlocks
section from my blog
FFC Cables
1x 12 position FFC. 1.25mm ribbon 46" long
12" Purchase, Data SheetNote: would need to piece together and min order qty =1000
Don, thanks for the measurement 1200mm! I’ve asked the supplier but not sure if I’ll get an answer before Monday.
I did read about the middleman board on your blog but found out that one of the makerspace members had designed a board to connect the gantry PCB (via the FFC) to the stepper driver and Protoneer RPI board that piggbacks onto the Raspberry Pi and runs grbl. Genuine Protoneer Raspberry Pi CNC hat v2.60 - GRBL v1.1 Compatible | eBay.
As i mentioned, the PCB also contains a hex inverter to correct the levels from the opto interrupters. There’s a couple of leds to display end stop status. The FFC cable we have, has been soldered to hence my search for a replacement. Ths short wires on the FFC are connected to screw termnials on the PCB. I’ve spoken to the desginer and askd for a version that the FFC can conect directly to, awaiting an answer. I should check if the board is open source as it could be useful for other.
Don, One thing I can’t tell from your photo of the FFC is whether it’s a reversed (type 2 or D) i.e contacts on opposite sides of the cable at each end.
6 pin, 1.25 pitch FFC seem to be readily available for about $A6.
Good News!
Just got a reply back from vendor and they can supply the required cable in quantities of 10 for $2.50/ea + shipping ($8 in my case to Oz). Still waiting for a quote on qty 100 but I don’t imagine it will be any cheaper per cable.
I’m willing to be a guinea pig and order some to try out. I don’t think there will be any advantage in a bulk order, it will be better for people to order directly (assuming they are OK) Just need a confirmation that it is a b-type cable (i.e. reversed connections.
Can someone confirm whether the FFC cable is type A or type B (crossover)?
I’ve placed an order for the type B but can change this IF I can let them know soon.
I won’t have access to a K40 until Tuesday.
URGENT
While I don’t have a K40 to check, can you show pictures (maybe screen grabs from the seller) to show the difference, so that someone with a K40 can confidently understand and answer?
Stock k40 with m2 board here. Connections at both ends are on the top of the cable.
[Edit: Nevermind, ignore this part, it’s not true]
But with the cable making a left turn as soon as it comes off the board you could just as easily roll it the other direction and use either cable type.
If the connections are on the same side of the cable, it’s a type A and if the connections are on opposite sides of the cable, it’s a type B. Sorry if I didn’t make this clear. I don’t know which is the correct one for the X40 as I can’t examine it.