Posts with «g-code» label

Man-in-the-Middle Jog Pendant: Two Parts Make Easier Dev Work

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.

[Simon]’s jog pendant moves a single motor which is exactly what he needs to ease development of his 3D printed strain-wave gear using a timing belt, but it could be programmed with any G-Code at all. Speaking of DIY jog pendants for CNC machines, don’t forget this wireless one made from an Atari 2600 joystick that jogs a plasma cutter in X and Y, and zeroes it with a push of the button.


Filed under: Arduino Hacks, cnc hacks

Robot Draws Using Robust CNC

While initially developed for use in large factory processes, computer numeric control (CNC) machines have slowly made their way out of the factory and into the hands of virtually anyone who wants one. The versatility that these machines have in automating and manipulating a wide range of tools while at the same time maintaining a high degree of accuracy and repeatability is invaluable in any setting. As an illustration of how accessible CNC has become, [Arnab]’s drawing robot uses widely available tools and a CNC implementation virtually anyone could build on their own.

Based on an Arudino UNO and a special CNC-oriented shield, the drawing robot is able to execute G code for its artistic creations. The robot is capable of drawing on most flat surfaces, and can use almost any writing implement that will fit on the arm, from pencils to pens to brushes. Since the software and hardware are both open source, this makes for an ideal platform on which to build any other CNC machines as well.

In fact, CNC is used extensively in almost everything now, and are so common that it’s not unheard of to see things like 3D printers converted to CNC machines or CNC machines turned into 3D printers. The standards used are very well-known and adopted, so there’s almost no reason not to have a CNC machine of some sort lying around in a shop or hackerspace. There are even some art-based machines like this one that go much further beyond CNC itself, too.


Filed under: robots hacks
Hack a Day 22 Jun 00:00
arduino  art  cnc  drawing  g-code  robot  robots hacks  

Handwriting suck? Build a machine to do it for you

Children of the information age are doomed to have the worst handwriting just for lack of use if nothing more. But some students at Olin College harnessed technology to find a solution to that problem. Meet Herald, a CNC machine that can produce beautiful calligraphy.

The machine uses a gantry to move the writing tip along the X and Y axes. The flexible-nib calligraphy pen is mounted on a sprocket which rotates the tip onto the writing surface, taking care of the third axis. The rig was beautifully rendered from their CAD drawings, then tweaked to ensure the smoothest motion possible before the quintet of Sophomores began the physical build.

The drive hardware is very simple yet it produces great results. It uses an Arduino along with three stepper motor drivers. There are also limiting switches to protect the hardware from runaway code. The software interface designed by the team lets the user cut and paste their text, and select a font, font size, alignment, etc. It then converts the text to G-code and pushes it to the Arduino where the GRBL package takes care of business.

Don’t miss the device in action, writing out a [Langston Hughes] work in the clip after the break.


Filed under: cnc hacks
Hack a Day 08 Mar 11:01