Tag Archives: AVR


XMega I/O Ports

Any microcontroller must have I/O pins for taking inputs and providing outputs. The ATXMega32A4U just like any other micro has 34 programmable I/O pins divided unevenly amongst six IO ports. Most I/O ports are 8 bit wide. XMega I/Os have digital, analog and special purpose functions. Some I/O pins have more than one use. A quick view of the XMega I/O pins reveals the purpose of these pins.

XMega Interior

Read more

Nickelphone: Coin-based Midi Keyboard

Tyler Bletsch’s Nickelphone is a coin-based music keyboard that has 15 nickels and 10 pennies arranged on a traditional 25-key piano-style layout and act as touch sensors. It can emit simple square wave tones through an onboard piezo buzzer, but its primary use is as a MIDI keyboard, so it can drive a full synthesizer (like FL Studio on PC). Tyler used an ATmega644 microcontroller for his project so that he would have enough I/O pins (each key uses its own I/O pin) for the 25 keys.

The Nickelphone

The Nickelphone

DIY wristwatch using Atmega328P

Zak Kemble from England has shared his digital wristwatch buildon his blog. It is a very neat and clever design using the Atmega328P microcontroller and a 1.3″ OLED for display. The watch is powered by a 150mAh LiPo battery which can be charged via USB. The onboard battery charging circuit uses Microchip’s MCP73832 device. The ATmega328P uses its internal 8MHz oscillator and runs on 2.5V derived from a linear regulator. Time-keeping is done with the DS3231M RTC chip. With 32K of program memory, Zak has implemented many other cool features besides displaying time and date, such as alarm, stopwatch, animation, games, etc.

DIY wristwatch using AVR MCU

Automate lights in your kitchen area

This project describes an automatic light system for kitchen sink where you need sufficient light to properly clean your dishes and vegetables. It uses an ATTiny84 microcontroller with a PIR motion sensor. When motion is detected, the microcontroller turns on the light. The light source consists of 10 bright white LEDs that are driven by a IRF612 MOSFET. One advantage of using a microcontroller is you can create light fade-in and fade-out effects using PWM.

Source:- http://macetech.com/blog/node/109


Read more

« Older Entries Recent Entries »