Summary of Project Development Board using ATTiny2313 microcontroller
This article outlines building a simple line follower robot using the ATTiny2313 microcontroller. The author highlights its speed, low cost, and simplicity compared to MCS-51. The project involves constructing a custom development board featuring an LM7805 voltage regulator, ISP header, and protection diode, alongside creating a DB25 ISP programmer cable. Code is generated using CodeVision AVR with specific crystal frequency settings.
Parts used in the Line Follower Robot:
- ATTiny2313 microcontroller
- LM7805 voltage regulator
- ISP Header
- 1N4002 protection diode
- XTAL (4MHz, 8MHz, or 11.0592MHz)
- DB25 male connector
- CodeVision AVR software
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.
Board Construction
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
Notes:
1 The XTAL can be 4MHz, 8MHz, or 11.0592MHz.
2 DC input voltage using the AC adapter can be 6V-15V.
ISP Programmer
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
- Why did the author choose the ATTiny2313?
The chip is faster than MCS-51, cheap, and has a very simple circuit. - What components are included on the development board?
The board includes an LM7805 voltage regulator, an ISP Header for program loading, and a 1N4002 protection diode. - What XTAL frequencies can be used for the project?
The XTAL can be 4MHz, 8MHz, or 11.0592MHz. - What is the acceptable DC input voltage range?
The DC input voltage using an AC adapter can range from 6V to 15V. - What type of connector is used for the ISP loader cable?
The connector is a DB25 male type. - What is the maximum recommended length for the ISP loader cable?
The cable length should be less than 1m. - Which software wizard is used to set up the project?
The CodeWizardAVR wizard is used after creating a new project. - How do you generate the code files in CodeVision AVR?
You click File -> Generate, Save and Exit after setting the wizard parameters.

