Forum Replies Created
-
AuthorPosts
-
kishoreParticipant
hi Balaji
i connected fingerprint to pc via the software given with the fingerprint module to add, delete and search the fingerprint. As you said , if i connect it to hyperterminal can i send communication packet to module?
One communication packet includes the following:Packet Head(2 bytes)Packet flag(1 byte?)Packet length(1 byte)Packet Content(N bytes)Check sum(1 byte)
kishoreParticipanthi gyz did anyone knows how to interface SM630 fingerprint module with 8051. how to write the codes.
kishoreParticipanthi Balaji,
while creating HEX file what was the clock frequency and what is the clock frequency you set in µc. As default in proteus it is 12Mhz. while creating HEX file set xtal as 11.0592Mhz and the µc you used in proteus, double click to see the properties and set clock frequency as 11.0592 Mhz.
and set virtual terminal as Echo typed character.
kishoreParticipantThe problem is, there is no response from module when any command is send from µc. i dont know my codes are right or not, but tell me the algorithm how to interface. I just ‘ve 6 days, i ‘ve to complete the coding part and make PCB.
kishoreParticipantHi Mandar,
Can you mail me the codes how you interface SM630 with µc. My mail ID is: kkishorekumar749@gmail, iam also using sm630 and try to interface with µc but there is no response. send me the codes iam running out of time for my project….
kishoreParticipantin the above program i made voting machine for 6 candidate, if i increase to 8 some error in showing in Keil like
Program size: data=54.0 xdata=0 code=2834
0 warning 0 error
Fatal error L250: code size limit in restricted version exceeded
limit 0800h bytes
Target not created
what should i do for this errorkishoreParticipantHow to interface the mini thermal printer with 8051
kishoreParticipantPrevious comment was helpfull. Another problem iam facing that, in my voting machine i ‘hv P1 to P6 candidates, if i give my vote to P2 then i want to print in a paper that i voted to candidate P2. like in ATM when we take money, a small piece of paper comes which shows the balance and many info.
Eg Small Printer used by bus conductor to print ticket.
with this idea i want to add a small printer in my Voting machine to print ” To which candidate i Voted”.
Give me some idea how to do this. Suggest me if there is any module for printing.
kishoreParticipantGive your Email ID so that i can mail you. This website doesnt ‘ve option for uploading txt or pdf.
kishoreParticipanthi
my friend did GSM BASED MONTHLY E-BILLING WITH SMS using 8051, i have some notes of this project.
kishoreParticipanthi this clock i made last sem, it shows only the time hh:mm:ss and you can also set the time.
Codes:
#include<reg51.h>sbit p=P3^0; //hour ++++++++sbit q=P3^1; //hour
sbit r=P3^2; //min +++++++sbit t=P3^3; //min
sbit rs=P2^0;sbit rw=P2^1;sbit en=P2^2;void delay(unsigned int msec){unsigned int i,j;for(i=0;i<msec;i++)for(j=0;j<1275;j++);}void cmd(unsigned char item){P1=item;rs=0;rw=0;en=1;delay(1);en=0;}void lcddata(unsigned char item){P1=item;rs=1;rw=0;en=1;delay(1);en=0;}void main(){int h,m,s,h1,h2,m1,m2,s1,s2;unsigned char array[]={‘0′,’1′,’2′,’3′,’4′,’5′,’6′,’7′,’8′,’9’};cmd(0x38);cmd(0x0c);cmd(0x06);while(1){for(h=0;h<=23;h++){for(m=0;m<=59;m++){for(s=0;s<=59;s++){h1=h/10;h2=h%10;m1=m/10;m2=m%10;s1=s/10;s2=s%10;cmd(0x80);lcddata(array[h1]);lcddata(array[h2]);cmd(0x84);lcddata(‘:’);cmd(0x86);lcddata(array[m1]);lcddata(array[m2]);cmd(0x8A);lcddata(‘:’);cmd(0x8C);lcddata(array[s1]);lcddata(array[s2]);delay(100);if(p==0) //hour++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++{h++;s=-1;if(h==24){h=0;s=-1;}}else if (t==0) //min
{if(m>0){m–;s=-1;}}else if(q==0) //hour
{if(h>0){h–;s=-1;}}else if (r==0) //min ++++++++++++++++++++++++++++++++++++++++++++++++++++++++{m++;s=-1;if(m>60){m=0;s=-1;}}cmd(0x82);cmd(0x06);}}}}}kishoreParticipantSir, if we want to send data through SBUF to pc, we just put in an array like p[]=” xyz”;
but i have 6 variables P1-P6 whose values and max among that is calaulated, i have to send that, but how????
-
AuthorPosts