Saturday, 24 August 2013

INTERFACING LCD WITH ATMEGA16/32.....

Posted by Unknown On 18:11 | No comments

LCD INTERFACING WITH ATmega16 by RAJ PRAJAPATI


THIS IS THE CODE WRITTEN BY ME FOR THE 8 BIT MODE FOR LCD INTERFACING...


/*HEADER FILE TO USE LCD IN 8 BIT MODE
  PORTA FOR DATA PINS OF LCD
                                                PA0=DB0
                                                PA1=DB1
                                                PA2=DB2
                                                PA3=DB3
                                                PA4=DB4
                                                PA5=DB5
                                                PA6=DB6
                                                PA7=DB7
                PORTB
                                                PB0=RS
                                                PB1=RW
                                                PB2=RN
  DESIGNED BY:-                RAJ PRAJAPATI (NAGPUR INSTITUTE OF TECHNOLOGY, NAGPUR)
*/
/*---------------------------------------------------------------------------------------------------*/
                                                                //HEADER FILES
#include<avr/io.h>
#include<util/delay.h>
#include<stdlib.h>
/*----------------MACROS--------------------*/
#define rs 0
#define rw 1
#define en 2




Friday, 23 August 2013

Hi friends I am here with the interesting part of the Embedded Projects. Here you will get the codes for the different-different projects copy rights to rajatmelavr@gmail.com...

*******************************************************************************

5*7 LED MATRIX DISPLAYING ALPHABETS

*******************************************************************************
Guys it seem that is is much more easy to make a led matrix and to display the code or the matter you want to display on it is easily task. But seriously it is not that much simple as much as you think it to be, we need to make the proper hardware. It depends, that if you want to make your own hardware then it will be little difficult but will be the best idea for making the own project by your own rather then using the matrix display board.

Each and every time we need to scan either row or the column, here we are scanning the columns.
IT WORKS ON PERSISTENCE OF VISION (POV)...

HARDWARE:

Connection: Connect the PORTA(0-6) to the rows of the matrix.
                   Connect the PORTB(0-4) to the column of the matrix.


In hardware section the led is to be connected in such a way that it will form the matrix for the Mathematics, in which the the connection can be done by you in the way you want. There are two type of the led matrix formation 
1) common  Anode led matrix
2) Common Cathode Led matrix
Here it is connected in the Common Cathode.
The connections are shown in the figure.
Make sure to add 330Ohms resister to each rows.


Blogroll

Copyright © 2013 RAJ PRAJAPATI (raj@electronicsrj.com)

Comments

About Projects

We also Provide support in making Electronics Projects at different level at Cheapest price. Contact Us for the further help.