A guest post by Daniel Gentleman
About a year ago, I started working on a project that used robotics to control a Surface Pro tablet. Not long after I started, I got my first glimpse at the the WaterColorBot on display at Maker Faire Bay Area 2013. The WaterColorBot is designed to carry a paintbrush over a piece of paper, raising and lowering it as needed to paint a picture. The movement and software control is similar to CNC router with special design modifications to make it lighter, cheaper and easier to control. A CNC router has to move heavyweight cutting bit with friction so needs expensive motors, rails, and belts. The WaterColorBot, on the other hand, needs only to move a paintbrush in a low friction environment.
I was instantly sold on the idea of using a WaterColorBot to control the Surface. I backed the Kickstarter, waited for my bot to arrive, and started working on software. When the WaterColorBot arrived, I was not disappointed. The assembly was quick and I was robotically painting in no time.
With the big mechanical and electronic solutions solved, my attention turned to the tablet. The Surface Pro is rare among tablets in that it uses a digitizer that allows extremely precise tracking with a stylus along with “hover” and “right-click” functionality. It does not need to be electrically grounded like a stylus for a screen that only supports capacitive touch. I was certain that the Surface Pro was the way to go, but not quite how it was going to be held together. The project was about to take a another serendipitous turn.
At this point, I shared my enthusiasm with Windell and Lenore of Evil Mad Scientist and they gave me a unique offer: Stop by the Evil Mad Scientist shop and together we would make a custom cut spoilboard (lower deck) fitted to mount the Surface Pro 2. Wielding digital calipers and other measurement and software tools, Windell came up with a design that held the tablet firmly and had extra space cut out for the charger, power button, and USB cable.
The area beneath the tablet has a lip and a lower recessed area. This design reduces wobble and makes it look even better. On the topic of machining – I got a few lessons in how larger CNC machines work. Windell showed me some design considerations in software and gave me a safety briefing about the CNC router itself. This thing can cut fast.
After a little sanding, we fitted the tablet, spoilboard, and WaterColorBot together. Having the co-creators of the WaterColorBot with me on this journey was priceless, as we can see from the final assembly. The first spoilboard we cut matched perfectly and the tablet is held firmly in place.
With enthusiasm fueled by seeing it all fit together, we decided to tell the WaterColorBot to do some painting. Windell loaded up an example sketch in Inkscape and, with only a minute to calibrate the stylus height, we were drawing!
The software running on the Surface Pro is called FreshPaint and we chose a simple marker tool. In the video, you’ll hear a laughter break where the Surface picked up the floating toolbar in the app and dragged it around the screen.
Given a little time, we could have taught the WaterColorBot to change brushes and colors in FreshPaint, but our goals for the day were met. The light weight and low friction of the Surface stylus is perfectly matched for use on the WaterColorBot. A custom fitted spoilboard means the Surface will always be at the exact same place on the X/Y plane, greatly simplifying future software development. Next project: Teaching the robot how to see!
(Full disclosure: My day job is Systems Operations with Yammer, a Microsoft company. This project and use of the Surface Pro 2 is not affiliated with Microsoft in any way nor did they influence the project with sponsorship or exercise any editorial control. If they had, I’d try to talk them into contributing a Surface Pro 3! “Surface” is a trademark of Microsoft Corporation.)