Adding RS-232 DTR signal output to an AVR running the avr-cdc USB library

Cmdrk33n hacked the avr-cdc library to add the RS232 DTR signal output to one of the pins on his ATtiny MCU. Only a few lines of code need to be changed to implement his solution. Demonstrated in the above video is the DTR signal turning the LED on whenever a terminal window (connection) is opened. […]

AVR based intelligent temperature monitoring and control system

Shawon designed, and built an AVR based intelligent temperature monitoring and control system. He documented both the hardware, and the firmware on his blog, with in depth descriptions on how everything works. Controlling temperature has been a prime objective in various applications including refrigerators, air conditioners, air coolers, heaters, industrial temperature conditioning and so on. Temperature […]

AVR based USB website hit counter

AVR based USB website hit counter, displays the hit count on a 8 digit 7-segment display. This is a USB Physical Hit Counter. This version requires one MCU to communicate between PC and 7-segments display driver.I decided using AVR microcontroller and this is my first AVR project.The purpose of this project still same as previous […]

Little Wire beta V1.1 firmware and software released

Kehribar released the v1.1 beta firmware and software for the Little Wire AVR multi-tool. He added support for the 1-wire protocol, made the I2C, SPI, and the AVR debug console interfaces more robust. Other features include new 3 channel pulse-width modulator, software controlled internal pullup resistors, andPIC24F series programming capability.

App note: Control a USB Host-enabled AVR from an Android device

Atmel describes how to control an AVR chip from an Android device. This document introduces the Android Open Accessory Protocol  for Atmel® microcontrollers. The library and examples are  included in the Atmel AVR® Software Framework (ASF) to provide the customer with a quick and easy way to get started with developing an Android accessory. The […]

AVR performance monitoring using the Open Bench Logic Sniffer

Alan wanted to check out just how much performance he could squeeze out of the ATMega328P. He needed was a way to measure the amount of time the CPU actually uses while executing various tasks. Using the Logic Sniffer to read a pin, that he toggles ON when the CPU is executing a task, and […]

Capacitive touch sensing with a single ADC pin

Capacitive sense buttons and pads are awesome, but many of the available systems are either propitiatory or require a dedicated IC. Toumas decided to code his own based on a closed source Atmel example where a single ADC pin is used for capacitive sensing. He reverse engineered it, and documented his results: I’ve been thinking […]

Single-sided Little Wire AVR programmer

MickM build a single layer version of the Little Wire project. He uploaded the source files for the board in the forum. Little wire is am ATtiny-based open source AVR programer that’s packed full of features: An AVR programer Four digital GPIO pins ADC with 10 bit resolution Two parallel hardware PWM outputs An USB […]

BoardX motherboard update

Kevin unveils the first production run of the successfully funded kickstarter BoardX project. The BoardX are development boards intended for a wide range of microcontrollers, which are placed on add-on boards. It’s finally here, after months and months of waiting. The box that arrived weighed about 45 pounds and was divided neatly into four smaller […]

Update on the Little Wire AVR programmer

Little Wire is a ATtiny-based open source AVR programer, we wrote about it previously. This project should soon be available at Seeed Studio in kit form.  Here are some updates since our last post: I finished the C and C++ libraries. I created examples for C and C++ , doxygenreference page for C++, documented and […]

2boots: Arduino/AVR serial and SD card bootloader

Martin tipped us off to an AVR/Arduino  serial and mmc/SD card bootlaoder. It was designed to fit the same 2kb memory area that the usual Arduino booloader fits into, but can load firmware from an SD card too. Very useful for on “in the field” programing. This is a proof-of-concept dual bootloader for Atmel AVR […]

Reciprocal frequency counter

Alan built a reciprocal frequency counter. What sets reciprocal counters apart is that they adjust to the signal measured, sort of an auto-ranging feature. It is AVR based and automatically enables or disables a prescaler to handle frequencies from 0.5 Hz to 100 MHz. It can give the same precision whether the signal is fast […]

AVR based 4 channel mini logic analyzer

This small 4 channel logic analyzer uses a ATmega microcontroller and a Nokia 5110 LCD. It’s able to capture signals only up to about 100Khz, but there is probably some room for improvement. This mini Logic analyzer is a tool for you to watch on LCD the logic transitions 0 or 1 of a digital […]

Re-purposing an LCD from a cheap picture-frame key chain

Here is a hack to extract, and use the LCD from a cheap picture-frame key chain. The project involved desoldering the LCD from its mainboard and building a breakout for it. With the help of a DSO it was possible to find out the pin-out for the LCD. The AVR library used to drive this […]

Breakout board for the 44pin QFN ATxmega microcontroller

Brendan built a breakout board for the 44pin QFN ATxmega uC. He designed the board to have a USB connection and a 500mA 3.3V power supply. 30 of the pins were broken out to two rows of 0.1” pinheaders on either side of the board. You can download the source files from GitHub. I recently […]