Documente Academic
Documente Profesional
Documente Cultură
INTRODUCTION :-
PRINCIPAL OF WORKING
BLOCK DIAGRAM
CIRCUIT DIAGRAM
COMPONENT LIST
COMPONENT DETAILS
IC DETAILS
MULTIVIBRATOR
MONOSTABLE MULTIVIBRATOR
ASTABLE MULTIVIBRATOR
PCB FABRICATION
PCB FABRICATION
ART WORK
CIRCUIT DESCRIPTION
SOFTWARE PROGRAM
SOFTWARE PROGRAM
SOFTWARE DESCRIPTION
SOFTWARE EXECUTION
WAVEFORM OF OUTPUT
APPLICATION OF PROJECT
FUTURE SCOPE
CONCLUSION
REFERENCE
INTRODUCTION
INTRODUCTION
drawing trough ATM card. But since there are many areas where
parallel port and since parallel port have fixed numbers of pins
both for work place, banks, administration job, paying taxes just
college students.
earth and monitor his misuse of the resources of the society. The
two project.
PRINCIPAL OF WORKING
BLOCK DIAGARM
Block Diagram :
Magnetic Card PC PC
Card Reader Port
CIRCUIT DIAGRAM :-
DESIGN OF POWER SUPPLY CIRCUIT :
+5V.+15V,-5C,-15V.
DESIGN OF SENSOR:
COMPONENT LIST
COMPONENTS LISTS
[ POWER SUPPLY ]
1 Diode IN 4007 4
2 Capacitor 220 uF/40 V 1
3 IC Regulator 7805 1
4 Resistors 10 k-ohm 1
5 Transformer 6-0-6/500 m amp 1
[ CIRCUIT DIAGARM ]
RESISTORS:
voltage
Current
Forward Region
Break Down Voltage
Voltage
Knee Voltage =0.7V
Reverse Region
Diode Characteristics
Diodes are of different types like Photodiode
,Varactor diode, Schotkey Diode ,PIN diode ,Zener Diode etc.
Zener Diode
Small signal and rectifier diodes are never operated
in the break down region because this may damage them. The
zener diode is made to operate in breakdown region , sometimes
called breakdown diode. The zener diode is the back bone of
voltage regulators ,
Symbol of Zener Diode
circuits that hold the load voltage almost constant despite large
changes in the line voltage and load resistance.
Light Emitting Diode
In a forward biased diode , free electrons cross the
junction and fall in to holes. As these electrons fall from a
higher to a lower energy level , they radiate energy .In ordinary
diodes this energy goes off in the form of heat .But in the light
emitting diode (LED) the energy radiates as light.LEDs that
radiate red, green, yellow, blue, orange or infrared are
manufactured by using elements like gallium, arsenic, and
phosphorous. LEDs that produce visible radiations are useful
with instruments , calculators etc. The infrared LED finds
application in burglar systems and other areas requiring invisible
radiations. The seven segment displays uses 7 LEDs .
TRANSFORMERS:
This are the devices which converts the primary ac
voltage to different secondary ac voltages .If the secondary
voltage is higher then primary voltage then the transformer is
called step up transformer , if the secondary is less then
primary voltage then it is called step down transformer , if
secondary is same as primary voltage then it is called unity
transformer .This unity transformer is also used as isolation
transformer . This devices are highly efficient upto 99.9%. i.e.
very low power loss.
The transformers are required for making dc supply
, tuning circuit etc. The current rating of primary and
secondary winding determines the SWG gauge of the copper
wire.
CAPACITORS
Mica Capacitor
Disc Capacitor
These are available from 1pF to 1ooooUF
RELAYS
different stable states as per the input given to them. There are
Bistable Multivibrator
Monostable Multivibrator
Astable Multivibrator
Bistable Multivibrator
These circuits have two stable
stable state till the next trigger is given. These are also calle
of figure no.1
MONOSTABLE MULTIVIBRATORS
capacitor, a high Q output from the flip flop will saturate the
the voltage divider ,the non inverting input has a fixed voltage of
+Vcc/3. when the trigger input voltage is slightly less than
.the 555 timer will work with any supply voltage between 4.5and
16 volt.
MONOSTABLE MULTIVIBRATOR
MONOSTABLE OPERATION
+Vcc/3,the lower comparator has a high output and reset the flip-
+2Vcc/3 the upper comparator has ahigh output . which sets the
must drop below +Vcc/3 ton reset the flip-flop and allow the
pulse/
the larger the RC time constant. The longer it takes for the
W=1.1RC
W=1.1(22K*0.068U)=1.65msec.
the upper comparator has a high output and this sets the flip-flop
the flip-flop.
is
D = (2ms/2.5ms)*100% = 80%
f = 1.44/[(Ra+2Rb)*C]
D = [(Ra+rb)*100%]/(Ra+2Rb)
approaches 50 percent.
.
PCB FABRICATION
PROJECT DEVELOPMENT
PREPARATION OF THE PCB
Schematic Preparation
Artwork Preparation
Film Making
The artwork is reduced or enlarged or made
of same size of the PCB on the film through the camera . The
camera produces both the positive and negative films . These
films are used to made PCB .
Driling of holes
Tinning of pcb
The PCB is tinned after putting the mask on PCB
.This is done to insulate the patterns and avoid any short. The
mask covers the areas where the soldering is to be done.
PCB TESTING
Master Table :
Name Code
Deepak 39
Shan 67
Ganesh 95
Satish 79
Hari 167
Sheela 359
New Table :
be made and the card reader will read the card details. This card
detail will be passed to parallel port and then to PC. The
card with the codes of Master Table. If the codes are matching
then the New Table will be created with code and name of the
the card). This New Table will have the time of entry of card and
date also. If the same card is entered next time then again the
date and time will be recorded in the New Table. As soon as the
data has been updated. If the card having the code difference
from Master Table then card data will not be updated in New
Table and message will be flashed that data is not updated. This
screen will display the message to enter the card when ever the
program is executed.
Please Enter
Card
SOFTWARE PROGRAM
SOFTWARE PROGRAM
#include<stdio.h>
#include<conio.h>
#include<graphics.h>
#include<dos.h>
#define CONT 0x37A
#define STATUS 0x379
#define DATA 0X379
void drawchart();
int intrflag;
int timerflag;
void main()
{
int gd=DETECT,gm;
clrscr();
initgraph(&gd,&gm,"egavga.bgi");
drawchart();
getch();
closegraph();
}
void drawchart()
{
int x;
float q;
char b[10];
settextstyle(0,0,1);
setcolor(3);
outtextxy(170,50,"DATA LOGGER-DATA ACQUISITION
SPEED|DATA/SEC");
settextstyle(2,1,5);
setcolor(14);
outtextxy(15,180,"Input In Volts");
settextstyle(2,0,5);
outtextxy(200,410,"Time In Minutes");
setcolor(WHITE);
line(80,100,80,400);
line(80,355,600,355);
setcolor(RED);
line(75,320,85,320);
setcolor(WHITE);
outtextxy(50,320,"25");
setcolor(RED);
line(75,295,85,295);
setcolor(WHITE);
outtextxy(50,295,"50");
setcolor(RED);
line(75,270,85,270);
setcolor(WHITE);
outtextxy(50,270,"75");
setcolor(RED);
line(75,245,85,245);
setcolor(WHITE);
outtextxy(50,245,"100");
setcolor(RED);
line(75,220,85,220);
setcolor(WHITE);
outtextxy(50,220,"125");
setcolor(RED);
line(75,195,85,195);
setcolor(WHITE);
outtextxy(50,195,"150");
setcolor(RED);
line(75,170,85,170);
setcolor(WHITE);
outtextxy(50,170,"175");
setcolor(RED);
line(75,145,85,145);
setcolor(WHITE);
outtextxy(50,145,"200");
setcolor(RED);
line(75,120,85,120);
setcolor(WHITE);
outtextxy(50,120,"225");
setcolor(RED);
line(75,95,85,95);
setcolor(WHITE);
outtextxy(50,95,"250");
setcolor(RED);
line(75,70,85,70);
setcolor(WHITE);
outtextxy(50,70,"300");
outtextxy(85,360,"0");
outtextxy(145,360,"1");
setcolor(RED);
line(145,350,145,365);
setcolor(WHITE);
outtextxy(205,360,"2");
setcolor(RED);
line(205,350,205,365);
setcolor(WHITE);
outtextxy(265,360,"3");
setcolor(RED);
line(325,350,325,365);
setcolor(WHITE);
outtextxy(325,360,"4");
setcolor(RED);
line(325,350,325,365);
setcolor(WHITE);
outtextxy(385,360,"5");
setcolor(RED);
line(385,350,385,365);
setcolor(WHITE);
outtextxy(445,360,"6");
setcolor(RED);
line(445,350,445,365);
setcolor(WHITE);
outtextxy(505,360,"7");
setcolor(RED);
line(505,350,505,365);
setcolor(WHITE);
outtextxy(565,360,"8");
setcolor(RED);
line(565,350,565,365);
setcolor(WHITE);
inttime=0,timer=0,freq=0,count=0,data,i=0,oldda
ta,newdata;
float f;
outp(0x379,256);
char frequency;
data=inp(0x379);
olddata=data;
moveto(80,355-data);
int flag=0;
do
{
olddata=data;
data=inp(0x379);
newdata=data;
if(newdata==olddata)
{
olddata=data;
}
else
{
count++;
timer=0;
}
setcolor(BLUE);
lineto(80+i,355-data);
setcolor(WHITE);
delay(2000);
if(count>0)
{
timer++;
}
if(count==3)
{
freq=timer;
}
i++;
if(freq>0&&flag==0)
{f=1/freq;
// printf("frequency:%f",f);
flag=1;
}
} while(!kbhit());
Software program::
The c++ program acquires data at the rate of one sample per second and plot a
simulated time Vs voltage graph on the moniter screen. It uses two interrupt
service routing:one is invoked through IRQ0(system timer) interrupt and the
other is invoke through IRQ7(parallel port) interrupt.The ISRs are invoked
by modifying the respective vector in the interrupt vector
table.However,before calling up the ISRs of application programe to the
interrupt, the exiting vector for the interrupt should be read from interrupt
vector table and saved. The ISRs are invoked when the interrupt occurs,only
if the interrupt are enabled.
The program then enter the main loop and keeps monitoring ,the
timer flag and the interflag until a key is pressedif the intrflag is 1,The
program
1) Reads the digitised data from the data register .
2) Puts the samples -and - hold ic to sample mode by resetting
C1 bit to
low.
3) Computer coordinates of the pixel corresponding to the data.
4) Plots data point and draws a line joining the previous data
point on the monitor screen and completes acquisition and
plotting of one data .
5) Update variables for acquiring next data .
ISR for IRQ7 interupt. The ISR for the IRQ7 interrupt performs the
tasks on each
Interrupt :
APPLICATION
FUTURE SCOPE
Extension / Future Scope of the Project :
languages like Visual Basic, ASP, Java, and on Net platform. The
job. This can be used to monitor the production data. The card
interfacing mode, card and card reader have would give sample
1.Electronic Principle by
Albert Paul Malvino