Documente Academic
Documente Profesional
Documente Cultură
MICROCONTROLLER
Components used:
1.ATMEGA16 MCU
2.KEYPAD
3.LCD
4.ZIF
ADVANTAGES:
1.Low cost
2.High Flexibility
TOOLS USED
TOOL USE
USBASP PROGRAMMER
AVR-GCC C COMPILER
MAKE `
CIRCUIT DIAGRAM
WORKING:
The IC to be tested is inserted in the base.
1 2 3
4 5 6
ZIF
MICROCONTROLLER SOCKET
7 8 9
* 0 #
POWER SUPPLY
16X2 LCD display
PIN DESCRIPTION OF LCD
Function Pin Name Logic State Description
Number
Ground 1 Vss - 0V
Power supply 2 Vdd - +5V
Keyboard
LCD
Block diagram of ATMEGA16
MICRO-CONTROLLER………….
FEATURES:
High-performance, Low-power AVR 8-bit
Microcontroller.
32 x 8 General Purpose Working Registers.
16K Bytes of In-System Self-programmable Flash
program memory.
512 Bytes EEPROM.
1K Byte Internal SRAM.
Up to 16 MIPS Throughput at 16 MHz
CONTD…………
Two 8-bit Timer/Counters & One 16-bit Timer/Counter.
Programmable Serial USART.
IS NO
KNOWN SHOW ERROR MESSAGE
IC
YES
LOAD THE TRUTH TABLE
NO
VERIFY
SHOW
TRUTH
“IC NOT WORKING”
TABLE
YES
SHOW
“IC WORKING”
PROBLEMS FACED
We first started the project with ATMEGA168.But after analyzing its
architecture we came to know that the I/O ports of this MCU are not sufficient
for our project. Then we shifted to another MCU ATMEGA16.
At first we used a variable to store the IC number. But it is not storing the
number correctly. Then we used array to store the IC number.
Finally…………..
SO FAR…………
We did the basic circuit on breadboard and Tried with few basic ICs on it.
We developed the circuit on PCB and tested with those ICs that are previously
tested on bread board.