This is my first time using the AVR. I like to learn using the ATTiny 2313, because it is faster than MCS-51, cheap and the circuit is very simple. The chip has only 20 pins. I was interested because I want to build a simple line follower robot controlled by this MCU.
The circuit has built in voltage regulator, the LM7805 and the ISP Header for program loading. The DC input circuit also has protection diode 1N4002.
DOWNLOAD EXPRESS PCB FILE: AT-Tiny2313.zip
1 The XTAL can be 4MHz, 8MHz, or 11.0592MHz.
2 DC input voltage using the AC adapter can be 6V-15V.
The ISP loader cable can be made easily from the circuit shown in Figure 3. The connector is DB25 male type. The cable length should be less than 1m. This loader is compatible with most of the desktop LPT port.
Using the CodeVision AVR
1. Create New Project by click File -> New
2. Click Yes to use The CodeWizardAVR.
3. Set the Wizard like this. (for XTAL 11.0592 MHz). Then Click File -> Generate, Save and Exit
For more detail: Project Development Board using ATTiny2313 microcontroller