Forum Topic

E-Gizmo\\\'s RFID Reader Kit

  • Share ko lang actual experience ko sa Rfid Kit ng E-gizmo. May mga nakita kasi akong threads dito na nangangailangan ng passive RFID solution.




    Stand-Alone Mode

    Sa Stand-alone mode, pag di recognized yung card, it will beep twice pag tinapat yung card. Pag recognized nya ang card, it will beep once pag tinapat yung card.

    To Erase:
    1. Set the DIL switch to select the location.
    2. Then press Erase button. The D3 LED will light shortly to signify na naerase na nya.

    To Register the Card:
    1. Set the DIL switch to select the location.
    2. Press and hold (for around 1sec) then release the Set button.
    3. The D3 will blink continuously. Then pwede na itapat yung card to register, then magbi beep ng once.

    up to 16 lang ang pwede i-store sa stand-alone mode.

    Interfaced to PC

    Pag ininterface sa pc, di kelangan iregister yung cards sa kit. Deretcho na sa PC ang data, at yung validation if registered na yung card is sa PC na din gagawin.

    Here is a short Python Script that I created to read the RFID\'s response doon sa card na nasa picture ^^ (of course, any PL that has an access to Serial port will do, I just used python for rapid prototyping) :)

    import serial
    COMPort=\'COM1\'
    mySer=serial.Serial(COMPort, 9600, timeout=2)
    try:
       mySer.flushInput()
       print \"\".join([\"0x%2x \" %(ord(c)) for c in list(mySer.readall())])
    finally:
       mySer.close()


    output:
    0x41 0x7d 0xff 0xdc 0xe8 0xe7 0x1b 0x87 0xfb 0x42


    eto naman yung reading doon sa isa ko pang card
    0x41 0x7d 0xff 0xdc 0xe8 0xe4 0x46 0xa7 0xfb 0x42


    Very easy to use itong Rfid kit. ;)
  • ^thanks for sharing :)
  • hahah NICE!.. i remember using it 3 years ago.. sumakit ulo ko sa RFID kit ng gizmo... C pa ginamit ko noon, pwede na pala ang python?..

    -- edited by ajibanda on Nov 10 2010, 11:58 AM
  • ^^ yup. any language basta may access sa serial port :)
  • How much sa e-gizmo yan sir. Thanks.
  • contact nyo na lang po sir yung e-gizmo.. im not sure baka mas mura na sya ngayon...
  • meron po ba sa inyo alam ang code for vb 6.0 para sa rfid na ito? gamitin po kasi namin sa project namin sa school., heres what i have so far:

    Private Sub Form_Load()
    On Error Resume Next
    MSComm1.RThreshold = 2
    MSComm1.InputLen = 2
    MSComm1.Settings = \"2400,N,8,1\"
    MSComm1.DTREnable = False

    MSComm1.CommPort = 7
    MSComm1.PortOpen = True

    \'Text1.Text = strnumber
    End Sub

    Private Sub MSComm1_OnComm()
    Dim sData As String
    Dim lHighByte As Long
    Dim lLowByte As Long
    Dim lByte As Long

    If MSComm1.CommEvent = comEvReceive Then

    sData = MSComm1.Input \' Get data
    lHighByte = Asc(Mid$(sData, 1, 1)) \' get 1st byte
    lLowByte = Asc(Mid$(sData, 2, 1)) \' Get 2nd byte
    lByte = JoinHighLow(lHighByte, lLowByte)

    strnumber = CStr(lByte)


    Text1.Text = strnumber
    Label1 = Now()


    End If
    End Sub

    Private Function JoinHighLow(lHigh As Long, lLow As Long) As Long

    JoinHighLow = (lHigh * &H100) Or lLow
    End Function

    baka po pede patulong dito., salamat
  • ^^ di ko binasa fully yung code mo sa VB6 but I will add a comment to my working python script above para mas clear

    import serial
    COMPort=\'COM1\' ---------- i will be using com1
    mySer=serial.Serial(COMPort, 9600, timeout=2) ----------- I will be using 9600,N,8,1. my receive timeout is 2seconds
    try:
    mySer.flushInput()
    print \"\".join([\"0x%2x \" %(ord(c)) for c in list(mySer.readall())]) -------- I am just waiting for the card to be flashed sa RFID, pag may ------------------------------------------------------------------------------------ nakita siyang data, ididisplay sa screen.
    finally:
    mySer.close()
  • ahh halos pareho lang ginawa nya., difference lang ay hex code ang ginamit nyo? ., cge sir ausin ko muna un code ko and try ko sya sa vb 6.0 ulit
  • ^^ i dont think so.

    doon sa code mo. MSComm1.Settings = \"2400,N,8,1\"

    while on my code, its 9600
  • kahihiya hiya man, itataas ko ulit ang thread na eto,

    i am starting on scratch with very basic c language. I want to start to learn how to interface e-gizmo's rfid reader in the utmost time however i am both unaware to vb and python language, i hope there are any materials i could start on. Thanks!
  • for C, start here:

    http://retired.beyondlogic.org/serial/serial1.htm#30
  • ^ Sir sevenstring, hindi ko po kaya yang C na yan, I asked my professor earlier, sabi nya mas madali daw kung sa vb ko gagawin, I am starting with the basics as of the moment, are there any materials that relates with syntax of mscomm, I have downloaded some visual basic/visual studio tutorial but none leads me to mscomm syntax. Thanks.
  • yup mas madali sa vb using mscomm.
  • sir na-try ko ya code niyo sa python di siya gumana python 2.7 ginamit ko. parehong RFID reader

    File \"C:/Python27/hahaada.py\", line 3, in <module>
    mySer=serial.Serial(COMPort, 9600, timeout=2)
    File \"C:\\Python27\\lib\\site-packages\\serial\\serialwin32.py\", line 38, in __init__
    SerialBase.__init__(self, *args, **kwargs)
    File \"C:\\Python27\\lib\\site-packages\\serial\\serialutil.py\", line 282, in __init__
    self.open()
    File \"C:\\Python27\\lib\\site-packages\\serial\\serialwin32.py\", line 66, in open
    raise SerialException(\"could not open port %r: %r\" % (self.portstr, ctypes.WinError()))
    SerialException: could not open port \'COM3\': WindowsError(2, \'The system cannot find the file specified.\')
    >>>
    ** nasa COM3
    ** yan po yung error. pasensya na bagohan lang sa python
    Thanks
  • Either nde nageexist ang com3 or may ibang gumagamit ng com3. Check the device manager

    -- edited by sevenstring on Dec 22 2013, 07:46 PM
  • gud day po...ask ko lang po kung saan pa nakakabili ng rfid tag bukod sa gizmo?naubusan po kasi kami eh badly needed po namin ngayon for finishing the project.thank you po sa reply
  • meron po ba kaung code para sa vb.net 08?
  • ^^ I have the code in C#. <click here for link>

    pwede mo i compile yung RFID.cs into a class library para magamit mo siya sa VB.net. or just translate the code to VB.

    -- edited by sevenstring on Jan 17 2015, 10:16 PM