Monday, 25 November 2013

/*  * SERVOS_EXECUTION.c  *  * Created: 25-Nov-13 11:37:32  *  Author: avrnarm  */ #define F_CPU 16000000ul #include <avr/io.h> #include <util/delay.h> int main(void) { DDRC=0xFF; DDRD=0xFF; char i ;     while(1)     { _delay_ms(2000); for (i=0;i<2;i++) { PORTC=0xFF; PORTD=0xFF; _delay_us(1000+5.55*10)...

Friday, 15 November 2013

/* Interfacing Ultra Sonic Module (4 PIN HCSR04) with Atmega16 Hardware Pin Configuration: Vcc, Gnd, Trigger input pulse, echo output pulse. LCD Connected to port A. Sensor to PORTD. Sensor | Trig   --> PD0 Echo   --> PD1 Vcc   --> Vcc Gnd   --> Gnd  Programmer: Raj Prajapati  rajatmelavr@gmail.com  For any query */ //Header...

Basic Interfacing GLCD with ATmega16

Posted by Unknown On 10:13 | No comments
Following is the program to Generate the basic verticle line on the glcd at and 0th Column. Connection is shown in the Image. PORTC is reserved for the Control Port and PORTB for data Port. Here we had not used any Library for this purpose. /*  * GLCDpattern1.c  *  * Created: 14-Nov-13 23:27:35  *  Author: avrnarm  *  Description: To print...

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.