AVR high voltage programmer 2

Dilshan Jayakody posted an update on his AVR high voltage programmer project we covered previously: AVR-HV2 is Arduino based high voltage parallel programmer for AVR microcontrollers. This programmer can read, write, and erase both flash memory and EEPROM. Also, this can use to set fuse bits of AVR MCUs. Compare with the previous version of […]

AtPack: Atmel Pack parser, visualizer and fuse calculator

  AtPack – Atmel Pack parser, visualizer and fuse calculator from Vagrearg: Looking for an up-to-date fuse-calculator for the Atmel(*) AVR chips has been something of a long search. There are several online versions, but they have not been updated to the new chips (like the ATmega328PB). When you have got an itch, you simply scratch […]

Vulcan-74: A 6502 Retro MegaProject

Radical Brad over at the 6502.org forum has been working on this cool 7400 logic VGA video game system, Vulcan-74: The Goals… Video must be perfectly stable VGA, putting out 256 colors at a resolution of 400×300 using an 8 bit color space divided into RRR-GGG-BB Video must include full 256 color 400×300 bitmapped screens with a […]

App note: Calibration of the AVR’s internal temperature reference

Another app note from Atmel, calibration of the AVR’s internal temperature reference (PDF!) This application note describes how to calibrate and compensate the temperature measurements from the ATtiny25/45/85. It can also be used on other AVR® microcontrollers with internal temperature sensors. The temperature measurement is based on an on-chip temperature sensor that is coupled to a single […]

App note: Voltage reference calibration and voltage ADC usage

An app note from Atmel,  voltage reference calibration and voltage ADC usage (PDF!): Features • Voltage reference calibration. – 1.100V +/-1mV (typical) and < 90ppm/°C drift from –10°C to +70°C. • Interrupt controlled voltage ADC sampling. • Calculation of voltage and temperature from voltage ADC measurements. Some of the new Atmel AVR Smart Battery devices contain […]

App note: Digital sound recorder with AVR and DataFlash

An app note from Atmel, digital sound recorder with AVR and DataFlash (PDF!): 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 […]

App note: Tips and tricks to optimize your C code for 8-bit AVR microcontrollers

An application note (PDF!) on code optimization in AVR microcontrollers from Atmel : Features • Atmel® AVR® core and Atmel AVR GCC introduction • Tips and tricks to reduce code size • Tips and tricks to reduce execution time • Examples application AVR core is an advanced RISC architecture tuned for C code. It ensures the development of […]

App note: Using the AVR’s High-speed PWM

Atmel’s app note on using the AVR’s High-speed PWM (PDF!): This application note is an introduction to the use of the high-speed Pulse Width Modulator (PWM) available in some AVR microcontrollers. The assembly code example provided shows how to use the fast PWM in the ATtiny26. The ATtiny15 also features a high-speed PWM timer. The fast PWM […]

Using the AVR hardware multiplier

Here’s how to use the hardware multiplier to make a multiply-and-accumulate operation (MAC), an app note from Atmel (PDF!): Features • 8- and 16-bit Implementations • Signed and Unsigned Routines • Fractional Signed and Unsigned Multiply • Executable Example Programs The megaAVR is a series of new devices in the AVR RISC Microcontroller family that includes, among other […]

ATXMega Primer

Shawon Shahryiar over at Embedded Lab talks about Atmel XMega in this tutorial: At present we have different families of XMega devices. Of these many we are focused toward the AU series only throughout this post and its following ones. I’ll explain later why I’m interested in this series. This is the first post of a series of posts […]