Maybe not a bad idea to connect the RFID to your PC to see what happen... you'll need a MAX232 or any other level converter to do that.
Maybe not a bad idea to connect the RFID to your PC to see what happen... you'll need a MAX232 or any other level converter to do that.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Just curious to know if the following line work with your LCD
Code:SEROUT2 lcd,396,[$FE,$C0,"2nd Line???"]
Last edited by mister_e; - 20th November 2008 at 19:57.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Thanks for the replies, I'll try it out in lab tomorrow. Here's a link to the RFID Parallax RFID
I'll have to look up the stuff on attaching it to a computer, I've never done anything like that.
I'm trying to find out the RFID tag ID by reading the tag and displaying it on an LCD and I can't seem to figure it out. Has anyone else been able to display the tag ID on an LCD?
I was at Radio Shack yesterday, trying to buy a breadboard. (No of course they didn't have it, why would my store have it in stock?)
Anyway, I was searching their bins and I saw a Parallax RFID READER WITH TAGS part number 276-0032, or this part: http://www.parallax.com/Store/Sensor...%2cProductName
It didn't have a price marked, so I had the lady scan it, and she told me it was $19.97. It's on my receipt as the correct part number, and correct product description. That's half off of Parallax's price, so if you are interested in RFID, you might want to check it out at Radio Shack.
i thought id post it here.. since this thread helped in the trick math operation.
My Board runs a PIC16F877A @ 20Mhz
Video Here
Code:define OSC 20 ADCON1=7 CMCON=7 LastTag CON 3 X VAR byte tagNum VAR byte ' from EEPROM table idx VAR Byte ' tag byte index char VAR Byte ' character from table buf var byte(10) '***************************************************************** SYMBOL PWRLED = PORTB.2 'Software controlled power LED SYMBOL RFID = PORTC.5 'RFID /ENABLE '***************************************************************** Tag1 DATA "0415146D53" ' 2 cards registered... Tag3 DATA "30700D48A5" '***************************************************************** HIGH PWRLED HIGH RFID PAUSE 1000 serout2 PORTC.0,84,[$55] ' uOLED Initialize '***************************************************************** Reset: gosub cls PAUSE 1000 '***************************************************************** Main: LOW rfid ' activate the reader SERIN2 PORTC.4,396,[WAIT(10),str BUF\10] ' wait for hdr + ID HIGH rfid ' deactivate reader Check_List: FOR tagNum = 1 TO lasttag FOR idx = 0 TO 9 READ (((tagNum - 1) * 10) + idx), char 'The Tricky Order of Operation IF (char <> buf(idx)) THEN Bad_Char NEXT GOTO Tag_found Bad_Char: NEXT Bad_tag: FOR x = 1 TO 2 serout2 PORTC.0,84,[$73,$6,$4,$0,$F0," ACCESS",$00] 'cmd,column,row,font,Color(msb:lsb),“string”,$00 serout2 PORTC.0,84,[$73,$6,$8,$0,$F0," DENIED",$00] NEXT PAUSE 4000 GOTO reset Tag_Found: for x = 0 to 2 serout2 PORTC.0,84,[$73,$6,$4,$0,$1F," ACCESS",$00] 'cmd,column,row,font,Color(msb:lsb),“string”,$00 serout2 PORTC.0,84,[$73,$6,$8,$0,$1F," GRANTED",$00] next pause 4000 GOTO reset CLS: FOR X = 0 TO 2 serout2 PORTC.0,84,[$45] next return
Bookmarks