I build my first MPCNC last weeks und got my Jackpot3 from Elecrow before christmas. Last week I flashed the board as described in the Jackpot3 docs. Everything went as expected with the flashing process.
Today i wanted to make the first movement tests so I wired everything up und plugged in the power (24V to the Jackpot3 power input), but nothing happened and I could not connect to the Jackpot3 via browser, like I could, when I was flashing it. Then I noticed, that the 5V LED on the board wasn’t light up (like it was when flashing the ESP via USB-C port). So I additionally connected my laptop to the usb port and the 5V LED now lighted up and I could connect to FluidNC via my browser.
While/after flashing the ESP with FluidNC, there was the initial error because of no external power to the drivers. This error did now disappear, so I thought everything is fine now and I tried to move the steppers. But sadly there was no reaction or movement when I tried. The axis position indicators in FluidNC did show the new position but there was no real movement.
So now my (maybe bit dumb) questions are:
Is it correct, that I have to put extra 5V power to the esp module via the usb-c connection and there is no internal power supplied to it by the Jackpot3 or do I have missed some configuration for it?
If everything’s fine with the Jackpot3’s behavior, is there another possible reason why there can be no reaction by the steppers?
Here is the picture of the wiring (sorry since I’m new to the forum, I can’t post a picture directly nor the link to the upload - so here is the link (without https) to the picture uploaded on imgbb com for copy&paste ):
ibb.co/dsfkR1Xt
I just wired it temporarily to check if everything is working correct, before doing the final wiring at the MPCNC, since I want to build an enclosure around it. Every stepper is directly connected to the Dupont Plugs on the Jackpot3, the 24V power supply is connected to the power input of the board and to a 24V case fan. Power is on while I took the picture. The onboard 5V LED is off and only lights up if I connect 5v power to the usb port.
Are there some testing points on the board to check if the 24V-5V DC-DC regulator is working correctly?
I measured the voltage of the power supply at the screws of the screw-terminal plug, it is 24.04V.
The output of the $SS command in FluidNC gives me this:
[MSG:ERR: sdmmc_card_init failed code 0x108]
<Idle|MPos:0.000,0.000,0.000|FS:0,0|Pn:XYZ>
<Idle|MPos:0.000,0.000,0.000|FS:0,0|Pn:XYZ>
<Idle|MPos:0.000,0.000,0.000|FS:0,0|Pn:XYZ>
<Idle|MPos:0.000,0.000,0.000|FS:0,0|Pn:XYZ>
<Idle|MPos:0.000,0.000,0.000|FS:0,0|Pn:XYZ>
$SS
[MSG:INFO: FluidNC v3.9.9 github com/bdring/FluidNC]
[MSG:INFO: Compiled with ESP32 SDK:v4.4.7-dirty]
[MSG:INFO: Local filesystem type is littlefs]
[MSG:INFO: Configuration file:config.yaml]
[MSG:INFO: Machine LowRider]
[MSG:INFO: Board Jackpot3 TMC2226]
[MSG:INFO: UART1 Tx:gpio.16 Rx:gpio.4 RTS:NO_PIN Baud:115200]
[MSG:INFO: I2SO BCK:gpio.22 WS:gpio.17 DATA:gpio.21Min Pulse:2us]
[MSG:INFO: SPI SCK:gpio.18 MOSI:gpio.23 MISO:gpio.19]
[MSG:INFO: SD Card cs_pin:gpio.5 detect:NO_PIN freq:20000000]
[MSG:INFO: Stepping:I2S_STATIC Pulse:2us Dsbl Delay:0us Dir Delay:1us Idle Delay:255ms]
[MSG:INFO: User Digital Output: 0 on Pin:gpio.26]
[MSG:INFO: User Digital Output: 1 on Pin:gpio.27]
[MSG:INFO: User Digital Output: 2 on Pin:gpio.0]
[MSG:INFO: User Digital Output: 3 on Pin:gpio.2]
[MSG:INFO: Axis count 3]
[MSG:INFO: Axis X (3.000,1223.000)]
[MSG:INFO: Motor0]
[MSG:INFO: tmc_2209 UART1 Addr:0 CS:NO_PIN Step:I2SO.2 Dir:I2SO.1 Disable:I2SO.0 R:0.110]
[MSG:INFO: Neg Limit gpio.25]
[MSG:INFO: Motor1]
[MSG:INFO: tmc_2209 UART1 Addr:3 CS:I2SO.14 Step:I2SO.13 Dir:I2SO.12 Disable:I2SO.15 R:0.110]
[MSG:INFO: Neg Limit gpio.35]
[MSG:INFO: Axis Y (3.000,2443.000)]
[MSG:INFO: Motor0]
[MSG:INFO: tmc_2209 UART1 Addr:1 CS:NO_PIN Step:I2SO.5 Dir:I2SO.4 Disable:I2SO.7 R:0.110]
[MSG:INFO: Neg Limit gpio.33]
[MSG:INFO: Motor1]
[MSG:INFO: tmc_2209 UART1 Addr:3 CS:I2SO.19 Step:I2SO.18 Dir:I2SO.17 Disable:I2SO.16 R:0.110]
[MSG:INFO: Neg Limit gpio.34]
[MSG:INFO: Axis Z (-147.000,3.000)]
[MSG:INFO: Motor0]
[MSG:INFO: tmc_2209 UART1 Addr:2 CS:NO_PIN Step:I2SO.10 Dir:I2SO.9 Disable:I2SO.8 R:0.110]
[MSG:INFO: Pos Limit gpio.32]
[MSG:ERR: X Axis TMC driver not detected - expected 0x21 got 0x0]
[MSG:ERR: X2 Axis TMC driver not detected - expected 0x21 got 0x0]
[MSG:ERR: Y Axis TMC driver not detected - expected 0x21 got 0x0]
[MSG:ERR: Y2 Axis TMC driver not detected - expected 0x21 got 0x0]
[MSG:ERR: Z Axis TMC driver not detected - expected 0x21 got 0x0]
[MSG:INFO: Kinematic system: Cartesian]
[MSG:INFO: AP SSID FluidNC IP 192.168.0.1 mask 255.255.255.0 channel 1]
[MSG:INFO: AP started]
[MSG:INFO: WiFi on]
[MSG:INFO: Captive Portal Started]
[MSG:INFO: HTTP started on port 80]
[MSG:INFO: Telnet started on port 23]
[MSG:INFO: Probe gpio.36:low]
ok
Seems like the TMC drivers are still not detected?
The main thing I wanted to check was that your power supply wasn’t backwards. And it appears that it is correct. So its not that. Can you take a multimeter and verify your power supply is putting out 24v?
Also, how did you do the termination of wires into the connector for the Jackpot?
Preferred would be to take the two very different AWG wires of fan and power supply and crimp them into a ferrule before landing them in the jackpot connector. Ferrules always being preferred even on single stranded wire runs into screw compression clamps.
Right now both, the fan with very thin standard cable (maybe awg 22 / 24) and power supply with awg 20 are directly put clamped into the screw terminals for first test right now. I think you are right and I should crimp them in a ferrule when doing the final wiring. Contact with these cables to the screw terminal should be fine for now, since I measured the voltage at the screws of the screw terminal and the fan is running without any problems.
If you have fine tip DMM leads, we can walk the supply voltages around. The easiest way to do that would be to put the (-) lead on the USB-C connector shell, then probe the expansion header VMOT and 5V power locations.
They’re as shown below on the expansion module header just above the ESP-32:
I am wiring one up right now. Plugged this in and thought it had, but felt it wiggle just a touch when I let go. Turns out it wasn’t all the way in. So make sure it is seated all the way to the bottom of the connector. I really think it was just the angle and my fat fingers that hindered me but when it happened I figured I would mention it here.
The plug was seated well to the bottom of the connector, but you made me check the connections again and crimping ferules to the wires. Plugged back in and it is working now.
So notes for me:
Measuring the voltage on the terminal screws does not ensure that the connection/contact is stable down to the contacts of the plug.
Always crimp wires inserted to screw terminals.
Big thanks to all of you! And sorry for wasting your time.
PS: Nevertheless, there is still one good thing - happy to have created an account and be part of the community right now!