Tag Archives: WinAVR

Using WinAVR with Notepad++

Notepad++ is an excellent/advanced text editor and can be customized to your needs in an easy way. But how you “convert” it to a AVR custom IDE? Check what Vasilis writes on his blog vpapanik.blogspot.gr:

Now that you’ve chosen to drop Arduino and write in pure AVR-GCC for your next project, there are more IDE options to suit your needs. From the nice Programmer’s Notepad, included in the WinAVR installation, to the official supercharged AVRStudio. And the list is endless…

For the last couple of years, my personal preference for an advanced text editor, is, by far, the excellent Notepad++. I am a big fan of its customizable color themes and syntax highlighting, lots of editing options (like clickable links) and plugin support. Notepad++ is of course completely free and open source.

Using WinAVR with Notepad++ – [Link]

Setting up AVR development platform

This article discuss how to setup an AVR development platform based on free available software and tools like WinAVR or AVR-GCC. WinAVR is a toolset for C programming the AVR microcontrollers including avr-gcc compiler, avrdude programmer, avr-gdb debugger and more. The article also discuss how to use an integrated development environment (IDE) like AVRStudio to complete a simple project. Check this article on the link below.

Setting up AVR development platform – [Link]

Simple two channel USB oscilloscope


This submini USB scope is based on a Atmel Tiny45 cpu and cost less than 5€ with a homemade pcb. It has 2 analog inputs and can supply 5V ont the 4 pins header on the right. One of the inputs can be scaled down with the trim pot. The firmware in the Tiny45 is written in C and compiled with Winavr and usb source code from obdev.

Simple two channel USB oscilloscope – [Link]

Atmel AVR Infrared Downloader

This project makes firmware upgrades easy: The target has an Infrared receiver and the data is sent via IR. The IR transmitter is based on AVR-USB.The host-side consist of host-program for Win32 PC using Libusb-Win32, device based on ATmega8 using firmware-only USB driver by Objective Development and infrared hardware unit.Host program was compiled using Lazarus Freepascal. Device firmware was compiled using WinAVR (AVR-GCC).The implementation uses custom device class, required simple inf file and libusb driver on PC. [via]

Atmel AVR Infrared Downloader – [Link]

Entry level AVR sound player


This is a very simple project demonstrating microcontroller sound generating. It plays audio bit stream generated from MIDI files. MIDI files must be converted with special Perl program (MIDICSV).

Project is made of only three parts: piezo buzzer, power supply (3×15V AA batteries) and AVR Tamega16 microcontroller. MCU runs from internal 1MHz clock – so no external clock sources are needed. It can be easily built quickly on any breadboard. Code is written in AVR-GCC language and can be compiled with WinAVR tools. [via]

Entry level AVR sound player – [Link]

Scrolling text effect on a LED matrix display


This is cool project to pay attention to. It can be used for PC modding or elsewhere where scrolling text effects are needed. Display is built of 50×7 LEDs that is controlled by AVR AT90S2313 microcontroller (may be substituted by ATtiny2313).

Text can be sent from computer via RS232 port or displayed from external EEPROM 2k memory where 768 characters can be stored. Fonts set of 256 different characters can also be programmed and mast be written to EEPROM before sending text to display. Hardware project with 3mm LEDs can be downloaded here. And latest firmware here. There might be minor changes are needed to adapt to newer WinAVR and ATtiny2313 microcontroller. [via]

Scrolling text effect on a LED matrix display – [Link]

Blue clock gift project


Want to please your friends or family, then make Christmas gift by yourself. This is nice looking blue LED clock project which can be made without significant efforts. Clock looks really nice when decorated with smoked gray acrylic. It has two push buttons for selecting time and alarm, while another two are for setting hours and minutes. The project heart is Atmega835 microcontroller and PCF8563P RTC module. Clock source is written by using WinAVR compiler.

Blue clock gift project – [Link]

AVR programmer and debugger in one board



Martin Thomas has this nice tool called Evertool in his collection. It is a AVRISP/STK500 and Programmer/JTAG debugger on a single board. It is compatible with AVRStudio with firmware upgrade-ability. So always new devices are supported.

Evertool has following features:

  • ISP Programmer compatible with Atmel AVRISP, with AVRStudio and avrdude accessibility;
  • JTAG debugger compatible with Atmel JTAGICE, works with AVRStudio and AvaRice;
  • All Atmel AVR devices supported with their AVRISP and JTAGICE.;
  • Easy update of the programmer via RS232/serial port;
  • Rescue clock generation to recover from wrong fuse-bit-settings;
  • Simple hardware, standard parts;

Evertool uses bootloader which is free for non-commercial use. Download latest version from here. Project is very well documented. There are also simplified versions of programmer available like JTAG only debugger, or even Evertool-USB version suggestion. Thomas Martin also has a nice collection of microcontroller programming examples including WinAVR and WinARM which is supported by him.

AVR programmer and debugger in one board – [Link]