how to interface rfid-idr-232n with PIC18f4520

RFID reader, Reader/Writer, Tag.....

how to interface rfid-idr-232n with PIC18f4520

Postby wayne » Sat Oct 27, 2012 2:10 pm

i has a complete set of microchip development tools, can i directly connect the rs232 from rfid to pic board without max232 chip between of them? as i know there have build in max232 in development tool. beside, i had written a C language programming in pic in order to read the ID num in LCD, i write a USART program which to receive data from rfid but it totally cant work! after i doing some research, i found most of you are using UART. can you recommend some useful C code in order to read the ID? thank a lot for your big helping hand!
wayne
Newbie
 
Posts: 12
Joined: Sat Oct 27, 2012 1:41 pm

Re: how to interface rfid-idr-232n with PIC18f4520

Postby gadgetng » Sun Oct 28, 2012 8:16 pm

wayne WROTE:i has a complete set of microchip development tools, can i directly connect the rs232 from rfid to pic board without max232 chip between of them? as i know there have build in max232 in development tool. beside, i had written a C language programming in pic in order to read the ID num in LCD, i write a USART program which to receive data from rfid but it totally cant work! after i doing some research, i found most of you are using UART. can you recommend some useful C code in order to read the ID? thank a lot for your big helping hand!

Isn't there is a DIY project on this? Yes, there is one - PR8B.
http://www.cytron.com.my/viewProduct.php?pcode=PR8-B&name=RFID%20:%20Read%20&%20Display%20V2010
gadgetng
Discoverer
 
Posts: 97
Joined: Tue Jul 24, 2012 11:20 am

Re: how to interface rfid-idr-232n with PIC18f4520

Postby wayne » Mon Oct 29, 2012 8:59 pm

thank for your reply. i wanna to calculate delay cycle in PIC18. for example: delay10TCYx(4) = 40 cycle, how do i make the delay cycle become 43 cycle? is it add three more Nop() code to become 43 cycle? can you help me to check UART in 9600 baud rate cycle setting where TXBitUART = 92 cycle delay, RXHalfBit = 43 cycle and RXBitUART = 90 cycle. i am a new user in this PIC, sorry about i always ask some stupid question. thank you for your help!
wayne
Newbie
 
Posts: 12
Joined: Sat Oct 27, 2012 1:41 pm


Return to RFID

Who is online

Users browsing this forum: No registered users and 13 guests

cron