Shop OBEX P1 Docs P2 Docs Learn Events
need help with Javelin Demo Board — Parallax Forums

need help with Javelin Demo Board

feel the beatfeel the beat Posts: 8
edited 2008-10-23 11:52 in General Discussion
HI everyone

i am using Javelin Demo Board with RFID Card Reader Serial

i finish all the connection issue from board to the reader and from the board to my PC

but the problem is can i use it with C# or i can't ?

coz i am using it with a build application by using C# plz what all i need to make it happened ????

also i am using a power supply with range of 6.5 to 7.5 or 8 voltage power


thanks

Regards

Comments

  • Peter VerkaikPeter Verkaik Posts: 3,956
    edited 2008-10-18 17:23
    What exactly do you want to do?
    Do you want to control the RFID reader from C# ?
    In that case you just need a rs232 chip (eg. max232) and
    connect the RFID reader to the pc serial port.

    regards peter
  • feel the beatfeel the beat Posts: 8
    edited 2008-10-18 19:27
    Javelin Stamp Starter Kit and It has duplex RS232 UART

    can you explain more please because i am really need help

    if i need any codes already written in c# to control my kit ...etc


    thanks a lot


    Regards
  • Peter VerkaikPeter Verkaik Posts: 3,956
    edited 2008-10-18 19:46
    You didn't answer my question.
    Do you need the RFID tag numbers in your javelin program?
    If not, if you only need the RFID tag numbers in your PC program,
    then you don't need the javelin at all.
    I noticed your posts in the Completed Projects forum. That thread explains
    how to connect the RFID to the pc.

    regards peter
    ·
  • feel the beatfeel the beat Posts: 8
    edited 2008-10-18 20:46
    ok

    i am doing a small program to track students movement by C# and i have this kit and i need it to just reads the tags to identify it and bring on the details that already stored in every students field with small pics also in advanced level i will need to take reads from more than one reader by connect readers to a switch ...etc

    that's my plan
  • Peter VerkaikPeter Verkaik Posts: 3,956
    edited 2008-10-19 10:13
    So if I understand you correctly,
    You have several students, each student has a tag, you have a C# application
    with data collected per tag. Once you read a specific tag you bring up the
    data bound to that tag.

    Does each student have a javelin demo board or just you?

    You can use the javelin board to supply power to the RFID reader
    and then connect its TX and RX lines to the SP237 (= rs232 level shifter chip)
    pins for TX and RX. That way the port labeled COM can connect
    directly to the pc com port. Your C# application then needs to
    implement the RFID reader protocol using the pc com port.

    regards peter
  • feel the beatfeel the beat Posts: 8
    edited 2008-10-19 16:04
    i have only one board right now and in advanced level i will need to connect several readers with switch to reads multiple tags at multiple place and collect the data inside my application

    i just finish all the connection and the power led is on now but still i can't reed any tags maybe i need to do some connection to the COM port if you have any picture of the board with full connections and ready to reads tags

    i don't know but i am really appreciate your help [noparse]:)[/noparse] if you know anything it might help me i would be very great full.

    Post Edited (feel the beat) : 10/19/2008 4:10:20 PM GMT
  • Peter VerkaikPeter Verkaik Posts: 3,956
    edited 2008-10-20 07:28
    Attached is the javelin demoboard schematic.
    Assuming the RFID reader requires 4 connections (5V, 0V, TX, RX)
    you make the following connections:

    rfid GND to javelin board VSS (X3 pins 1-5)
    rfid 5V to javelin board VDD (X3 pins 10-13)
    rfid TX to javelin board X4 pin 3 (connects to SP237 T2IN pin, T2OUT connects to COM pin 2)
    rfid RX to javelin board X4 pin 5 (connects to SP237 R1OUT pin, R1IN connects to COM pin 3)

    Use a straight 1:1 subd9 male/female cable to connect connector COM with a serial
    port on your pc. The SP237 chip converts the rfid TTL signals into RS232 signals.

    To read the tags you must implement the protocol of the rfid reader in your C# program.
    Check out the rfid reader manual and any example code you may have.

    regards peter
  • Peter VerkaikPeter Verkaik Posts: 3,956
    edited 2008-10-21 19:43
    Attached are a RFID class and test program.
    Both go into folder ...\lib\stamp\peripheral\sensor\rfid

    regards peter
  • feel the beatfeel the beat Posts: 8
    edited 2008-10-23 11:17
    Thanks a lot Peter for your help

    Error LINK-0002 No suitable 'main' method found. in RFID_Reder Serial program

    when i tray compile and download the current program


    also

    Rfid_Reader_Serial_test

    Unable to find a Javelin on any port.

    by the way the RFID led is power on and the kit led also powered with green led

    I don't know what is the problems with me and my kit [noparse]:)[/noparse]

    i know that i am really burred you with my stupid problem and i am really appreciate your help
  • Peter VerkaikPeter Verkaik Posts: 3,956
    edited 2008-10-23 11:52
    The Rfid_Reader_Serial_test.java file is the·main program file.
    That is the program you can download to the javelin.
    The Rfid_Reader_Serial.java file is the library file for the reader and
    imported into the main program file.

    First get your javelin recognized. Is the board powered?
    Is the javelin inserted the right way?
    Do you use a usb to rs232 cable? If so, are the usb drivers installed?

    Check in the Javelin IDE program
    menu Project->Global options
    Tab Debugger
    Click ... button
    Add comport number to the list of known ports.
    Click ok to close windows.
    Restart Javelin IDE program
    Try Project->Identify

    regards peter
Sign In or Register to comment.