Forum Replies Created
Viewing 8 posts - 1 through 8 (of 8 total)
-
AuthorPosts
-
August 27, 2015 at 1:18 pm in reply to: Pic16f877a interface with ADST11SD300&310 Fingerprint Identification Module #13224erwinParticipant
what fringerprint model do you use?
March 24, 2014 at 9:24 am in reply to: Problem in interfacing with pic16f877a and gsm (SIM900A) #11371erwinParticipanterwinParticipanterwinParticipantread the manual…I have done this project..but the Ive use different fingerprint..
erwinParticipantuse your own terminating character in my case i’ve used *….
erwinParticipantcheck your loop or try to use mikroC it is easier to understand..there is a library for uart…
March 24, 2014 at 8:56 am in reply to: Pic16f877a interface with ADST11SD300&310 Fingerprint Identification Module #11361erwinParticipantWhat is the model of your fingerprint??
by the way I have also a code for vb.net and PIC Microcontroller for that..
November 8, 2013 at 5:14 am in reply to: Pic16f877a interface with ADST11SD300&310 Fingerprint Identification Module #10585erwinParticipantthere is a sample visual basic 6 code and its working, but i want to make it stand alone by using MCU pic16f877a..i tried to analyze the program and i coded into mikro c but not working….
here is the code in vb6.
‘
Option ExplicitDim SData(24) As ByteDim SReply(48) As ByteDim Replied As BooleanDim Rx As StringDim CKS As Integer‘
Private Sub cmdReg_Click()Dim i As IntegerDim dummy As StringDim V1, V2 As IntegerDim Good As BooleanGood = TrueV1 = Int(Val(txtUserNo.Text) / 256)V2 = Val(txtUserNo.Text) – V1 * 256For i = 1 To 22SData(i) = 0Next iSData(0) = &H55SData(1) = &HAASData(2) = &H3SData(3) = &H1SData(4) = &H2SData(5) = &H0SData(6) = V2SData(7) = V1Call Checksumdummy = MSComm1.InputFor i = 0 To 23MSComm1.Output = Chr(SData(i))Next iback:Replied = FalseWhile Replied = FalseDoEventsWendIf SReply(6) = 0 ThenIf Asc(Mid$(Right$(Rx, 24), 9, 1)) = &HF1 And Asc(Mid$(Right$(Rx, 24), 10, 1)) = &HFF ThentxtResults.Text = “Press a finger to register first time.”End IfIf Asc(Mid$(Right$(Rx, 24), 9, 1)) = &HF2 And Asc(Mid$(Right$(Rx, 24), 10, 1)) = &HFF ThentxtResults.Text = “Press the same finger the second time…”End IfIf Asc(Mid$(Right$(Rx, 24), 9, 1)) = &HF3 And Asc(Mid$(Right$(Rx, 24), 10, 1)) = &HFF ThentxtResults.Text = “Press the same finger the last time…”End IfIf Asc(Mid$(Right$(Rx, 24), 9, 1)) = &HF4 And Asc(Mid$(Right$(Rx, 24), 10, 1)) = &HFF ThentxtResults.Text = “Lift finger…”End IfIf Asc(Mid$(Right$(Rx, 24), 5, 1)) = &H6 ThentxtResults.Text = “Ok”Exit SubEnd IfGoTo backElsePrint_ErrorIf SReply( = &H21 Then GoTo backEnd IfEnd Sub‘
Public Sub Checksum()Dim i As IntegerCKS = 0For i = 0 To 21CKS = CKS + SData(i)‘ MsgBox (CKS)Next iSData(22) = CKS And &HFFSData(23) = (CKS – (CKS And &HFF)) / 256MsgBox (SData(23))End Sub -
AuthorPosts
Viewing 8 posts - 1 through 8 (of 8 total)