Skip to content
Claudio Prezzi edited this page Jan 28, 2020 · 14 revisions

lw.comm-server - unified communications server for LaserWeb4

lw.comm-server is the unified communications server for LaserWeb. It is the gateway between the machnine and the frontend and cares about all different interfaces & firmware specific protocols, so the clients doesn't have to care about the machine controller and firmware (as far as possible).

lw.comm-server is based on nodejs 10 (tested with 10.16.3) and serialport 6.2.2.

Communication structure

Communication diagram

The frontend communicates with the server over websockets. Details about the API can be found in the wiki. The server supports several interfaces to communicate with machines.

Supported interfaces

Implemented:

  • Serial over USB
  • Telnet over Network (or WLAN)
  • Websocket to ESP8266 (as WLAN to serial gateway)

Supported firmwares

  • Grbl (ATmega328/Arduino)
  • Grbl MEGA RAMPS (Arduino MEGA 2560 + RAMPS)
  • Grbl-LPC (for LPC1769 boards like C3d, Smoothieboard, MKS SBASE, Azteeg)
  • Smoothieware (actual version of firmware-cnc.bin)
  • TinyG (actual version)
  • MarlinKimbra (not finished)
  • Marlin (not finished)
  • RepRapFirmware (not finished)

Please check the wiki for details about the API.

Clone this wiki locally