Help with chain calibration

Okay, so I got it all calibrated (using Webcontrol) and running this morning m, left for lunch (after powering everything down) and came back and now it is doing the same thing as before.

When I “press” a button, I see a corresponding number/letter gibberish show up in terminal. Periodically it will say “client disconnected” and the reconnect, but not until after I’m having issues.

I’ve deleted the program and reinstalled, which is what worked this morning but I’m not having any luck.

I’m not sure how to add text from my phone, sorry if this is long.

Initializing Logger
C:\Users\admin/.WebControl/log.txt
C:\Users\admin\Downloads\webcontrol-0.94-win64-singledirectory (1)
Initializing Configuration
Camera initialized

win64
singledirectory

C:\Users\admin
Using routines for Python == 3.5
Starting Console Queue Processor
C:\Users\admin/.WebControl/webcontrol-*.port
-$$$$$-
C:\Users\admin\Downloads\webcontrol-0.94-win64-singledirectory (1)\main.py
C:\Users\admin\Downloads\webcontrol-0.94-win64-singledirectory (1)
-$$$$$-
opening browser
Checking latest pyrelease.
Error checking pyrelease: HTTPSConnectionPool(host=‘api.github.com’, port=443): Max retries exceeded with url: /repos/WebControlCNC/WebControl (Caused by NewConnectionError(’<urllib3.connection.VerifiedHTTPSConnection object at 0x00000264B1538208>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed’,))
None
{“hostAddress”: “127.0.0.1:5000”}
connected
c1d9c5db7d8640beaaaeb35cfffbe870
Attempting to re-establish connection to controller
starting UI
Trying to connect to controller on COM3

Connected on port COM3

I’m connected!
Sending Board Data
Sent Board Data
Sending Board Cut Data compressed
Sent Board Cut Data compressed
Sending: B05
WebControl 1.27
Firmware Version 1.26

Sending: G20
Sending: $$
c1d9c5db7d8640beaaaeb35cfffbe870
at update setting from gcode(False): toMM with value: 25.400
Sending: G21
Sending: G91
Sending: G00 Y1.0
Sending: G90
Sending: G91
Sending: G00 Y1.0
Sending: G90
Sending: G91
Sending: G00 Y10.0
Sending: G90
Sending: G91
Sending: G00 Y20.0
Sending: G90
c1d9c5db7d8640beaaaeb35cfffbe870
c1d9c5db7d8640beaaaeb35cfffbe870
c1d9c5db7d8640beaaaeb35cfffbe870
c1d9c5db7d8640beaaaeb35cfffbe870
c1d9c5db7d8640beaaaeb35cfffbe870
c1d9c5db7d8640beaaaeb35cfffbe870
c1d9c5db7d8640beaaaeb35cfffbe870
c1d9c5db7d8640beaaaeb35cfffbe870
c1d9c5db7d8640beaaaeb35cfffbe870
c1d9c5db7d8640beaaaeb35cfffbe870
c1d9c5db7d8640beaaaeb35cfffbe870
c1d9c5db7d8640beaaaeb35cfffbe870
c1d9c5db7d8640beaaaeb35cfffbe870
c1d9c5db7d8640beaaaeb35cfffbe870
Maslow_Sled.nc
c1d9c5db7d8640beaaaeb35cfffbe870
c1d9c5db7d8640beaaaeb35cfffbe870
Client disconnected
{“hostAddress”: “127.0.0.1:5000”}
connected
62cb708cf9b84f8186a1264fee4ed34e
I’m connected!
Sending Board Data
Sent Board Data
Sending Board Cut Data compressed
Sent Board Cut Data compressed
62cb708cf9b84f8186a1264fee4ed34e
62cb708cf9b84f8186a1264fee4ed34e
62cb708cf9b84f8186a1264fee4ed34e
62cb708cf9b84f8186a1264fee4ed34e
Client disconnected
{“hostAddress”: “127.0.0.1:5000”}
connected
0ba145adb2a84fef8ce23f15a5cf4f4b
I’m connected!
Sending Board Data
Sent Board Data
Sending Board Cut Data compressed
Sent Board Cut Data compressed
{“hostAddress”: “127.0.0.1:5000”}
connected
3e2c27af67da43ebbc5fd3fb7a96a3fd
I’m connected!
Sending Board Data
Sent Board Data
Sending Board Cut Data compressed
Sent Board Cut Data compressed
Client disconnected
Client disconnected
{“hostAddress”: “127.0.0.1:5000”}
connected
2384ecd5cd0442e287f45a158e886768
I’m connected!
Sending Board Data
Sent Board Data
Sending Board Cut Data compressed
Sent Board Cut Data compressed
Client disconnected
{“hostAddress”: “127.0.0.1:5000”}
connected
d97e653bb2f34addaf125a21da1431b0
I’m connected!
Sending Board Data
Sent Board Data
Sending Board Cut Data compressed
Sent Board Cut Data compressed
Client disconnected
{“hostAddress”: “127.0.0.1:5000”}
connected
7e83bc958d8e4d06b0e8ba2664840763
I’m connected!
Sending Board Data
Sent Board Data
Sending Board Cut Data compressed
Sent Board Cut Data compressed
Connection Timed Out
Trying to connect to controller on COM3

Connected on port COM3

Sending: B05
WebControl 1.27
Firmware Version 1.26

Sending: G21
Sending: $$
Client disconnected
{“hostAddress”: “127.0.0.1:5000”}
connected
db78cafe989e4800be4950d2ca7c5b3a
I’m connected!
Sending Board Data
Sent Board Data
Sending Board Cut Data compressed
Sent Board Cut Data compressed
db78cafe989e4800be4950d2ca7c5b3a
Client disconnected

To me, it looks like what @Orob said earlier is correct, the server and client aren’t talking. I had NO problems this morning, until I came back from lunch and tried uploading Gcode to webcontrol and the button wouldn’t work. However, the positional buttons work and I can move the sled around.

I’m not sure what to do from here…I’ve been able to get everything calibrated and ready to cut on two separate setups:

  • Mac running MakerVerse, Mega Arduino with MakerMade shield
  • Windows running Webcontrol, MegaArduino (original, black card) with Maslow shield

I’ve tried swapping USB cables with no difference.

The arduino chip talks via serial port to a USB chip that “emulates” a virtual serial port. Each time the board resets, the USB connection resets and you get the client connected message. The connection/disconnection could be from

  • a flaky 5V power source on your USB hub/laptop/mac
  • a poorly soldered arduino board
  • a loose USB connection
  • or a bad USB cable

Gotcha, that makes sense. Luckily, to get from the original Maslow setup to the newer ring setup with a Z-axis, it was easier to purchase the “bundle” from MakerMade, so I’ve got that arduino and shield that came with the bundle (so an extra).

I was having the same problem with both board setups, which is why I thought it might be the USB connection (or hub that was converting USB-C) but it turns out that it was the computer. I was using a Surface Go running Windows 10 so I decided to try Windows on another computer and that did the trick…I was able to successfully cut out a small test project and it went great!

What I don’t get…I had tons of problems with the MakerVerse software on my Mac, but I did this next attempt running Windows through Bootcamp on the same Mac…with no problems. I wonder if they’re unrelated? 🤷

glad you got it going. Maybe a powered USB hub would have worked with the surface, but if it had a flaky USB hub on the motherboard that kept resetting, that may have been the issue. As far as why makerverse might work better on windows in bootcamp than natively on the mac, I would speculate that if you are using the latest mac OS, it may not be compiled for it. I’m pretty sure makerverse was developed on a mac though, so it should work on one.

1 Like

@twingotango I had a similar problem in using the Surface tablet as well and the USB Hub to convert the USB-C. It never hung up or had the connection issues you had, but it was not cutting very smooth as the transmission of data through the HUB caused my CPU to jump to 80-100% usage, and I was not getting smooth travel through my cuts. @Orob helped me out a lot in that aspect in trying to identify what the issue was. I ended up using another laptop with straight USB connection and had no issues (like you did), and then I got a straight USB-C to USB-A converter cable and had no issues with the Surface. It was the HUB that was slowing down the X-mission speed. This actually made me pull the trigger to get a Rapberry Pi as I really wanted to use the Surface as my head unit for controlling as it is a tablet (no fans or anything that can get clogged up with chips and dust like a normal laptop).

So if you are dead-set on wanting to use the surface, either ditch the HUB and get a straight conversion plug, or just “cut the cord” so to speak and get an RPi. You’ll still be able to use the surface, but won’t have to be directly connected to the Arduino. Just my $.02! But I’m also glad you got it figured out and running!

2 Likes

Thanks for the tips! I’ve toyed with getting a RPi but I’ve already got a small Intel NUC that I’m using out there currently. Maybe in a future update?? I’d really like to build a box that has all electrical components in it that I can have a couple of fans (with filters) in to keep things cool and protect the gear.

I think the Surface was just too underpowered. It was nice having a touch screen though!

I hear you! I am looking to do a box with breakout terminals to have mains power come into them, and then I can branch off to the Mega/Pi/fans/anything else I want to tinker with. I am slowly rebuilding my frame (going the wall mounted route), and then I’ll be re-cutting my Meticulous-Z parts to get that rebuilt, and then I’ll be off and cutting again. I think the Surface was underpowered, but using the Pi, it makes it a lot better (IMHO) to use the Surface with the touch screen to control. I was trying to get a smaller “form factor” PC, but the wife had gotten herself a Surface for something, and ended up not liking it, so I benefitted from that. Good luck with the rest of your build/projects! I really need to get my machine back up and running!!