In this part of the project, I setup a permanent home for CNCjs on a Dell Wyse 3040 thin client. I’m running CNCjs as the CNC control software and Gcode sender (the CNC’s grbl controller is actually doing the motion control). I’m using mjpgstreamer to add a USB webcam to the CNCjs web UI, with nearly no load on the CPU to encode. And I’ve setup a script to launch ffmpeg to record the mjpeg stream when gcode is started and stopped. As a cherry on top, I’m running all of this with systemd services so everything autostarts properly on boot without the hacky cron suggestions of the CNCjs docs.
Link to the blog post with all of the commands and scripts and such:
https://www.apalrd.net/posts/2022/cnc...
My Discord server:
/ discord
If you find my content useful and would like to support me, feel free to here: https://kofi.com/apalrd
Buy things in this video (Affiliate links):
The Webcam it looked decent so I bought it: https://amzn.to/3yM2nO0
The Router Sainsmart Genmitsu 3018 PROver: https://amzn.to/3yRzAHZ
The Tape I do like it: https://amzn.to/3SajDUe
Timestamps:
00:00 Introduction
01:38 CNCjs Installation
07:47 Webcam Streaming
12:55 Recording
17:07 Test Run
18:11 CNC Zen
Some links to products may be affiliate links, which may earn a commission for me.