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.
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.
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.)
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.
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.
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.
We’ve always had a soft spot for omni wheels and the bots that move around somewhat bumpily on them. Likewise, CNC pen plotters are always a welcome sight in our tip line. But a CNC plotter using omni wheels is new, and the results are surprisingly good.
Built from the bottom of a spring-form baking pan, [lingib]’s plotter is simplicity itself. Four steppers turn the omni wheels while a hobby servo raises and lowers the pen. The controller is an Uno with a Bluetooth module for smartphone control. Translating wheel rotations into X- and Y-axis motions was not exactly trivial, and the video below shows the results. Lines are a bit wobbly, and it’s clear that the plotter isn’t hitting the coordinates very precisely. But given the somewhat compliant nature of the omni wheels, we’re surprised [lingib] got results as good as these, and we applaud the effort.