If you’re building a CNC or laser, there’s an excellent chance you’ll be using Grbl to get moving. It’s also a pretty safe bet you’d end up running it on some variation of the Arduino sitting in a motor controller breakout board. It’s cheap, easy to setup and use, and effectively the “industry” standard for DIY machines so there’s no shortage of information out there. What’s not to love?
Well, quite a few things in fact. As [bdring] explains, Grbl pushes the capability of the Arduino to the very limit; making it something of a dead-end for future development. Plus the Arduino needs to be plugged into the host computer via USB to function, a rather quaint idea to many in 2018. These were just some of the reasons he decided to port Grbl to the ESP32 board.
Price wise the Arduino and ESP32 are around the same, but the ESP does have the advantage of being much more powerful than the 8-bit Italian Stallion. Its got way more flash and RAM as well, and perhaps most importantly, includes Wi-Fi and Bluetooth out of the box. It still needs to be plugged into a board to hold the motor drivers like the Arduino, but beyond that [bdring] opines the ESP32 is about as close to the perfect Grbl platform as you can get.
[bdring] reports that porting the code over to the ESP32 wasn’t terrible, but it wasn’t exactly a walk in the park either. The bulk of the code went by without too much trouble, but when it came to the parts that needed precise timing things got tricky. The ESP32 makes use of a Real Time Operating System (RTOS) that’s not too happy about giving up control of the hardware. Turning off the RTOS was an option, but that would nuke Bluetooth and Wi-Fi so obviously not an ideal solution. Eventually he figured out how to get interrupts more or less playing nicely with the RTOS, but mentions there’s still some more work to be done before he’s ready to release the firmware to the public.
If you’ve been browsing Hackaday for a while you may remember [bdring]. He’s got a real knack for making things move, and has created a number of fantastic little CNC machines recently which have definitely caught our eye.
[Thanks to Jon and Craig for the tip.]
Continue reading “Grbl Ported to the ESP32”
The Proxxon MF70 is a nice desktop sized milling machine with a lot of useful add-on accessories available for it, making it very desirable for a hacker to have one in his or her home workshop. But its 20000 rpm spindle can cause quite the racket and invite red-faced neighbors. Also, how do you use a milling machine in your home-workshop without covering the whole area in metal chips and sawdust? To solve these issues, [Tim Lebacq] is working on Soundproofing his CNC mill conversion.
To meet his soundproof goal, he obviously had to first convert the manual MF70 to a CNC version. This is fairly straightforward and has been done on this, and similar machines, in many different ways over the years. [Tim] stuck with using the tried-and-tested controller solution consisting of a Raspberry Pi, an Arduino Uno and a grbl shield sandwich, with stepper motor drivers for the three NEMA17 motors. The electronics are housed inside the reclaimed metal box of an old power supply. Since the Proxxon MF70 is already designed to accept a CNC conversion package, mounting the motors and limit switches is pretty straightforward making it easy for [Tim] to make the upgrade.
Soundproofing the box is where he faced unknown territory. The box itself is made from wooden frames lined with particle board. A pair of drawer slides with bolt-action locks is used for the front door which opens vertically up. He’s also thrown in some RGB strips controlled via the Raspberry-Pi for ambient lighting and status indications. But making it soundproof had him experimenting with various materials and techniques. Eventually, he settled on a lining of foam sheets topped up with a layer of — “bubble wrap” ! It seems the uneven surface of the bubble wrap is quite effective in reducing sound – at least to his ears. Time, and neighbours, will tell.
Maybe high density “acoustic foam” sheets would be more effective (the ones similar to “egg crate” style foam sheets, only more dense)? Cleaning the inside of the box could be a big challenge when using such acoustic foam, though. What would be your choice of material for building such a sound proof box? Let us know in the comments below. Going back many years, we’ve posted about this “Portable CNC Mill” and a “Mill to CNC Conversion” for the Proxxon MF70. Seems like a popular machine among hackers.
[bdring] just recently completed his absolutely fantastic NickelBot, which is a beautifully made unit that engraves small wooden discs with a laser like some kind of on demand vending machine, and it’s wonderful. NickelBot is small, but a lot is going on inside. For example, there’s a custom-designed combination engraving platform and hopper that takes care of loading a wooden nickel from a stack, holding it firm while it gets engraved by a laser, then ejects it out a slot once it’s done.
NickelBot is portable and can crank out an engraved nickel within a couple of minutes, nicely fulfilling its role of being able to dish out the small items on demand at events while looking great at the same time. NickelBot’s guts are built around a PSoC5 development board, and LaserGRBL is used on the software side to generate G-code for the engraving itself. Watch it work in the video embedded below.
Continue reading “Gorgeous NickelBot Serves Up Lasered Wooden Nickels”
Some people have all the luck. [MakerMan] writes in to
gloat tell us about a recent trip to the junkyard where he scored a rather serious looking laser cutter. This is no desktop-sized K40 we’re talking about here; it weighs in at just under 800 pounds (350 Kg), and took a crane to deliver the beast to his house. But his luck only took him so far, as closer inspection of the machine revealed it was missing nearly all of its internal components. Still, he had the frame, working motors, and laser optics, which is a lot more than we’ve ever found in the garbage.
After a whirlwind session with his wire cutters, [MakerMan] stripped away most of the existing wiring and the original control board inside the electronics bay. Replacing the original controller is an Arduino Nano running Grbl, likely giving this revived laser cutter better compatibility with popular open source tools than it had originally. Even though the laser cutter was missing a significant amount of hardware, he did luck out that both the motor drivers were still there (and working) as well as the dual power supplies to run everything.
After a successful motion test, [MakerMan] then goes on to install a new 90W laser tube. Supporting the tube is a rigged up water cooling system using a plastic jug and a cheap bilge pump. He also added an air assist system, complete with side mounted compressor. This pushes air over the laser aperture, helping to keep smoke and debris away from the beam. Finally, a blower was installed in the bottom of the machine with flexible ducting leading outside to vent out the smoke and fumes that are produced when the laser is in operation.
This machine is a considerable upgrade from the previous laser [MakerMan] built, and as impressive as this rebuild is so far, we’re interested in seeing where it goes from here. If you ask us, this thing is begging for an embedded LaserWeb server.
Continue reading “Arduino Revives Junkyard Laser Cutter”
It is February of 2018. Do you remember what you were doing in December of 2012? If you’re [juppiter], you were starting your CNC Embroidery Machine which would not be completed for more than half of a decade. Results speak for themselves, but this may be the last time we see a first-generation Raspberry Pi without calling it retro.
The heart of the build is a vintage Borletti sewing machine, and if you like machinery porn, you’re going to enjoy the video after the break. The brains of the machine are an Arduino UNO filled with GRBL goodness and the Pi which is running CherryPy. For muscles, there are three Postep25 stepper drivers and corresponding NEMA 17 stepper motors.
The first two axes are for an X-Y table responsible for moving the fabric through the machine. The third axis is the flywheel. The rigidity of the fabric frame comes from its brass construction which may have been soldered at the kitchen table and supervised by a big orange cat. A rigid frame is the first ingredient in reliable results, but belt tension can’t be understated. His belt tensioning trick may not be new to you, but it was new to some of us. Italian translation may be necessary.
The skills brought together for this build were vast. There was structural soldering, part machining, a microcontroller, and motion control. The first time we heard from [juppiter] was December 2012, and it was the result of a Portable CNC Mill which likely had some influence on this creation. Between then, he also shared his quarter-gobbling arcade cabinet with us.
Continue reading “Vintage Sewing Machine to Computerized Embroidery Machine”
It’s a great time to be a hobbyist. No matter how you feel about the Arduino/Raspberry Pi effect, the influx of general enthusiasm and demand it has created translates to better availability of components, a broader community, and loads of freely available knowledge. When people have access to knowledge and ideas, great things can happen. Tools that were once restricted to industrial use become open source, and the price of entry-level versions goes into a nosedive.
As we’ve seen over the last several years, the price of cheap 3D printers keeps falling while the bar of quality keeps rising. It’s happening with laser cutters and carving tools, too. Strolling through Microcenter a few weeks ago, I spotted a new toy on the back wall next to the 3D printers. It was LinkSprite’s desktop mini CNC. They didn’t have one out on display, but there were two of them in boxes on the shelf. And boy, those boxes were small. Laughably small. I wondered, could this adorable machine really be any good? To some, the $200 price tag suggests otherwise. To me, the price tag made it justifiable, especially considering that the next price point for a hobby CNC mill is at least twice as much. I took my phone out and stood there frantically looking for reviews, documentation, anything that was available. It seemed that the general, if sparse consensus is that this thing isn’t a total waste of money. Oh, and there’s a wiki.
According to LinkSprite’s wiki, this little machine will engrave wood, plastic, acrylic, PVC, and PCBs. It will specifically not engrave metal (PCB copper notwithstanding). I’m a bit leery of the chemicals used in the PCB etching process, so the idea of engraving them instead was especially tempting. I pulled the trigger.
Continue reading “Review: LinkSprite Mini CNC”
In a project, repetitive tasks that break the flow of development work are incredibly tiresome and even simple automation can make a world of difference. [Simon Merrett] ran into exactly this while testing different stepper motors in a strain-wave gear project. The system that drives the motor accepts G-Code, but he got fed up with the overhead needed just to make a stepper rotate for a bit on demand. His solution? A grbl man-in-the-middle jog pendant that consists of not much more than a rotary encoder and an Arduino Nano. The unit dutifully passes through any commands received from a host controller, but if the encoder knob is turned it sends custom G-Code allowing [Simon] to dial in a bit acceleration-controlled motor rotation on demand. A brief demo video is below, which gives an idea of how much easier it is to focus on the nuts-and-bolts end of hardware when some simple motor movement is just a knob twist away.
Continue reading “Man-in-the-Middle Jog Pendant: Two Parts Make Easier Dev Work”