I’m removing the stock controller board. The proprietary software is terrible. It is getting replaced with the Open Source RapRep RAMPS G-Code controller. Thanks to the customized Marlin firmware by TurnkeyTyranny, this gives us several new advantages:
- open source software chain (thanks again to TurnkeyTyranny and the Inkscape G-Code Export Extension)
- programmatic control over the laser output power (ditching that terrible manual pot)
- A slick new LCD control panel I’m surprised I’ve not seen this elsewhere, but I plan to use a thermistor in my coolant tank to monitor the coolant temperature. Hopefully I can hack the firmware to stop firing the laser if the tank temperature rises beyond the set threshold.
I ordered a new ribbon connector and made a new transfer cable to connect to the RAMPS pins. I was too impatient to design and order a wiring harness board, so I just soldered the cable right to the pins on the connector. I covered the contacts with some Liquid Electrical Tape.
Below is a diagram of the wiring. Thankfully this was my exact power supply, so I didn’t have to get creative. Now, on the RAMPS, the servo pins are marked 2B 2A 1A 1B and the diagram has A- A+ B- B+. Here is the translation:
<br></br> A- -> 2B (ribbon cable pin 9)<br></br> A+ -> 2A (ribbon cable pin 10)<br></br> B- -> 1A (ribbon cable pin 11)<br></br> B+ -> 1B (ribbon cable pin 12)<br></br>``` It’s also not very clear on the diagram, but the XHOME goes on the first Signal pin on the endstop header and YHOME goes to the third signal pin. Even though it shows the 5v and GND going to the AUX-3/SPI header, you can use any 5V/GND connections on the other AUX or SERVOS header blocks. The Y stepper cable connects the following colors to pins:
</br> red -> 2B
</br> blue -> 2A
</br> white > 1A
</br> yellow -> 1B
I’m borrowing this photo from TurnkeyTyranny’s git repo and putting this here so I can find it later:
This is not the greatest photo, but some of the wiring choices can been seen here:
I made sure to test the steppers and homes before I even hooked up the laser fire and PWM controls to the RAMPS board. Once everything was moving as I expected, it was time to test the laser! Something about this screen preparing to push the button had me feeling like a mad evil genius set to take over the world: “FIRE ZEE LAZOOR!”
As you can see by the burn, the initial tests were a success:
Now its time to mount the board and get the wiring cleaned up to make room for more upgrades!