PIC Powered AVR Programmer

[Texane] wrote in to let us know he has implemented AVR ISP programming using a PIC microcontroller. He wrote some code for an 18F4550 that uses the STK500 standard for In System Programming. This means that his hardware is compatible with AVRdude, the open source AVR programming software. There has long been an argument over the virtues of PIC versus AVR but we say why not both? If you have already honed your programming chops with PIC, you can build your own programmer and give the Atmel family a try.

The current implementation uses a serial port to connect the programmer to a computer. Keep your eye on this one as [texane] plans to add USB connectivity and has told us he will post schematics for the device as soon as that is complete.

PCB Light Box In A Scanner Shell

scanner-exposure-box

[Kizo] repurposed a flatbed scanner to use as an exposure box for making printed circuit boards. Exposure time is controlled by an AVR ATtiny2313 microcontroller. The device is connected to a separate display board to control four 7-segment displays using one shift register for each. Time is set in ten second increments and once started, switches on the lights with a relay. Once the right exposure time has been reached, the lights are switched off and a piezo speaker is buzzed. There’s no mention of they type of bulbs he’s using but they look like compact fluorescent with tin foil beneath as a reflector.

If these are just CFL bulbs, how will the performance compare to a light box based around a UV light source?

[Thanks Jake]

CNC Hot Wire Cutter From Scanners

hot-wire-cutter-from-scanners

[Raul] built a CNC hot wire cutter that he uses for cutting shapes out of foam. His device uses two flat bed scanners to provide two planes of motion. One scanner arm has the foam mounted on it and provides the Y-axis movement. The other scanner has the hot wire mounted on it and provides the X-axis movement. The cutting wire is mounted on a flexed bow made from heavy gauge coat hanger wire.

He tapped into the logic board of one scanner to gain access to the motor movements. The other is connected through a couple of H-bridges. Both are controlled by an Atmel AVR ATmega128 which in turn takes its commands from a connection with a computer printer port. A python program uses vector graphic files in SVG format and traces the outline for cutting.

We’ve got a video of this in action after the break. At our request, [Raul] took some time to post a set of pictures and make comments on them. Thanks for the hard work and great job! Continue reading “CNC Hot Wire Cutter From Scanners”

72 LED Persistence Of Vision Globe

HaD-pov-globe

[Ben] told us about his POV globe yesterday. We took a look and saw just one photo and the code with no real explanation of his project. He certainly set to work over night and now we see all the goodies we look for in a great build log. He even threw the Hackaday logo up for our enjoyment. His build is well executed and he found some creative ways around the common problems in these projects. We take a closer look after the break. Continue reading “72 LED Persistence Of Vision Globe”

Jamin’ To Bach, Commodore 64 Style

[youtube=http://www.youtube.com/watch?v=MOhzkWZHBfM]

[thrashbarg] missed the sounds of the Commodore 64 and longed to hear the great masters in 8-bit glory. To get his fix, he created a midi device using the original Sound Interface Device from those long-dead systems. He’s interfaced the MOS6581 SID with an Atmel AVR ATmega8 microcontroller. The receiving pin for the AVR’s UART is used as a MIDI-IN connection, with the microcontroller converting midi data into the proper sound generation specs for the SID. The result is the 10 minutes of [Bach]’s Brandenburg Concerto heard in the embedded video above.

We have no idea where he picked up this obsolete chip, but if you want to give this a try, perhaps you’ll have some luck emulating the MOS6581 by using another ATmega8.

AVR Dragon Wiring Alternative

dragon_jumper_board

We love our AVR Dragon programmer. It is a small board with a lot of functionality: in-circuit serial programming, JTAG, debug wire, and high voltage serial programming. Unfortunately, out of the box it is not quite ready for action. The Dragon ships with an unpopulated prototyping area and missing a pin header for the HVSP. For most people this means soldering on pin headers and a ZIF socket then jumpering between the various programming headers and the header for the socket. Tired of working with jumper wires, [Jussi] designed a small PCB to make the connections (original link in Finnish). Continue reading “AVR Dragon Wiring Alternative”

Vintage Hack – Game Boy Camera

Screenshot

Back in 2005, a member of a French robotics team named [Laurent] wrote a wonderful how-to that we somehow missed on using the Game Boy Camera as a vision device for a robot. The images above are actual shots from his project. The Game Boy Camera features a stunning 128×123 pixel resolution in a gorgeous 4 color gray-scale palette. Possibly the most attractive feature of this hack is that it is still possible to get a hold of these cameras for under ten dollars on ebay.

He connected the camera sensor to an Atmel AT90S4433 using a combination of digital and analog signals, and then used the microcontroller to echo the data back to his PC. His write up includes schematics for wiring up the sensor/microcontroller, the datasheet for the sensor, his C code for the whole project, and an easy to read pin out of the GBC connector. Although his project simply offloaded the image to a computer, it would be entirely possible to have the microcontroller respond to the image or simply just log and store it. It would also be just as easy to replace his Atmel chip with your own favorite microcontroller, as long as it has a couple Digital I/O ports and at least one Analog port (or an external analog to digital converter).

UPDATE: Good catch r4v5, it would require an ADC, not a DAC.