I finally started wiring up the Monocle. I’m prototyping the control board setup on a piece of masonite. I drilled 4mm holes to mount it to the extrusion with M4 drop-in T-nuts. I drilled 2mm holes in the masonite matching the M3 mounting patterns in the boards, and then ran an M3 tap through the holes. It’s good enough to hold a screw in place. Then I cut off ~5mm sections of 1/4" vinyl tube as standoffs. Unusual and unorthodox, but…
With the two Tarocco servo control boards and Bart Dring ESP32 controller board mounted, I wired it all up. The Tarocco boards take STEP/DIR, so I made JST-PH-6 (2mm pitch) to dupont male harnesses for STEP/DIR on one side of the step sticks, and GND/5V on the other, ignoring the rest of the positions. I hooked up X and Y limit switches with a few dupont female connections. I connected the encoders from the servos which required making JST-PH-4 harnesses. I hooked up a MeanWell 24V power supply to the barrel jack on the ESP32 CNC board and each of the servo boards using bootlace ferrules, and connected the motor power wires also with bootlace ferrules. I put a fused C14 plug on the supply side of the MeanWell.
Using dupont, JST PH, spade connectors, and bootlace ferrules meant that I had to use four different crimping tools. This is the geek life!
This wiring looks so ugly that I didn’t bother taking a picture; it’s meant just to let me try out this board. I’m expecting to migrate to a different board soon.
I watched my DHCP server to see what IP address the ESP32 would come up on, so that I could connect to it and configure the system. However, the ESP32 never seemed to request a DHCP address, so I thought I’d look for debug messages via USB. I connected the ESP32 usb port to my laptop, and my laptop screen instantly went black and the fan started going full speed, and the power button did nothing even when I held it down for 15 seconds. This was scary; this is a relatively new laptop, only two years old, and I really really don’t want to buy another one… Fortunately, the reset button worked and the laptop is back, but now I’m reconsidering my choice. I think I need to pull the ESP32 dev board out of the carrier and take this one step at a time. And maybe I’ll connect it to a different computer first.
My hope was to quickly get to running gcode just to move the X and Y axes, but that’s looking less likely now.