Upgrading My CNC Capabilities - CNCjs

After I inherited a non-working CNC 6040 CNC machine, I have been on a journey learning about VFDs, Spindles, Water Coolers, XYZ alignment, and workpiece clamping!
To date, I have managed to restore the CNC machine sufficiently to work with wood and metal, and now I want to expand the range of things I can make. To do this I need to address one of the limiting factors. I have many projects which will need custom circuit boards made. The tolerance and precision needed to make these boards are very fine. For example, the thickness of the copper is less than 1mm and this thickness can vary across the board.
In addition to this, the bed or wase-board of the machine may have imperfections. While this is not an issue when working with wood or metal (I simply plunge slightly deeper into the waste board), a circuit needs a consistent depth of cut. This ensures traces are isolated and the cuts are not too deep.
So far, I have been using Universal G-Code Sender (UGS) to transmit the generated G-Code to the machine. This has worked very well to date. However, I need to be able to probe a blank board in multiple locations and compensate for any inconsistencies. As far as I'm aware, there isn't a plugin for UGS that can do this.
After a bit of investigation, I came across CNCjs. CNCjs is a web service that can be installed onto a Raspberry Pi and send G-Code to the machine. In addition to this, I found a plugin that will automatically probe a circuit board and apply the height compensation to provide a consistent cut across the whole job.
My installation instructions theiqworkshop.com/upgrading-m...
The official CNCjs installation instructions cnc.js.org/docs/rpi-setup-guide/
The plugin to probe blank boards github.com/kreso-t/cncjs-kt-ext
00:00 Intro
02:51 Parts
03:05 RPI USB Booting
04:28 OS Install
04:52 First Boot and Finalise
05:44 CNCjs & Plugin Installation
07:55 Simulate Probe
08:33 Summary
〰️〰️〰️〰️〰️〰️〰️〰️〰️〰️〰️〰️〰️〰️〰️〰️〰️
Help me reach my Subscriber Goal: -
vod.strms.net/s/UCJ5IFthfhbmi...
||||||||||||||| 78% |||||||||...... 1.17K/1.5K
Haiden Veno
〰️〰️〰️〰️〰️〰️〰️〰️〰️〰️〰️〰️〰️〰️〰️〰️〰️
⬆️ Links ⬆️
🌎 Website - www.theiqworkshop.com
🛒 Apparel - www.theiqworkshop.com/apparel/ (15% off for the inital 15 days)
🎮 Discord - / discord
📷 Instagram - / iqsworkshop
☕ Support me at Buy Me a Coffee - www.buymeacoffee.com/iqworkshop
================================
If you enjoyed this video and would like to support me, please visit my Ko-Fi page at ko-fi.com/iqworkshop. Every little bit helps and I am incredibly grateful for your support!
================================
Support the channel by considering using one of the below affiliate links -
I will earn a small commission from qualifying purchases
==========
- 3D Printing
Eryone Filaments - amzn.to/3NdhPt9
Elegoo Water washable resin - amzn.to/3PenD88
Magigoo bed treatment - amzn.to/442F3Jf
- CNC
1/4 inch Downcut endmill - amzn.to/3Nr8b67
1/4 inch Ball nose end mill - amzn.to/3CRDUZv
1/4 inch Surfacing bit - amzn.to/3NzV6Jd
3.175mm Engraving bits - amzn.to/3PgJX1a
3.175mm Single flute end mill - amzn.to/3Cz91st
Single Phase to 3 Phase VFD Spindle Controller - amzn.to/448LJWl
ER11 Spring Collets (1/8inch & 1/4Inch)- amzn.to/4469Q7M
Dust Shoe Brush Material - amzn.to/44ZvJXe
- Electronics
Temp & Humidity sensor (DHT11) - amzn.to/443lYq6
ESP6266 Development board (Wemos D1 Mini) - amzn.to/3Napmc3
JST-PH battery leads and connectors - amzn.to/3Cz0shv
103453 LiPo Battery - amzn.to/43MAzqn
WS2812B (neopixel) Matrix display - amzn.to/3CvVl1l
Gateron Blue (Cherry MX compatible) - amzn.to/43G1bJy
Leadded Solder - amzn.to/3pggM3v
Single Channel Relay - amzn.to/43SwUGG
0.35mm Enameled Wire - amzn.to/3PeYAlo
2 and 3 pin screw terminals (5mm pitch) - amzn.to/3Qklmc5
12V 5A Power Supply - amzn.to/43Fqonj
Breadboard jumper wire kit - amzn.to/3NalfNa
- Tools
Head Mount Magnifier - amzn.to/3N7g40x
1/4-20 UNC Tapping Die - amzn.to/3Pa2YlP
Soldering Iron and Hot Air Station - amzn.to/3pbtxwc
6inch/150mm Digital Caliper - amzn.to/3Pd05AN
Pop Rivet Gun - amzn.to/3X7qq5f
Nitrile Gloves - amzn.to/3Pbz28U
BACOENG 12ltr Vaccum Chamber - amzn.to/3CvL0Tk
- Gear
Raspberry Pi 4 Heatsync - amzn.to/46jvYOj
Rode Wireless GO II Microphone - amzn.to/43Khl4P
Samsung 128GB USB 3.1 Flash Drive - amzn.to/43K9bsW

Пікірлер: 25

  • @IQWorkshop
    @IQWorkshop2 жыл бұрын

    Do you make circuit boards at home? Comment below with the method you use. Don't forget to say what's good and bad about the method.

  • @Festivejelly
    @Festivejelly9 ай бұрын

    CNCJS is very appealing. The UI is much nicer and should be easier to extend. That plus you can use a spare Ipad to control it. Im deffo going to get this set up on my Pi400 thats just sitting on my worktable next to my CNC. This video was a handy intro thanks.

  • @LeadDennis
    @LeadDennis2 жыл бұрын

    Thank you, I have subscribed

  • @IQWorkshop

    @IQWorkshop

    2 жыл бұрын

    Thank you 👍

  • @LuminarySpeshal
    @LuminarySpeshal2 жыл бұрын

    How much quicker are Pi's booting from USB then? Is it worth the effort? I've got a little project that I need to cut the cold boot time down on and I'm at around 40seconds but can't disable anything else, do you think USB would help?

  • @IQWorkshop

    @IQWorkshop

    2 жыл бұрын

    Hiya - Thanks for the comment first off, there is minimal effort in getting a Pi4 to boot from USB. If you have a spare SD card, you can bake and flash the USB boot utility inside of 5min or less. If you are using PiOS, then there is an image copy utility in the tools menu that you can transfer your current SD card to the USB (or back if you need to) - it's super straightforward. As for the performance boost, that can have many influencing factors. e.g. How fast your current SD card is, how fast the USB drive is, what the Pi is doing at boot (wait for wifi will delay the process regardless of boot media) You want to ensure you use a USB3 device and can be a flash drive or an SSD in a USB caddy. I have not specifically timed the boot up of my Pi, but it is noticeably faster both in boot time and application start times. One added feature to using USB is that dependent on the drive type, it is likely to last much longer than an SD card if there are constant read/write cycles. Trust me, I've burnt up a few SD cards with this one. Good luck

  • @TheUsernamechris
    @TheUsernamechris Жыл бұрын

    What have been the main differences for you between CNCjs and gSender?

  • @IQWorkshop

    @IQWorkshop

    Жыл бұрын

    Hey! Thanks for the question. I've not used gSender so my comparison is based on the overview on their site. It looks as though gSender shares many features to CNCjs. In my use case, I needed the ability to be able to probe the surface of a copper clad board to make circuits. CNCjs runs on a raspberry pi and has the ability to be expanded with plugins for surface probing and other tasks. My suggestion would be to try both in a test environment to see which one gives you the features want/need in a UI you are comfortable with. The one that does the job and is easy to use is the right one "for you"

  • @dronesvisionsaeriennes
    @dronesvisionsaeriennes4 ай бұрын

    Good evening IQ, quick question after having installed CnCJs under RPI4 a few months ago, I haven't used it for 6 months....so I turn on RPi4 with the Micro SD where Twister + CnCJs is located but I can't more to find and therefore start CnCJs..A solution perhaps? Thanks to you Philip

  • @IQWorkshop

    @IQWorkshop

    4 ай бұрын

    if installed correctly the services for CNCjs "should" auto start. I installed my setup on a USB3 drive as SD cards have a limited number of read/write cycles and i have gone through a few in my time. Is it possible the SD card has gone bad?

  • @johnurena2863
    @johnurena28632 жыл бұрын

    when i send the autolevel command it just says ok on the terminal but it doesn't move at all.

  • @IQWorkshop

    @IQWorkshop

    2 жыл бұрын

    I had the exact same issue. In my case the plug in was monitoring the incorrect port. I had to modify index.js in the install folder to point to ttyUSB0. There are 2 places that might need to be updated

  • @johnurena2863

    @johnurena2863

    2 жыл бұрын

    @@IQWorkshop i did that but still dind't work, thanks anyways, i appreciate your fast response.

  • @IQWorkshop

    @IQWorkshop

    2 жыл бұрын

    @@johnurena2863 if you changed cncjs to run on port 80 from 8000, also check index.js that the plug in is also on port 80. It has to be the same as cncjs to work

  • @takohtuesdays9053
    @takohtuesdays90532 жыл бұрын

    Hey dude i need the list of instructions line by line lol this aint working lol

  • @IQWorkshop

    @IQWorkshop

    2 жыл бұрын

    I've been thinking about revisiting this video. It been a while and I think I may be able to do a better job of setting this up. Watch this space

  • @takohtuesdays9053

    @takohtuesdays9053

    2 жыл бұрын

    @@IQWorkshop I got it to work it was very cumbersome but it worked I had to watch your vid frame by frame lol

  • @IQWorkshop

    @IQWorkshop

    2 жыл бұрын

    Glad you got it going

  • @dogcreek-customs5168
    @dogcreek-customs516810 ай бұрын

    Hmmm, as some of what you said was true CNC deals with more then just milling when referred to unless if you're just getting into the start of things, I do CNC Plasma cutting there is free hand and CNC as there is with milling and anything that isn't computer numeric controlled. Then I get the burning but it's write an OS to a microsd but who am I to criticize you and how you refer to things as it might be right in your country. lol

  • @dogcreek-customs5168

    @dogcreek-customs5168

    10 ай бұрын

    I just seen Ras Pi 4 and JS and I figured JS meaning Java Script.

  • @dogcreek-customs5168

    @dogcreek-customs5168

    10 ай бұрын

    Oh yea I have a pi 3 & 4 and I can boot from flash drive on them both.

  • @IQWorkshop

    @IQWorkshop

    10 ай бұрын

    You are correct. 3d printing, laser cutting and computer controlled milling is all cnc at a technical level. However in layman's terms people think of milling when the term cnc is used in isolation. My videos are intended for the beginner just getting started and hopefully have a broad understanding in my use case 👍

  • @IQWorkshop

    @IQWorkshop

    10 ай бұрын

    @@dogcreek-customs5168 correct js is JavaScript 👍 This is the underlying language the application runs in on the PC/Pi

  • @IQWorkshop

    @IQWorkshop

    10 ай бұрын

    @@dogcreek-customs5168 yes both pi3 and 4 can boot from usb, however the RPi foundation made it easier to configure for the pi4 with a simple utility