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 […]
Tag Archives: AVR
PiggyFuse HVSP AVR fuse programmer
Nerd Ralph published a new build: Although I’ve been working with AVR MCUs for a number of years now, I had never made a high voltage programmer. I’ve seen some HVSP fuse resetter projects I liked, but I don’t have a tiny2313. I think I was also hesitant to hook up 12V to an AVR, […]
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 […]
Electronic film clapper
Steve Smith from ProjectAVR has published a new build: On the board, I included several options to tailor the design to the builders taste. Provision for both a digispark board or bare ATTiny85 chip, small or large tact switches and a jumper to defeat the LEDs supply resistor for extra brightness. I chose to build […]
Temperature alarm for boiling milk
Domen Ipavec shares his temperature alarm for boiling milk in the project log forum: Anyone who has ever boiled milk on the stove knows, that it has a nasty habit of overflowing. That is why I created the temperature alarm for boiling milk to be used my mother. The temperature alarm uses attiny841 microcontroller and […]
An Android TV-stick baseboard
Necromant designed and built an Android TV stick baseboard: The idea was dumb simple. I needed a USB hub, since TV sticks don’t have many USB ports included. I needed GPIOs, so I threw in an attiny2313 that occupied one of the HUB’s ports, I needed a few relays and I wanted to control the […]
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 […]
How to develope for the ATtiny85 without becoming insane
Lembke writes: I like the ATtiny85. It is small, comes in a solder friendly DIP 8 case, has 8k Flash + 512 Bytes Ram, 5 to 6 IO pins at 8 MHz with no external parts. But developement is a pain: no serial (ok, it is possible but needs ports) and debugWire is even more […]
AVR timer-based one shot explained
Josh writes: Last time, we made one-shot pulses using the AVR’s built in hardware timer module. Today we are going to dive deep into the datasheets to see how this technique is able to coax the normally free-running timer into generating a single pulse. Along the way, we will learn about the low level rules […]
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 […]
TinyPrime project based on ATTiny13A
Spacewrench over at Dorkbotpdx writes: This is a rebuild of the TeensyPrime project I built a while ago, using a separate breadboard that’s almost too small (I had to use magnet wire to fit some of the connections) and a microcontroller that’s almost too small. The ATTiny13A is a neat chip: AVR with 1K of flash, […]
Serial AVR and PIC programmer
Dr. Ayman Shalaby over at Electronics Lab posted another project, a serial AVR and PIC programmer: This is a dual MCU programmer which supports both AVR and PIC mcu and there is a switch to select between them. It’s easy to manufacture and have only through hole parts. Features – RS232 Serial interface – AC-DC […]
Zero-wire serial auto-reset for Arduino
A followup to the Modify an off-the-shelf CP2102 module as an Arduino programmer post, Ralph Doncaster writes: Instead of modifying the USB-TTL adapters, I modified the AVR board and the avrdude software to reset the AVR with a break signal. This way just Rx, Tx, Gnd and Vcc are needed.
aspspi – USBasp SPI terminal
Nerd Ralph writes: While writing the picoboot module for avrdude, I noticed avrdude has a terminal mode which allows for commands to be sent to an AVR. The serial programming interface for AVR MCUs uses SPI, similar to the nrf modules. I realized instead of an AVR, the programmer could be attached to any device […]
