Rechargeable Battery Capacity Tester

Rechargeable-Battery-Capacity-Tester

If you are like most people, you likely have a mixed pile of rechargeable batteries sitting around with no idea as to what kind of charge they can hold. You could watch a voltmeter for a few hours while you drain each and every battery, noting when it drops below its stated voltage – but then again, you have a life.  Instead of wasting away in front of his multimeter, [BrianH] decided he would build an automated battery capacity tester to do the job for him.

He created a simple circuit that drains any AA battery, NiMh or NiCd, and records its useful capacity in milliamp hours.  Since the ATMega168 microcontroller used has 6 analog/digital converters on board, he figured that he might as well design his tester to measure the capacity of three batteries simultaneously.  [BrianH] wired the meter up to an old Nokia LCD, then moved his project to a perfboarded ATMega, freeing up his Arduino for other tasks. Once he had things reassembled, he packed it all into a handsome wooden box.

His writeup is chock full of details and source code, so be sure to check it out.  We have video of the charger in action after the jump.

Continue reading “Rechargeable Battery Capacity Tester”

STK200 Pocket Change Programmer

A common complaints of beginners to microcontroller programming is the availability of DIY tools that do not require a parallel port.  Using not much more than a couple of 74xx series chips and some protoboard, [Rue] was able to create an AVR programmer for less than the cost of some chips it can program – giving parallel programmers a run for thier money. [Rue] used Linux treat the ubiquitous PATA/IDE port as a parallel port. By having avrdude treat the programmer as an Atmel STK200, [Rue] was able to upload a blinky program to his AVR microcontroller through ISP. If anybody can think of an even lower cost unconventional solution give us a shout.

Roll The D’Icey

Most of the dice related hacks we run into have to do with pseudo random number generation, but today we saw something different. This sleek looking jumbo die is actually a prize holding box opened by a secret sequence of rotations. Using an accelerometer and an ATmega 328 with a sub-micro servo to control the locking mechanism. Worried about the batteries going flat and losing your treasure indefinitely? Good news! The batteries are accessable without giving away the secret inside.

It also turns out that this is an update to an earlier project from the same laboratory, so be sure to check that out as well to see where this build came from. Code is available for anyone looking to make their own, as well as a useful parts list.

[via Hacked Gadgets]

Connecting A Nokia 3310 LCD Using An AVR

In this instructible, [wkter] takes us through the process of running a Nokia 3310 LCD display using an ATmega8.  This instructible isn’t a beginners project as he assumes you already have a strong understanding of how to work with these components and their programming languages. He is very thorough with information though, providing datasheets, pinout diagrams, and source code. Once you get this down, you could go a little further and make  Conway’s game of life.

Magically Repair AVR Chips

If you’ve ever spent time working with AVR microcontrollers you’ve probably set the fuse bits incorrectly at least once. The ATmega fusebit doctor will automatically repair the fuse bits and get you back in business until your next mishap. The ATmega8 that powers the device has the chip signatures for the ATmega family stored inside so it will automatically detect which chip you’re trying to ‘unbrick’. From there it looks up the correct fuse bits and resurrects the sick microcontroller. This is useful in recovering a chip that has serial programming disabled, used the reset pin as I/O, or just enabled an external clock without the necessary hardware to deliver on that feature.

This magic is taken care of by using High Voltage Parallel Programming. We’ve seen HVPP used in the Arduino rescue shield and it is a valuable feature of the AVR Dragon, our favorite AVR programmer, as well as others. Still, you can hardly beat the ease of plugging a dead chip into this board and pressing one button. Oh, did you brick a member of the ATtiny family? There’s a rescue board for those too.

[Thanks Stewe]

Human Tetris: Object Tracking On An 8-bit Microcontroller

Elaborating on an item previously mentioned among last weekend’s Cornell final projects list, this time with video:

For their ECE final project, [Adam Papamarcos] and [Kerran Flanagan] implemented a real-time video object tracking system centered around an ATmega644 8-bit microcontroller. Their board ingests an NTSC video camera feed, samples frames at a coarse 39×60 pixel resolution (sufficient for simple games), processes the input to recognize objects and then drives a TV output using the OSD display chip from a video camera (this chip also recognizes the horizontal and vertical sync pulses from the input video signal, which the CPU uses to synchronize the digitizing step). Pretty amazing work all around.

Sometimes clever projects online are scant on information…but as this is their final grade, they’ve left no detail to speculation. Along with a great explanation of the system and its specific challenges, there’s complete source code, schematics, a parts list, the whole nine yards. Come on, guys! You’re making the rest of us look bad… Videos after the break…

[G’day Bruce]

Continue reading “Human Tetris: Object Tracking On An 8-bit Microcontroller”

AVR Synth/sequencer

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

[kernelcode] has built this pretty slick looking sequencer/groovebox and shared the process with the world. At its heart you’ll find an AVR atmega168 along with a hand full of buttons and blue LEDs. He says the total cost was somewhere around £15-20, so that’s somewhere under $40 for the American readers. There are tons of great pics of the build and it looks like he’ll be uploading source code soon as well.

[via hackerfoundry.com]