Dear All,
first of all i would like to thank all of you for any help on my next week try.
As i told you i'm waiting next week to receive the ID-12 RFID module and the RFID chips.
I have a display and a pic16f628a here with me. I would like before i start to make first some steps in order everyone in the future to have it as a guidance.
The project is based on the RFID. So this will be the INCOMING information from an RFID chip.
The componets are going to be used are as follows. (sorry that i provide you the sparkfun but i ordered all mine from there exept the pic)
1) PIC16f628a
2) ID-12 RFID module http://www.sparkfun.com/products/8419
3) RFID reader, you need this to read the IDs from the tags in order to use them on the programm (http://www.sparkfun.com/products/8852)
4) tag (http://www.sparkfun.com/products/9417) you can use any at 125khz
5) 16x2 Character LCD - White on Black 5V http://www.sparkfun.com/products/709
these are the core components we need. Once i make the schematic and the program i will provide all the info you might need.
So now what is the thought.
1) to be able to open the door using an RFID tag.
2) the rfid tag might be unique and stored in an eeprom
3) once we pass the tag from the ID-12 module the pic will recognise the ID of the tag and display on the 16x2 the Name of the carrier.
4) after the Displayed name (0,5 seconds) the door will open.
5) there we need to clear everything and be ready to use an other tag.
Now We need to think to use the 16x2 display and the RFID module with the same pic.
1) From my point of view i need for the display 6 ports reserved from the PIC. (see attached file)
we also need to give the above code at the beggining of our program in order to specify the parameter of the display.
DEFINE LCD_DREG PORTB
DEFINE LCD_DBIT 4
DEFINE LCD_RSREG PORTB
DEFINE LCD_RSBIT 2
DEFINE LCD_EREG PORTB
DEFINE LCD_EBIT 3
DEFINE LCD_BITS 4
DEFINE LCD_LINES 2
2) then we also need for the ID-12 to reserved some pins from the pic ports but i dont know which ones. ( here i need some help) According to the attached file i would like to tell me how which pins from the ID-12 i need to connect to pic.
Once we know how many reserved pins we have then we share and seperate those pins to input from the ID-12 and output for the 16x2 lcd.
i will keep you updated with the code that i will try to write next week. Please let me know if anyone is able to help on this. I will be fololwing the code is already written here from all of you.
Best Regards,
astanapane.
Bookmarks