RS232 to weigand


Closed Thread
Results 1 to 5 of 5
  1. #1
    Stevenindon's Avatar
    Stevenindon Guest

    Talking RS232 to weigand

    I am doing a project which requires me to output datas to wiegand format. I have constructed the circuit with RS232 output. How can i convert my output from RS232 to weigand format 26bit? Please help.

    Iam using picbasic pro and running a 16f628 at 4mhz int clock.

    Thanks


    Steven

  2. #2
    Join Date
    Sep 2004
    Location
    Tallinn, Estonia
    Posts
    42


    Did you find this post helpful? Yes | No

    Default

    Actually...what is wiegand after all? I have seen RFID-card readers with very different timings but they all claim to output wiegand...
    Anyway, may-be this helps (look at page 2).
    /Felch
    Attached Files Attached Files

  3. #3
    Stevenindon's Avatar
    Stevenindon Guest


    Did you find this post helpful? Yes | No

    Cool

    Thanks Felch.
    After reading through the weigand 'standard', I presume we have to send pulses of high/low to different pin (Data0 & Data1) for a representation of data within a limited time using pulsout right? I dont find any other way other than this. U think this will work?

  4. #4
    Join Date
    Sep 2004
    Location
    Tallinn, Estonia
    Posts
    42


    Did you find this post helpful? Yes | No

    Default

    I do not know exact PICBasic syntax but i guess that it is PulseOut. Anyway, you have to set D0 low for some time to send a zero nd D1 low for the same time to send one.
    Both data lines must not be low simultaneously.
    Card readers output data in 26 bit's where 1-st and last bits are for parity and remaining 24 bits represent some hex numbers. This way you can store many numbers. If you have to send ASCII symbols, for example, you are limited to only 3 characters (24 bits makes 3 bytes)! That's why i used a "pseudowiegand" format.

  5. #5
    Stevenindon's Avatar
    Stevenindon Guest


    Did you find this post helpful? Yes | No

    Default PIC Basic Pro to wiegand

    Does anyone out there knows how to send wiegand protocol/method using PIC Basic Pro? Can u post it or send to me please??

    Thanks!


    Steven Indon

Similar Threads

  1. Universal remote and Rs232
    By Michael in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 7th February 2010, 17:55
  2. UART vs software RS232
    By Michael in forum mel PIC BASIC Pro
    Replies: 27
    Last Post: - 5th September 2008, 18:27
  3. RS232 into 2 PC ports
    By manxman in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 30th August 2008, 13:33
  4. PIC18F4680 to PC via MAX232 (RS232 serial) no output
    By opticsteam1 in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 14th April 2008, 20:39
  5. RS232 to Weigand
    By Stevenindon in forum Serial
    Replies: 0
    Last Post: - 6th April 2006, 04:35

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts