Last April, graffiti artist [KATSU] strapped a can of red spray paint to a Phantom quadcopter, flew it up against one of the largest billboards in New York City, and pressed a button. Now, [KATSU], [Dan Moore], and Adafruit’s [Becky Stern] are trying to perfect a flying can of spraypaint, and they’ve met with some success and surely many broken props.
The team used an Iris+ for this project instead of the Phantom used by [KATSU] earlier this year, but the principle of the entire endeavor remains the same: fly up against a wall, flick a switch, and watch paint come out of a spray gun. To get the can spraying paint, they modified a can gun to accept a micro servo. This servo is connected to the trigger mechanism of the can gun, and the entire unit is slung under the quad.
Getting a quadcopter to put paint exactly where you want it is hard, even indoors. Luckily, the Pixhawk inside the Iris has sensor inputs and an ‘altitude hold’ mode that can accept a sonar sensor and can be programmed to stay a set distance away from a wall. These sensors are susceptible to interference, and a proper, shielded cable had to be made, but the sensor did work.
Flying the quad did not go as smoothly. The swinging can of paint changes the center of gravity of the quad, and even flying indoors proved difficult. Still, if you’d like to give it a go, [Becky] put up the instructions for their build. You can see the hover attempts in the video below.