Garbage in from RFID


Closed Thread
Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    May 2009
    Location
    Montreal, QC, Canada
    Posts
    118

    Default

    Well I was hoping to connect directly to pin RX!
    Maybe I am missing some knowledge?
    Can this be done?

  2. #2
    Join Date
    Aug 2005
    Posts
    95

    Default

    The signal needs to be inverted if using the hardware serial pin on your pic hence the reason for the max232. You could just use serin2 comand and run it in inverted mode.

    Sphere

  3. #3
    Join Date
    May 2009
    Location
    Montreal, QC, Canada
    Posts
    118

    Default

    Sphere,

    You sent me to the right direction and I finally got it working, I spent a lot of time trying to understanding the mode value from serin2 because in the PBP manual it says bit 15 is not used but it is not specified anywhere (that I could find) that it should be set to 1 but I got it now.

    Thanks for your help.

    Mike

  4. #4
    Join Date
    Aug 2005
    Posts
    95

    Default

    No problem.

    Sphere

  5. #5
    Join Date
    Dec 2009
    Posts
    2

    Thumbs up hello

    '************************************************* ***************
    INCLUDE "MODEDEFS.BAS"

    '***********************DEFINITIONS*************** ************************
    DEFINE Osc 4
    '--------------------------------------------------------------------------------------------
    '***********************SERIAL COMM DEFINITION**********************
    DEFINE HSER_TXSTA 24h
    DEFINE HSER_RCSTA 90h
    DEFINE HSER_BAUD 19200

    DEFINE LCD_DREG PORTb
    DEFINE LCD_DBIT 4
    DEFINE LCD_RSREG PORTb
    DEFINE LCD_RSBIT 0
    DEFINE LCD_EREG PORTb
    DEFINE LCD_EBIT 3

    cmcon=7
    trisb=%00000010
    trisa=%00000001

    a var word
    b var word
    c var word
    d var word
    e var word

    ANAPROGRAM:

    hserin [hex2 a,hex2 b,hex2 c,hex2 d,hex2 e]
    pause 50
    LCDOut $fe, 1,hex2 a,hex2 b,hex2 c,hex2 d,hex2 e
    pause 10

    goto anaprogram

    end

Similar Threads

  1. Replies: 3
    Last Post: - 12th March 2008, 05:33
  2. parallax rfid reader module interface with PC
    By jonil22 in forum Off Topic
    Replies: 2
    Last Post: - 3rd February 2008, 06:54
  3. Parallx rfid reader module interface with PC
    By jonil22 in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 31st January 2008, 08:50
  4. Free Web based RFID Online Courses
    By Thirumoorthy in forum General
    Replies: 0
    Last Post: - 19th November 2007, 13:38
  5. Free web based RFID online Course
    By Lesikar in forum GPS
    Replies: 0
    Last Post: - 19th October 2007, 22:28

Members who have read this thread : 0

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