New Carvera Controller

I just posted the source for a web-based Carvera controller on GitHub

I am hosting a version of this on cc.grid.space which will allow most browsers to access the serial port. In this case, you won’t have to install software to drive the machine. Just open a web page and plug the Carvera into your PC, laptop, or tablet.

Caveats on serial: the Carvera has a USB-C port on the back for serial control, but you need to use an OTG cable to connect (like USB2) or go through a USB-C hub (connected to your pc/mac/tablet) that provides a USB2 interface. Macs seem to have no problem with this. Windows machines (that I have on hand) seem to want drivers. Android tablets may work with the right OTG cables. I have a few on order and will test as soon as they arrive.

Neat.

Can confirm using OTG serial with an Android tablet.

PSA: The big caveat is connecting data and also power thru a single USB port for sustained operation. That entails both splitting the physical connection and also persuading the tablet firmware to enable both OTG data and power intake which it may not do by default. Hence need for “the right OTG cable” which likely includes a specific sense resistor in addition to atypical physical configuration.

1 Like

really? excellent. I have cables on order but haven’t yet confirmed it myself. hoping to get a send + power setup going. but even if you can’t, the network interface is 100x faster than serial. I will be posting a video + instructions later today for running everything on the tablet. then you can power it normally and skip serial.

1 Like

turns out, powering a hub connected to the tablet both charges the tablet and allows access to the usb/serial port at the same time.

3 Likes

Best when it just works :slight_smile:
Maybe the function is becoming more universal in newer devices.

Firstly a huge thanks for this web interface and well done.

I’m running this in docker on my linux server.
The container runs on the host network.
The linux server has no firewall on the internal network interface.

I can successfully connect to the Carvera Air, and I can successfully upload files, but I can’t load or delete any files, including loading.

When I attempt to load a file I get the following error:

Error: transmit error, char: [-1], retry: [10]!

When I attempt to delete a file, I get the following error:

Could not delete /sd/gcodes/…

Nothing happens after that.

I’m also not seeing a toolpath preview for any files, but I presume this is due to the loading error.

Any pointers please?

Screenshot of the error below:

Great to see this getting some use. I haven’t worked on it in over a year and the Carvera firmware may have progressed from what I was using at the time. I still have my Carvera, but it will be a couple of months before I have time for further development. i don’t have a lot to add other than ask if you have any ability to run / test from source.