This guide provides step-by-step instructions to set up CNCjs with an Arduino Nano Shield V3, including downloading the required software and uploading GRBL firmware for CNC milling.
Help us grow and continue innovating!
CNCjs is a full-featured, web-based interface for CNC controllers running Grbl, Marlin, Smoothieware, or TinyG. It enables users to upload G-code and simulate CNC milling operations efficiently.
To download the CNCjs Linux app image:
Run the following command to download CNCjs version 1.10.3:
wget https://github.com/cncjs/cncjs/releases/download/v1.10.3/cncjs-app-1.10.3-linux-x86_64.AppImageFor additional versions, visit the CNCjs Releases Page.
GRBL is a high-performance firmware for CNC milling. Below are the steps to upload GRBL to an Arduino Nano Shield V3.
Ensure your system has the following packages installed:
sudo apt install arduino zip unzip wgetDownload and extract GRBL version 1.1:
cd ~/Downloads
wget https://github.com/gnea/grbl/archive/refs/tags/v1.1h.20190825.zip
unzip grbl-1.1h.20190825.zip
cd grbl-1.1h.20190825/
zip -r grbl.zip grbl- Rename the folder:
cp -R ~/Downloads/grbl-1.1h.20190825 GRBL - Copy the GRBL folder to the Arduino Libraries directory:
cp -R GRBL /home/<your-username>/Arduino/libraries/
To deploy GRBL firmware to your Arduino Nano Shield V3 (which runs on an AVR ATmega328p microcontroller), you can choose between our quick automated script or the classic manual Arduino IDE process.
This repository includes a unified Master Flasher script (universalbit_grbl_flasher.sh) that auto-detects your connected Arduino Nano, downloads the verified GRBL v1.1h firmware, installs necessary flashing tools (avrdude), and deploys it automatically.
- Connect your Arduino Nano Shield V3 via USB.
- Open your terminal and run the following commands:
# Set execute permissions on the flasher script
chmod +x universalbit_grbl_flasher.sh
# Flash GRBL directly to your AVR board
sudo ./universalbit_grbl_flasher.sh --chip avr --yesOnce GRBL is uploaded, connect your Arduino Nano Shield V3 to CNCjs. This allows you to upload G-code and start CNC milling simulations.
For more details, visit the CNC Router Machines Repository.
Explore the following resources for additional information and tools: