AVR ISP Programming Via Arduino

ardunio avr isp programming

We found this Arduino AVR ISP programmer particularly interesting. AVR microcontrollers can utilize an interface called In-System-Programming. ISP allows the chip to be programmed or reprogrammed while in an actual circuit via a pin header. Atmel’s solution is the AVR ISP MKII programing tool. The MKII can also be reprogrammed just as an AVR. The difference here is that most people are not likely to modify the MKII to be used as anything but a programmer. On the other hand if you already have the Arduino, fetch the avr.isp.03 firmware and AVRdude. Then program a device, for example an ATtiny13 using the Ardunio as the programmer. All the project information is provided under the CC BY-NC-SA 3.0 license. On a related note we covered a Microcontroller cheat sheet which covers AVR devices and ISP pinouts.

Hacking An IButton

breadboard1

Maxim’s iButtons, which are small ICs in button-sized disks, are starting to show up in more and more places. They have a range of uses, from temperature loggers to identification, and all use the 1-wire protocol to communicate. Over a furrtek, they hacked an iButton used for buying things from vending machines and created an infinite money cheat. They built a small rig based on the ATmega8 to read and write data to the chip. The data was encrypted, so it wasn’t feasible to put an arbitrary amount on the card. Instead, they used a similar technique to the Boston subway hack and restored a previous state to the iButton after something was bought. They also created a hand-held device to backup and restore the contents of a button for portable hacking.

[Thanks furrtek]

AVR Boost Converter

avrboost

Over at SpriteMods, [sprite_tm] realized that a microcontroller could be used as a boost converter to power itself. A boost converter steps up voltage from a battery by switching the output of a coil. First, it is tied to ground so a magnetic field can build up in the coil. It is then released as a higher voltage than the input. Normally dedicated chips do this at an incredibly high frequency, but the PWM signal from an AVR works well enough. This can be used in low-power situations where space is an issue.

[via EMSL]

DIY AVR USB RGB LED Notifier

LED_notifier_in_place

Giving us a chance to break out the TLAs, [Blair] sent in his latest hack where he embedded an RGB LED into his EeePC to display twitter, pidgin, and email notifications. It is based around the ATtiny45, and requires very few additional parts. He based the project on a foundation of work laid by [Dennis Schulze] on notifications and the work of [Dave Hillier] that used V-USB, a library for implementing USB on AVRs. The entire circuit was done freehand and crammed inside the netbook. He says that it is a lot easier to see notifications, even when the laptop is shut.

Related: Email notification via RGB LED

C64 USB Keyboard

breadboard

[Maarten] told us about a C64 USB keyboard that was modified to be used as a standard input device. An interesting aspect of the project is the use of V-USB (formerly known as AVR-USB). V-USB is a software only approach to slow speed USB HID. In essence this is a two fold mod, The C64 keyboard is patched to a PC, and an off the shelf AVR is software-hacked to bit bang the USB communications. The author notes an initial problem with multiple key presses that was later corrected in the application. For the other side of the spectrum, we had covered the C64 twittering client, and a commodore 64 laptop.

World Smallest TV-B-Gone

uTVBG

The TV-B-Gone has proven to be a dangerous and versatile gadget. At Interactive Matter, they created an even smaller version with more sneaking potential. Called the µTVBG, it packs an entire TV-B-Gone in a 1.4 x 2.5 cm footprint and even has room for a programming header. He found some high-powered surface-mount IR LEDs that would match the original TV-B-Gone’s power. To drive the board, they used a CR1220 button battery on the bottom of the board. The whole thing is smaller than your thumb and should be easier to hide next time you wreak havoc.

SparkFun Open-sources Latest Kits

09205-5

SparkFun has started to release some of their kits as open-source hardware. Projects such as ClockIt, a simple alarm clock, have their schematics, board designs, and source code released under the CC-by-sa license. Although most of their widgets and projects already had example code and schematics available, they are now using an open-source license. They are joining adafruit and EMSL and others in pushing OSH, but it is interesting to see an established company turn to this. Normally, startups do this to encourage early adoption.

[via adafruit]