Retro Hardware Plots Again Thanks To Grbl And ESP32

When it comes to building a new CNC machine, you’ve got a wide world of controller boards to choose from. Whether you’re building a 3D-printer or a CNC plasma cutter, chances are good you’ll find a controller that fits your needs and your budget. Not so much, though, when you want to add CNC to a pen plotter from the early days of the PC revolution.

[Barton Dring] just posted the last installment of a five-part series in which he documented putting an Atari 1020 plotter under CNC control. The plotter was a peripheral for the Atari line of 6502 machines from the late 1970s; the guts of the little roll-fed, ballpoint-pen plotter appeared in Commodore, Tandy, and TI versions as well. [Bart]’s goal was to not add or modify anything to the mechanically simple device apart from the controller. That was easier said than done, given the unipolar stepper motors controlling the pen position and paper roll, and the fact that the pen lift mechanism uses a solenoid. Support for those had to be added to his Grbl_ESP32 firmware, as did dealing with the lack of homing switches in the plotter, and adapting the Grbl tool change command to the pen color change mechanism, which rotates the pen holder by bumping it into the right-hand carriage stop. The stock controller was replaced by a custom PCB that fits perfectly within the case, with plenty of room to spare. The video below shows it plotting out a vexillogically relevant sample.

From custom coasters to wooden nickels to complex string art, [Bart] has really put Grbl through the wringer. We really like this retro-redo, though, and fully support his stated desire to convert more old hardware to Grbl_ESP32.

Continue reading “Retro Hardware Plots Again Thanks To Grbl And ESP32”

Mechpen: SCARA Drawbot For The Big Picture

It’s not uncommon to find us doodling on paper as an aid to thinking, for recreation, or simply because we’re bored. But, this kind of manual labor is so last century. It’s 2019, and we should have robots to fill our notebooks with cross-hatched illustrations. Well, [Alex Weber] is way ahead of us on this account: the outstanding SCARA drawbot he created can be unleashed to draw all manner of things at his command.

The robot, named Mechpen, and pronounced “McPen”, is of a SCARA (Selective Compliance Assembly Robot Arm) design, with two parallel axes controlling the x-y movement of the arm. Robot design is always a series of trade-offs; in this case, [Alex] has sacrificed some accuracy to achieve a long reach. Two NEMA 23 stepper motors reside in the base, along with all the electronics. This makes the base a heavy 15 kg, which is good as it helps stabilize the arm during movement. The arm uses a mix of off-the-shelf and custom hardware, most of which is dotted with holes drilled to reduce the mass of the moving parts. Two 700 mm sections of the arm made from carbon fiber tubes give the drawbot a 140 cm reach — long enough to fill an A0 paper with its beautiful mechanical doodling.

The brains behind the arm are two-tiered. An Einsy RAMBo board, designed for 3D printers, controls the stepper motors. Above that, a Raspberry Pi runs Octoprint to control the ‘bot. This choice turned out to be very convenient for working around a mechanical issue: the elbow flexes too far in the Z-axis. The difference in pen height between the elbow at 90 vs 180 degrees was 20-25 mm; too much to fix with just a spring-loaded pen. The solution: use a bed-leveling algorithm designed for 3D printers. A VL6180X distance sensor measures the distance to the paper over a number of grid points, then the software moves the servo up and down accordingly while drawing to keep the pen on the paper.

Some custom-written software converts SVG graphic files to gcode suitable for printing, allows selection of different stroke and fill types, and separation of different colors into individual gcode files to be plotted with different pens.

Definitely check out the video of Mechpen in action, after the break.

Continue reading “Mechpen: SCARA Drawbot For The Big Picture”

3D Printed Pen Plotter Is As Big As You Need It To Be

There’s nothing quite like building something to your own personal specifications. It’s why desktop 3D printers are such a powerful tool, and why this scalable plotter from the [Lost Projects Office] is so appealing. You just print out the end pieces and then pair it with rods of your desired length. If you’ve got some unusually large computer-controlled scribbling in mind, this is the project for you.

The design, which the team calls the Deep Ink Diver (d.i.d) is inspired by another plotter that [JuanGg] created. While the fundamentals are the same, d.i.d admittedly looks quite a bit more polished. In fact, if your 3D printed parts look good enough, this could probably pass for a commercial product.

For the electronics, the plotter uses an Arduino Uno and a matching CNC Shield. Two NEMA 17 stepper motors are used for motion: one to spin the rod that advances the paper, and the other connected to a standard GT2 belt and pulley to move the pen back and forth.

We particularly like the way [Lost Projects Office] handled lifting the pen off the paper. In the original design a solenoid was used, which took a bit of extra circuitry to drive from the CNC Shield. But for the d.i.d, a standard SG90 servo is used to lift up the arm that the pen is attached to. A small piece of elastic puts tension on the assembly so it will drop back down when the servo releases.

If this plotter isn’t quite what you’re after, don’t worry. There’s more where that came from. We’ve seen a number of very interesting 3D printed plotters that are just begging for a spot in your OctoPrint queue.

Enclosure Needs Labels? Make The 3D Printer Do It

Tool changing on 3D printers is hot right now, and it’s going to be really interesting to see the ideas that reliable tool changing lets people try out. One such idea is having the 3D printer use a marker to label the enclosure and buttons it just 3D printed.

The 3D print shown is an enclosure for a Pocket Operator by Teenage Engineering. [Marc Schömann] made the enclosure on Blackbox, a tool-changing 3D printer that he designed. The video below shows a pen holder drawing the labels directly onto the printed object. Pocket Operators may look like calculators, but they are clever electronic musical devices capable of producing real music. (The best way to learn about what they are and what they can do is to watch a tutorial video or two.)

Continue reading “Enclosure Needs Labels? Make The 3D Printer Do It”

1980s Plotter Plays Flappy Bird

Should you happen to have an HP7440A or similar plotter hanging around, you could have a quick game of Flappy Bird — or Plotty Bird as [WesleyAC] calls it. Just be sure you have some blank paper. The whole thing fits in about 200 lines of Rust code and — according to the author — gets to about 20 frames per second.

Watching the thing go, it appears that it draws a random set of pipes and then traces your flight path on the same page in real time.

Continue reading “1980s Plotter Plays Flappy Bird”

Plot Your Way Past A Tiny Buffer

There is a dedicated community of plotter enthusiasts who keep their often-aging X-Y axis pen drawing devices going decades after they were built, and who share plotter-generated paper artwork online. [Dhananjay Balan] was seduced by this, so acquired a second-hand HP7440A through eBay and set about bringing it to life.

Bringing it to life was in the first instance the usual progression of cleaning the mechanism and checking all was in order, before doing a bit of research to find that the missing power supply was a 10-0-10V AC item. Then some adapters and a USB-to-serial port had it talking to a modern PC, and thanks to the wonders of HPGL it was working once more. This could thus have been a very simple tale worthy of the dreaded Not A Hack moniker, had the focus then not changed from the hardware into the software.

Back in the day, a 60-byte buffer in a plotter must have seemed huge. But in 2019 a plotter can be sent data at a rate that will swiftly fill it, after which the commands are not stored and are never drawn. Introducing a delay between sending commands solves the problem, but at the expense of very slow plotting. This was solved with a very clever use of the HPGL command to send the pen position, which waits until the pen has finished moving before sending its return value. This became a handy way to detect when the plotter was ready for more, allowing speedier printing without buffer overruns.

The plotter has an expansion port into which an optional module containing trigonometric drawing functions could have been plugged, but was missing in this example. HP’s idea was that the buffer was so small that a programmer would have difficulty writing their own, but the buffer hack in the previous paragraph put paid to that. Python code for all this and more is in a handy GitHub repository.

Via Hacker News.

Build A Plotter Using Scrap DVD Drives

Building your own CNC machine can present a series of varied challenges. There are the software considerations, but also the mechanical side of things – motors, shafts, screws and slides all need to be addressed in a working design. Of course, you can always outsource some of the work – and that’s precisely what [Daniele Tartaglia] did with this pen plotter build (Youtube link, embedded below).

It’s a capable plotter, able to nicely reproduce both graphics and text.

The build gains X and Y axes by virtue of two salvaged DVD drives. The tray mechanisms come ready to go with stepper motors and lead screws already assembled, and make a great basis for a compact plotter. A wooden frame is constructed to hold everything together. The pen is held against the paper with a rubber band which helps the ballpoint to draw a nice dark line, with a servo used as a pen retract mechanism. An Arduino Uno with a stepper driver shield is then employed to run the show.

It’s a tidy build, with neat cable management and smart design choices giving it a pleasing aesthetic. The CNC fundamentals are good, too – with minimal backlash and slop, the plotter is able to draw quite effectively. Old optical drives are a popular choice for plotter builds, as it turns out. Video after the break.

Continue reading “Build A Plotter Using Scrap DVD Drives”