EngineersGarage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise
You are here: Home / Topics / Pic16f877a interface with ADST11SD300&310 Fingerprint Identification Module

Pic16f877a interface with ADST11SD300&310 Fingerprint Identification Module

|

Microcontroller › PIC › Pic16f877a interface with ADST11SD300&310 Fingerprint Identification Module

  • This topic has 9 replies, 6 voices, and was last updated 10 years, 2 months ago by Peejay.
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • November 8, 2013 at 4:19 am #2710
    erwin
    Participant

    Hellow everyone, can you teach me, even a simple idea how to communicate them, I have a bit knowledge in Uart communication, but i just want to know the command to be used in interfacing pic16f877a and the finger print scanner…

    November 8, 2013 at 4:54 am #10583
    AJISH ALFRED
    Participant

    Hi Erwin,

    I guess there is no standard set of commands which can be used with all finger print modules. You have to go through the datasheet of the finger print module which you have to find out the commands through which it can be accessed.

    November 8, 2013 at 5:14 am #10585
    erwin
    Participant

    there 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 Explicit
    Dim SData(24) As Byte
    Dim SReply(48) As Byte
    Dim Replied As Boolean
    Dim Rx As String
    Dim CKS As Integer
    ‘


     

    Private Sub cmdReg_Click()
    Dim i As Integer
    Dim dummy As String
    Dim V1, V2 As Integer
    Dim Good As Boolean
     
    Good = True
     
    V1 = Int(Val(txtUserNo.Text) / 256)
    V2 = Val(txtUserNo.Text) – V1 * 256
     
    For i = 1 To 22
        SData(i) = 0
    Next i
    SData(0) = &H55
    SData(1) = &HAA
    SData(2) = &H3
    SData(3) = &H1
    SData(4) = &H2
    SData(5) = &H0
    SData(6) = V2
    SData(7) = V1
    Call Checksum
    dummy = MSComm1.Input
    For i = 0 To 23
    MSComm1.Output = Chr(SData(i))
    Next i
    back:
    Replied = False
    While Replied = False
        DoEvents
        Wend
    If SReply(6) = 0 Then
        If Asc(Mid$(Right$(Rx, 24), 9, 1)) = &HF1 And Asc(Mid$(Right$(Rx, 24), 10, 1)) = &HFF Then
            txtResults.Text = “Press a finger to register first time.”
        End If
        If Asc(Mid$(Right$(Rx, 24), 9, 1)) = &HF2 And Asc(Mid$(Right$(Rx, 24), 10, 1)) = &HFF Then
            txtResults.Text = “Press the same finger the second time…”
        End If
        If Asc(Mid$(Right$(Rx, 24), 9, 1)) = &HF3 And Asc(Mid$(Right$(Rx, 24), 10, 1)) = &HFF Then
            txtResults.Text = “Press the same finger the last time…”
        End If
        If Asc(Mid$(Right$(Rx, 24), 9, 1)) = &HF4 And Asc(Mid$(Right$(Rx, 24), 10, 1)) = &HFF Then
            txtResults.Text = “Lift finger…”
        End If
        If Asc(Mid$(Right$(Rx, 24), 5, 1)) = &H6 Then
            txtResults.Text = “Ok”
            Exit Sub
        End If
        GoTo back
    Else
        Print_Error
        If SReply(8) = &H21 Then GoTo back
        End If
    End Sub
     
    ‘


     
    Public Sub Checksum()
    Dim i As Integer
    CKS = 0
    For i = 0 To 21
        CKS = CKS + SData(i)
     ‘   MsgBox (CKS)
    Next i
     
    SData(22) = CKS And &HFF
    SData(23) = (CKS – (CKS And &HFF)) / 256
     MsgBox (SData(23))
    End Sub
    March 19, 2014 at 9:31 am #11329
    wer alabaton
    Participant

    @ erwin:

     

    Sir,how did you make the visual basic codes work?

    Because we have tried but we were not able to make it work

    Thank you.

    March 24, 2014 at 8:56 am #11361
    erwin
    Participant

    What is the model of your fingerprint??

    by the way I have also a code for vb.net and PIC Microcontroller for that..

    November 7, 2014 at 10:11 pm #12345
    pol
    Participant

    sir erwin do you have a sample code using vb.net? thank you

     

    August 25, 2015 at 7:33 am #13215
    Karl louie
    Participant

    ser.. sna mabasa pmo pa to.. pde p makita ung vb.net codes nio slamat

     

    August 25, 2015 at 7:34 am #13216
    Karl louie
    Participant

    can i have a copy of vb.net equivalent of this code? tnx

    August 27, 2015 at 1:18 pm #13224
    erwin
    Participant

    what fringerprint model do you use?

    January 26, 2016 at 3:22 am #13658
    Peejay
    Participant

    Sir ask ko lang po kung pano po paganahin yan sa arduino.;”> ADST11SD300&310 eto po gamit ko. ano pong gamit niyong codes sa vb6? at pati nadin po sa arduino. thanks po sa reply!

  • Author
    Posts
Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.
Log In

RSS Recent Posts

  • AI algorithm for bots April 17, 2026
  • SDCC Array Access In Timer 0 Interrupt Handler April 16, 2026
  • EasyEda program has a major bug April 16, 2026
  • ANOTHER OLD PROJECT REDO April 16, 2026
  • How to set the OSCAL in a PIC 12F675 April 16, 2026

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2026 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Engineers Garage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise