Pi-A-Sketch

14th of January 2013 by liz
submit to reddit

Francois Dion is someone I exchange emails with every now and then. He’s the guy behind the excellent (and multilingual: check the site for posts and tutorials in English, French, Portuguese and Spanish) Raspberry Pi Python Adventures blog. He’s a hackspace member from North Carolina, and he’s been giving lecture-demonstrations of the Raspberry Pi (and lasers) to interested groups, and promoting it in schools locally. Our community would be nothing like as large and colourful as it is without people like Francois, who put their own time and energy into spreading the word about Raspberry Pi with no support from us at the Foundation – we are very, very grateful to Francois and all the other people out there who make so much effort on this project’s behalf. (Seriously; next time I’m in NC, I will be making a studied effort to fill Francois full of gratitude-symbolising food and drink. In as many languages as I can muster.)

Francois has been making something really cool.

circles on a greyscale display

Is it e-ink? No…

A little while ago, he attended a session at PyPTUG (the PYthon Piedmont Triad User Group) about motors. “We did a lot of stuff with motors. DC, servos, H bridges, PWM and steppers. It was a very dense 3 hours. We covered a lot, and it was a lot of fun.” He went away to think deep thoughts about what sort of fun you could have with a Pi and some stepper motors; and he came up with the Pi-A-Sketch.

Pi-a-Sketch set up, stepper motors visible

The stepper motors you can see here have the same diameter as the shaft of the familiar twirly knob they replace.

Equipped with an Etch-a-Sketch, some stepper motors, a battery pack, a Pi, an 8-channel Darlington pair and some leds, wires and headers, Francois has made a device that uses Python to draw all those things on an Etch-a-Sketch that, as kids, had us throwing the things at the floor in frustration at the uselessness of our fat thumbs. Horizontal, vertical and diagonal lines? No problem. And with a bit of help from Bresenham’s algorithm, you can draw circles too. (Eben has a funny story from when he was about 11 which involves Bresenham’s algorithm, a BBC Micro, the days before the internet, inter-library loans and the month’s wait he had to endure before he was able to get his hands on the very simple information he needed to draw a line on the screen. Ask him about it if you see him and you need a reminder of how lucky we are to have the ability to look this stuff up online.)

“What practical use is all this?” I hear you mutter at the screen. Well, so far it’s gone down a treat at talks Francois has been giving about the Pi and programming. This sort of demonstration is exactly the sort of thing that captures the imagination, and opens up the eyes to what you can achieve with a little programming and a little solder flux. Here’s something familiar that you can pass around an audience (thanks to that Kodak battery pack), made magical with the addition of a little science. We love it, and so did the audience at the IEEE in Winston Salem, NC, where Francois first showed this project off.

Circles and lines on Etch-a-Sketch panel

Instructions on how to get the hardware set up are available at Raspberry Pi Python Adventures, and Francois will also be writing a post about the Python that you’ll need to get things working in the next few days. (I’ll update this post when he’s ready – in the meantime, you can find the source code at Bitbucket.) Thanks Francois; we look forward to hearing more from you!

 

 

Buy a Pi!

buyapi

buypiswag
News Archives

Supported by


In the forums
  • portets, 3 minutes ago: Power users • Re: Overclocking
    It seems that I don't get corruption overclocking core_freq under the new Fedora image. Can anyone confirm?It comes with May 14th firmware, which(iirc) corrupts under Raspbian. One major difference is that Fedora doesn't come with the CPU governor.
  • Gustaw, 4 minutes ago: Troubleshooting • Re: Getting SSH tunnelled / secured VNC to work
    OK, here we are.Yesterday I tried to post my first message in this topic (see above) but it got moderated (!) and then only released overnight. So my original posting is a bit outdated. Since yesterday afternoon I made a…
  • rpdom, 7 minutes ago: Troubleshooting • Re: No network on boot when 3.3v connected to circuit
    There's nothing wrong with overriding safe mode, as long as you remember that you have done it and what to do to get it back if you need it. It is very unlikely that most users would ever need to…
  • ouafnico, 7 minutes ago: Fedora • Re: Pidora 18 (Raspberry Pi Fedora Remix) Release
    Does Pidora contains all needed for the raspberry webcam ?
  • zepjau, 8 minutes ago: Español • Motion
    Hola.Estoy intentado configurar motion y aunque funciona me dá constantes errores, incluso se llega a cortar la ejecucion y automaticamente arranca de nuevo.Entre otros mensajes :Unsupported marker type 0x89 motion acompañado de errores como corrupt file jpeg...¿Alguien ha tenido los…

On Twitter
  • asbradbury, 2 hours ago
    Pekka Paalanen has written a great technical blog post about implementation of the new Weston @Raspberry_Pi backend http://t.co/PIIJJa6rzE Cambridge, UK
  • adafruit, 3 hours ago
    How To Disable The Red LED On The Pi Camera Module #piday #raspberrypi @Raspberry_Pi http://t.co/fuUzkC7KYI New York, NY - USA
  • masafumiohta, 3 hours ago
    now 1 ticket available for Non-Japanese registration for our Big Jam in Tokyo check http://t.co/nY5ScK8Mxn CCed: @Raspberry_Pi @TheMagP1 Tokyo
  • TeamRaspi, 15 hours ago
    Very cool car computer by @FlamelilyIT using @Raspberry_Pi - new blog post http://t.co/i1lefiRhUX Cambridge

Friends of Pi