Vigyata.AI
Is this your channel?

Turnkey CNC Router Web Control - Linux + CNCjs + Webcam + systemd = magic! | 3018 Desktop Router

5.1K views· 181 likes· 20:50· Oct 13, 2022

🛍️ Products Mentioned (6)

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 G-code sender (the CNC’s grbl controller is actually doing the motion control). I’m using mjpg-streamer 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 g-code 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_js/ My Discord server: https://discord.gg/xJsaEukAr4 If you find my content useful and would like to support me, feel free to here: https://ko-fi.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.

🎬 More from apalrd's adventures