The Spaghetti Detective uses AI (Deep Learning) to detect 3D printing failures. Compared to a CPU that runs in most PCs, GPU is much faster and more power-efficient at running the Deep Learning model in TSD. GPUs are commonly found in gaming PCs. However, even an entry-level gaming that can run TSD private server can easily set you back $1,000+. Ouch!
Are there an inexpensive GPUs that can be used to run TSD private server? Yes! NVIDIA Jetson Nano is a popular option among people who run TSD private servers. It is a single board computer so it can run TSD private server all by itself. The best part? It's quite affordable. Even if you throw in other things such as power supply, NVIDIA Jetson Nano will let you run TSD private server with less than $150!
If you are one of the people who want to jump on the Deep Learning bandwagon by doing a fun project, and you don't want to break the bank, follow along!
- NVIDIA Jetson Nano. Important: Please get the model with 4GB memory. The 2GB model doesn't have enough memory to run TSD private server.
- Micro SD card. 16GB minimum.
- Micro USB charger/power supply. 2A minimum. Many chargers over-label their amperage. So make sure you use one that can really output 2A or more.
- Ethernet cable (to connect to your network router).
- HDMI cable (to connect to a monitor).
- USB keyboard.
- USB mouse.
Go to the NVIDIA JetPack SDK official website.
Download the JetPack SD card image. Make sure the JetPack version is 4.5.1 or higher. NVIDIA may require you to register a free account before they give you the download link (I know... I don't like that either!).
- Flash the image to the Micro SD card using balenaEtcher (or any other method of your choice). Download balenaEtcher here.
- Insert the Micro SD card into the card slot.
- Connect all cables.
- Now the NVIDIA Jetson Nano should boot up. You will need to go through a few steps to set up basic things like timezone and user name. Nothing too exciting here.
Double-click the "Terminal" icon the NVIDIA Jetson Nano's desktop. This will drop your cursor at a commend line prompt.
Copy-paste the following commands at the prompt:
git clone https://github.com/TheSpaghettiDetective/TheSpaghettiDetective.gitcd TheSpaghettiDetective./scripts/install_on_jetson.sh
- Go grab a coffee. Step 2 will take 15-30 minutes.
Click the "Connection Information" on the system menu
Select the "Wired connection 1 (default)" tab.
Find the value of the "IP Address" row. Write down this IP address as you will need later on. In this screenshot, my IP address is
192.168.0.120. In this guide I'll use
your_server_ipto represent this value.
- Open another computer, open the browser. Enter
http://your_server_ip:3334/admin/in this address bar. You will be asked to login. Use the default email address
firstname.lastname@example.org default password
email@example.com the super admin of your TSD server. To keep it secure, once you have logged in, go to
http://your_server_ip:3334/admin/app/user/1/password/to change the password.
In the same browser window, go to the address
http://your_server_ip:3334/admin/sites/site/1/change/. Change "Domain name" to
your_server_ip:3334. No "http://", "https://" prefix or trailing "/", otherwise it will NOT work.
- Now the server is ready. Go to
http://your_server_ip:3334/to add a printer to your server.
The process to link OctoPrint to TSD private server is almost the same as the Setup Guide, except one setting: the "Server Address" needs to be set as
After the linking process is successful, restart the OctoPrint, refresh The Spaghetti Detective printer page, and you should see something similar to this:
Hooray! Now you can enjoy the peace of mind while printing, thanks to The Spaghetti Detective server and NVIDIA Jetson Nano!