|
Designed by: Vassilis Stergiopoulos Published by: Vassilis Serasidis at 13.Dec.2008
Introduction You can experiment with Atmega8515 economically and easily. You can construct the following board, buy an AVRISP unit, download from Atmel AVRstudio and you are ready. The circuit is easy and I believe is very useful. Instead of paying a lot of money for evaluation boards or development systems, you can start with this board I have made and the help of an AVR In System Programmer (AVR ISP). This is the way I work. Firstly, I wrote the software and then I burnt the AVR with an ISP. With this board I studied the chaos of timers on ATmega8515 for just a few PWM (Pulse Width Modulation) applications. If I want another one board, I build it in less than a half an hour. I think these boards and source codes I give you, will be very useful for people who start their journey to the magic world of AVR microcontrollers.
The circuit I have placed an electronic stabilization unit with 7805 IC1. D1 is for protection against wrong connection. C2, C3 are always present for proper operation of IC1. C4 is for better filtering. The unit is powered with a rectified AC wave of 9Volts. There are 6 pins for ISP (In Circuit Programming) where you can connect the AVRISP. For simplicity the connector is split in two. You can easily build an adaptor for ISP connector as shown below. You can write a test program and directly test it on this board. I have placed pins at every pin, so I can connect any additional components with an additional board, like the test leds shown.
I have also two test programs where we can see some interesting simple uses of the timer TC0 of the unit. In the examples I give an example of interrupt. You can see a way of varying the intensity of a LED.
Components list IC1: 7805 IC2: ATmega8515 C1: 1ìF C2=C3: 10 nF C4: 1000 D1: 1N4001 The back side of the board, showing the connections.
Below the ISP adapter is shown. This way the final pcb is significantly simplified that using a 2x3 pins array. Also a simple LEDs array that can be plagued easily to the pins. The common is connected to ground with separate pin (white wire)
|
||||
|
Created by Vassilis Stergiolpoulos and published by Vassilis Serasidis at 13.Dec.2008
|