Interfacing 16 Servo Motors With ATmega16/32 ~ Learn AVR and ARM Programming in EMBEDDED...
Sunday, 29 December 2013
Interfacing 16 Servo Motors With ATmega16/32 ~ Learn AVR and ARM Programming in EMBEDDED C
Posted by Unknown
On 20:30
| No comments
Change your WIN 7 startup Background
Posted by Unknown
On 14:49
| No comments
Presently you people will be able to change only and only desktop background , but today I am going to tell you How to Change Start Up Background of Win 7.
Make sure that you follow each and every steps accurately, other wise it will be difficult to correct the problem and you need to restore your system
Follow the steps for setup :
Step to Setup Registry Entry :
Click...
Monday, 25 November 2013
Interfacing 16 Servo Motors With ATmega16/32
Posted by Unknown
On 18:35
| No comments
/*
* 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 UltraSonic Sensor with Atmega16
Posted by Unknown
On 19:37
| 3 comments
/*
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...
Monday, 28 October 2013
Multiplexed 7 Segment With Timer0 Interrupt in ATmega16/32 for Stopwatch
Posted by Unknown
On 08:53
| No comments
AVR: Stopwatch With Interrupt Timer and Multiplexed 7 segment Display
Here we are connecting the 7 segment display with PORTA, i.e. Multiplexing of six-7segment display, with the control lines to PORTB. Following is the program to Interface the 7segments.
Crystal : 8MHz
Time: 0.125uSec
Prescaler: clk/1025
Timer Interrupt : 25mSec.
For 1sec , run this timmer...
Friday, 25 October 2013
AVR : NotePad Using ATmega16./32 and 16x2 LCD
Posted by Unknown
On 10:15
| No comments
NotePad Design with Atmega16/32 on 16x2 LCD with UART
Here in this program we are designing the notepad by using Atmega16/32 as a controller and LCD for displaying the typed that we will be sending from the help of UART. In Proteus, with the help of the Virtual Terminal , we will send the data to the uC and the same data will be displayed on the 16x2 LCD in...
AVR: UART , Keypad and LCD Interfacing in Atmega16
Posted by Unknown
On 09:58
| No comments
KEYPAD...UART (Universal Asynchronous Receiver Transmitter)...AND LCD (Liquid crystal display) Interfacing with Atmaga16/32
Following code will be defining the processing of the UART (checked in Proteus) with baud rate of 1200 bits/second with internal crystal of the ATmega16.
Here we are connecting the Keypad in the PORTC of the uC , LCD on the PORTB and the Virtual terminal...
Thursday, 17 October 2013
AVR : Basic->Interfacing Switch and Seven Segment Display with ATmega16/32 UP/DOWN COUNTER
Posted by Unknown
On 14:59
| 2 comments

Here the switch is connected to the PORTB pin no 0 and 1, for Up and Down Counter. The value of the counter will decrease at the time it reaches to max value (i.e. 9). Till then switch 2 will not work. Only access to the switch for making counter in forward direction is allowed. When counter reaches to the 9, switch 1 will stop working and only switch 2 will come into action.
/*
*
*
*...
AVR : Basic->Interfacing Switch and Seven Segment Display with ATmega16/32.
Posted by Unknown
On 03:13
| No comments

Here the following uses the Switch to be connected on the PORTB, pin no 0 and 1, i.e PB0 and PB1.
PORTA is connected with the SEVEN SEGMENT display (common cathode). Switch used here is in Active Low condition.
Following is the Program to Interface two switch with SSD.
/*
* DAY1QUE1.c
*
* Created: 10/15/13 17:00:24
* Author: Raj Prajapati
*/
#include...
Wednesday, 16 October 2013
AVR : Interfacing Seven Segment Dispay (Atmega16/32)
Posted by Unknown
On 00:01
| No comments

Here we had made use of 7 segment common cathode display for the Interfacing. Along with the Atmega16.
Simulation work is done in Proteus Software.
Header file: avr is providing its own header filr "avr/io.h"
for using delay in the avr , we had used util/delay.h
This header file can provide the delay in milli...
Sunday, 13 October 2013
LINUX : Writing data to file by reading data from KEYBOARD
Posted by Unknown
On 22:29
| No comments
Open file , Take input from KEYBOARD, write in the file, Display the content of the file and close the file.
/* Program to open the File, read data from the Keyboard and write it in the file.*//* User Progam , to be executed in the user space *//* openfile3.c */// Author : (Raj)#include<stdio.h>#include<fcntl.h>static int count;int main(){ int fd1,i,len; char buffwr[100],buffr[100]; ...
LINUX : Opening and Closing the File.
Posted by Unknown
On 21:47
| No comments
Program to Open a File and Close it , Along with printing the File Discripter value.
Program will never return the file discripter value as 0,1,or 2 as these values are already reserved for
0---> Standard Input
1---> Standard Output
2---> Standard Output
Here two system calls are used, read and write, you can get the details of it just by typing man read or man write in the terminal window.
Save the file in .c extension,...
Thursday, 10 October 2013
Device Driver : Basic Program to make MODULE
Posted by Unknown
On 20:08
| No comments

Basic program to make the module in Kernel Space and add it into the process
Write the program with the file extension ".c" . After that, make the Makefile. Then execute the Makefile by writing make. after that insert the module in the Process by writing insmod <filename>.ko . Then check the Kernel module by writing the command dmesg|less. For removing the module from...
Device Driver: Char Driver part 1 -> Kernel and Application Program for file handling
Posted by Unknown
On 08:32
| No comments

Tutorial :
Program in a KERNEL to be use by user for open,close,read and write, along with the USER program to access Kernel program, with make file.
-----------------------------------------------------------------------------------------------------
/* Program to make a kernel to be accessed by the user */
#include<linux/module.h>
#include<linux/kernel.h>...
Sunday, 29 September 2013
Communication Between two Process In LINUX, with SIGNAL and pause()
Posted by Unknown
On 22:38
| No comments

Here are two program that is opening the two file in the two different process in two different window. Both the process are communicating with each other. Signal concept is used, with pause() signal. Both programs are accessing the same file and interchanging the Process ID. For executing this program, in a directory save these two program with ".c" extension. Along with...
LINUX Installation with WINDOWS 7 , VIRTUALLY AND DUAL BOOT
Posted by Unknown
On 17:38
| No comments

Many
programmers are moving towards the world's best operating system LINUX. Actually the Linux
is derived from the Unix. Basically the Unix was invented in year 1969 and
written in the assembly code.
All
the steps written here are performed first before explaining.
After the research done by Denis Ritchie in year 1973, programming code for UNIX is rewritten
in...
Sunday, 22 September 2013
Inbuilt Oscillator in ATmega16 microcontroller
Posted by Unknown
On 10:40
| No comments
Oscillators with ATmega16 microcontroller
There are variety of micro-controllers present now a days. Development in VLSI technology enhance the performance of the many micro-controller. 8051 is the Basic micro-controller. Due to some deficiency in its structure, necessity for better device increased. With advancement, requirement of more and more facility increased and...
Thursday, 5 September 2013
LPG Gas Detector and Auto Booking With AVR micro-controller
Posted by Unknown
On 07:45
| 5 comments
Advance LPG Gas Detector and Auto Booking System for Domestic and Commercial Use (Electronics project)...
Advancement in the technologies have given us a safer and calm living of standard. Development in the different type of sensors that are easily available in market made the electronic research work more efficient, cheap and accurate.
...
Sunday, 1 September 2013
To generate nPr (PERMUTATION)
Posted by Unknown
On 10:31
| No comments
/* Program to generate Permutation (nPr) */
/* Here we will be generating the Permutation. We are taking the the n and r as a input from the user and will generate the desire output. */
/* Program to calculate Permutation nPr */
//Header File
#include<iostream.h>
int fact(int);
int main()
{
int a,b,n,r;
cout<<"\n Enter the value of n : ";
cin>>...
Swapping Program With function
Posted by Unknown
On 10:24
| No comments
/* Program to SWAP two variable without using THIRD variable in C++ (with function) */
/*In this program will will not use third variable to swap the the variable but we will be using the operator to do so. Here we will be using a swap function to swap the value but it will be done by using call by reference.*/
/* Program to swap the value without using the third variable*/
//Header File
#include<iostream.h>
void swap(int &a,int...
Swapping Program Without function
Posted by Unknown
On 10:20
| No comments
/* Program to SWAP two variable without using THIRD variable in C++ (without function) */
/*In this program will will not use third variable to swap the the variable but we will be using the operator to do so*/
//Header file
#include<iostream.h>
int main()
{
int a,b;
cout<<"\n Enter First No:- ";
cin>>a;
cout<<"\n Enter Second No:- ";
cin>>...
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
...
Friday, 23 August 2013
5*7 led matrix displaying ALPHABETS..!!!!
Posted by Unknown
On 19:02
| No comments
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...
Monday, 8 July 2013
CDAC 2013-2014, EXAM PATTERN, SYLLABUS AND TIPS
Posted by Unknown
On 17:02
| No comments
.jpg)
CDAC 2013-2014..!!!!
.............EMBEDDED TRAINING INSTITUTE EXAM..............
!!!!!..BEST EMBEDDED TRAINING IS AT C-DAC ..!!!!!!!
There are many courses and many institute giving training in the various field after BE. As plain BE student are rarely get placed, and if there are get placed its is hard to get the good package, also the company hiring...
TIMER IC 555
Posted by Unknown
On 10:46
| No comments

IC 555
There are several IC's are present in the market. As per the revolution of electronics devices the Analog devices has not in use now a days. One of the very interesting IC for the use of the Beginners in the field of electronics or in the field of embedded is IC 555. It is 8 pin DIP package IC. basically it is well known as TIMER IC.Basic external circuitry required...
Subscribe to:
Posts (Atom)