avr

Digital sound recorder with AVR and DataFlash

This application note describes how to record, store and play back sound using any AVR microcontroller with A/D converter, the AT45DB161B DataFlash memory and a few extra components. This application note shows in detail the usage of the A/D Converter for sound recording, the Serial Peripheral Interface – SPI – for accessing the external DataFlash …

Digital sound recorder with AVR and DataFlash Read More »

Battery Fuel Gauge with Zero Parts and Zero Pins on AVR

It can be nice to know how much battery power you have. It becomes critically important with LiPo batteries since you can permanently damage them by running the voltage down too low. Typically battery voltage detection requires adding a circuit with extra parts and their associated power requirements. Wouldn’t it be great to be able to do this using …

Battery Fuel Gauge with Zero Parts and Zero Pins on AVR Read More »

Beyond the Arduino IDE: AVR USART Serial

A microcontroller is a self-contained, but very limited computer — halfway between a computer and a component. The top reasons to integrate a microcontroller into your projects are connectivity and interactivity, and one easy way to get your microcontroller talking with the outside world is standard asynchronous serial I/O. Many devices can communicate this way, …

Beyond the Arduino IDE: AVR USART Serial Read More »

Build a Complete AVR System and Play Mastermind using Arduino

The game Mastermind has been around a long time, and I remember getting a board version with colored pegs when I was a kid. I love this game, as it is solvable simply by pure logic. One player (or a computer/microcontroller) chooses a sequence of colors from a pool of available colors and then the …

Build a Complete AVR System and Play Mastermind using Arduino Read More »

Scroll to Top