
Weโve all seen printers use ink, and if youโve been to a Maker Faire you may have been lucky enough to see a machine printing with chocolate or pancake batter. RIT Assistant Professor Ted Kinsman decided that he wanted to print with coffee. โFor many years I have thought about building a machine that could paint for me,โ he says. โSince I always have leftover coffee, I thought it would be a fun medium to play with.โ Using an Arduino and an x-y plotter, heโs been able to do just that.
He explains, โThe machine allows experimentation with drip height, drip size, drip chemistry, spacing of drips, and especially the paper that the drips fall on โ all of these affect the image results.โ An Arduino can store an image of about 80ร100 pixels. This resolution isnโt high enough to print discernible images of most objects but, โsurprisingly,โ says Kinsman, โthis is enough data for a human to recognize a face.โ
Kinsman takes a portrait, heightens the contrast, and converts to a PGM file. You can check out this example codeย (developed by Kinsmanโs brother Andy) to see how Kinsman converts the PGM into something the Arduino can read. The sketchย prints a test grid, which can be modified by dropping in a PGM image and adjusting the space between drops. Essentially, the grayscale is converted to an array of dots whose darkness corresponds to the length of time that the valve of the pipette opens to release a coffee drop.
He uses a Mariotteโs siphon so that the depth of the coffee in the reservoir wonโt affect the pressure, which in turn could influence the size of the drops. โA Mariotte siphon,โ he explains, โis a bottle that allows air to flow in at a certain level of the reservoir โ it allows fluid to be pulled from the reservoir and keeps the pressure very constant. I use a modified sports drinking bottle.โ
The valve is controlled by the Arduino via a reed switch, which chirps as it operates. โThe sound turns out to be a great indicator to determine if the coffee flow valve is clogged,โ says Kinsman. Since the micropipette is only a few millimeters wide, even a very small particle of a coffee bean could cause a clog in the valve. The stepper motors he uses are fairly low power, and can only run one at a time, but the coffee doesnโt seem to mind.
The moisture of the drops causes the paper to warp, so the nozzleโs height must be adjusted beforehand to allow for proper clearance. While this certainly makes the configurations more complicated, the beads of caffeinated liquid clinging to a rolling sheet of paper is organic, calculated, and beautiful.
Kinsman also had to account for the stepper motorโs movement and the diameter of the pulley in order to calibrate the spacing between drops, which get smaller as they dry. The prints themselves take about an hour, but the paper takes a full day to dry completely.
In the future, Kinsman wants to experiment with adding another stepper motor so that he can create coffee drip spirographs, or using a syringe that could โprint very viscous materials like acrylic paint, or even food.โ
ADVERTISEMENT