PDA

View Full Version : Automated programming and testing jig built with Raspberry Pi



wraggster
June 10th, 2013, 22:53
http://hackadaycom.files.wordpress.com/2013/06/automated-programming-testing-rig-built-from-rpi.jpg?w=580&h=437
[Doug Jackson] makes word clocks, and he must be doing quite a bit of business. We say that because he put together a programming and test bed for the clock circuit boards (http://www.instructables.com/id/A-Programming-Jig-for-our-DougsWordClockcom-DeskC).
This is a great example to follow if you’re doing any kind of volume assembly. The jig lets the populated PCB snap into place, making all the necessary electrical connections. This was made possible by a package of goods he picked up on eBay which included rubber spacers to separate the board from the acrylic mounting plate, pogo pins to make the electrical connections, and a spring-loaded board clamp seen to the left in this image.
The switch in the lower right connects power to the board and pulls a Raspberry Pi GPIO pin high. The Python script running on the RPi polls that pin, executing a bash script which programs the ATmega169 microcontroller using the GPIO version of AVRdude (http://blog.stevemarple.co.uk/2013/03/how-to-use-gpio-version-of-avrdude-on.html). We looked through his Python script and didn’t see code for testing the boards. But the image above shows a “Passed” message on the screen that isn’t in his script. We would wager he has another version that takes the hardware through a self test routine.
We first saw one of [Doug's] word clocks back in 2009 (http://hackaday.com/2009/09/27/word-clock-tell-the-time-with-words/) and then again a few months later (http://hackaday.com/2009/12/11/word-clock-redux/). The look of the clock is fantastic and it’s nice to see the project is still going strong.

http://hackaday.com/2013/06/10/automated-programming-and-testing-jig-built-with-raspberry-pi/