Let's start with this a number of projects based on AVR microcontrollers. The first is a "Scroll" leds of 7x5 pixels which includes a visual application design and animation signs.
Since I met Arduino , my curiosity about AVR microcontrollers has been growing. Scheduled buses had enough with PICs, but I always found it impossible to find a programmer who was not dependent on pure RS232 port. The AVRISP MKII is a USB programmer that can program almost any AVR micro that can be used from any platform (win, mac, linux).
In addition, AVR has a fully GNU GCC compiler (avr-gcc). This lets you develop applications without the use of commercial compilers, and also with full power of the language C and the GNU community. With WinAVR and AVR Studio (both free) can do the whole process of programming, compilation and recording of the firmware.
Moreover the AVR micros are based on a "core" common to developing applications for all models suitable only for each resource. Another advantage of the AVR RISC architecture is allowing you to run almost all instructions in one clock cycle, so time calculations are easier and accurate, besides being an ideal micro to save energy.
In this first project, we used an AVR micro ATtiny2313 that is perfect for 13-pin control necessary for the array of LEDs. We have also provided the pins on the most optimal order to occupy as little as possible.
BOM
- 1x Programmer for AVR micros ( AVRISP MKII in my case)
- 1x ATtiny2313 Microcontroller with fuses configured for internal oscillator 8Mhz Optimization (D1)
- 1x 5x7 LED Display Kingbright
- 1x 7805 voltage regulator
- 1x battery or 9V power supply
- 100uF capacitors 2x
- 2x Capacitors 100nF
- 5x 90 ohm resistors
Required Software
- Kalanda Led Composer to create animations.
- WinAVR and AVR Studio to compile the source code.
- Firmware source code for ATtiny2313
Diagrams and plates
No comments:
Post a Comment