Control Anything with G-Code | Introduction to Cableroot

  Рет қаралды 2,746

Makers Mashup

Makers Mashup

Күн бұрын

Today we are controlling everything with 3D Printer G-Code. Cableroot is software that runs on a Teensy 4.1 that allows you to inspect 3D Printer g-code in real time and perform actions upon it. Have you ever wanted to control neopixels independently when your 3D Printer goes home? How about turning on a fan after the print completes to cool the build plate? These sort of use cases are easy with Cableroot. Cableroot sits between the computer or SD card and your 3D Printer. With Cableroot you are freed from your 3D Printers firmware and able to control other devices. This introduction covers the basic setup of Cableroot.
0:00 - The challenge of adding hardware to your 3D Printer
1:27 - How Cableroot was discovered
4:05 - Cableroot Data Flow
4:45 - Planning your Cableroot build
5:50 - Cableroot Hardware Assembly
10:48 - Cableroot Firmware
13:57 - Testing our Build
15:47 - Cableroot in action!
16:21 - Future Plans for Cableroot
Teensy 4.1: amzn.to/3jwHxd8
USB Header Cable: amzn.to/3juCrhB
Header Pins Only: amzn.to/3rWJcwt
Header Pins Kit for Teensy & Breakout Board: amzn.to/3fVPszZ
You want the kit if you plan to get a cableroot breakout board as you will need both types of headers and jumpers.
BOB-12009 :amzn.to/3Cm7DYY
Alternative Bi-Directional Level Converter: amzn.to/3jKM4cj
Relays: amzn.to/3rZKt5Z
Cylon LED's used: amzn.to/3Cnsz1O
300 Pixel Strip: amzn.to/3AfCqVw
Servo Used: amzn.to/37mDDhx
308 CFM Fan used: amzn.to/37mDDhx
Cableroot Breakout Board: [Coming Soon]
Cableroot Code Repository: bitbucket.org/makersmashup/ca...
Teensyduino: www.pjrc.com/teensy/teensydui...
Please mash that like button if you enjoyed this video and leave your comments below!
Please consider helping support the channel through Patreon so I can continue to develop new content.
/ makersmashup
Follow my Thangs.com profile to find all the models I make!
thangs.com/user/Makers%20Mash...
Chat with us and other makers on our Discord: / discord
Follow us on Twitter: / makersmashup
Instagram: / makers_mashup
Visit our website www.MakersMashup.com
MakersMashup Uses TubeBuddy as their KZfaq assistant! www.tubebuddy.com/MakersMashup

Пікірлер: 14
@MakersMashup
@MakersMashup 2 жыл бұрын
What will you build with Cableroot?
@ianide2480
@ianide2480 2 жыл бұрын
I can think of several uses for this but I can't honestly say that I want to do any of this for my set up. Octoprint has all that I want and the Pi is a full computer with GPIOs that are stupid simple for me to modify any time I want and it already automates the small things that I want to automate. Since Octoprint is a simple web interface, I modify this as well to include what I want with extra "on screen" buttons on the interface itself or whatever customizations that I want. I do like this project as an alternative so I won't say anything negative about Cableroot, I just don't need it. Plus to get it to do *exactly* what I have done with the Pi, I would be changing code in cableroot as well. It's far easier to keep what I have without learning yet another interface and changing all my current wiring. Sure it's not challenging but why change a thing that works exactly as I want, ya know?
@MakersMashup
@MakersMashup 2 жыл бұрын
I totally agree. Cableroot is not an octoprint replacement, its just a means to expose things you normally cant access with existing methods. Octoprint is great and I use it along with Cableroot. I certainly wouldn't change up things if they are working for you. :) I feel one of the biggest use of Cableroot is really for those that want to mod their printer with Neopixels and control them with gcode.
@Rsm583
@Rsm583 2 жыл бұрын
Imagine you use a laser engraver to make a small engraving. Once completed a ardunio robotic arm would move the completed engraving and grab a new piece to engrave. Imagine using this robotic arm to remove very basic prints and keep printing or move an object to another 3d printer for a different color.
@MakersMashup
@MakersMashup 2 жыл бұрын
Filament Runout sensors don't look at the extruder. They are generally a simple microswitch that is depressed when filament is present. So if it jams the filament is present but not moving. So traditional sensors will not report a jam and report the filament is present. This uses pulses so if the filament is not moving but present it will report a failure.
@backgammonbacon
@backgammonbacon 2 жыл бұрын
The same things can be done with the octoprint plugin "GCODE System Commands" with the added benefit of using properly supported hardware and software.
@karlangerer9122
@karlangerer9122 2 жыл бұрын
Plank, Are the Gcode system commands two way? I.e. telling the hot end to move to a specific position position and then get feedback when it does. Looking at this for automating menial cleaning and alignment tasks. Closely coupling the feedback of sensor to position control is what I am looking for but it has to be closed loop.
@MakersMashup
@MakersMashup 2 жыл бұрын
You can make it closed loop Karl. Right now Cableroot passes through the gcode untouched in most cases. The code currently checks for the OK from the host but you could easily send a command, read a response and perform actions from there. The other cool thing you can do with this as well is store complete blocks of functions (such as cleaning and alignment) in the code itself. So with a push of a button you could run any number of preloaded routines checking for responses along the way. You don't have to have the overhead of octoprint or anything else, just load the commands right onto the Teensy.
@fnafiscool8003
@fnafiscool8003 2 жыл бұрын
Hello I’m really want to build something for a long time but when I had a chance but my teacher said no was very sad but then I saw your video so will you help me?. Please
@scannaunderscore1
@scannaunderscore1 2 жыл бұрын
Congratulations on the weight loss
@helge1104
@helge1104 2 жыл бұрын
Now that`s cooking with gas..... nice
@AllTheNamesWereInUse
@AllTheNamesWereInUse 2 жыл бұрын
You can also use a raspberry pi pico for this. $4.00 :)
@MakersMashup
@MakersMashup 2 жыл бұрын
To my knowledge the pico has only a 133mhz processor and only 1 usb port. I don't see how that could possibly work.
Learn G-Code for 3D Printing
12:39
CNC Kitchen
Рет қаралды 190 М.
Must-have gadget for every toilet! 🤩 #gadget
00:27
GiGaZoom
Рет қаралды 12 МЛН
ИРИНА КАЙРАТОВНА - АЙДАХАР (БЕКА) [MV]
02:51
ГОСТ ENTERTAINMENT
Рет қаралды 9 МЛН
Вечный ДВИГАТЕЛЬ!⚙️ #shorts
00:27
Гараж 54
Рет қаралды 13 МЛН
Secret Art of MACRO PROGRAMMING on a CNC Machine | G-Code Genius
12:03
TITANS of CNC MACHINING
Рет қаралды 104 М.
Physicists Claim They Can Send Particles Into the Past
7:21
Sabine Hossenfelder
Рет қаралды 215 М.
WLED & ESP32: The Dynamic Duo of DIY LED Projects
26:24
Makers Mashup
Рет қаралды 195 М.
Make a TINY Arduino Drone with FPV Camera - Will It Fly?
20:26
Max Imagination
Рет қаралды 610 М.
3D Printing Your Way to Survival: DIY Mini Survival Kits
4:18
Makers Mashup
Рет қаралды 4,1 М.
7 Years of Software Engineering Advice in 18 Minutes
18:32
Intro to Hardware Reversing: Finding a UART and getting a shell
12:07
Tony Gambacorta
Рет қаралды 881 М.