Hi,
I have to detect RFID card using serial interface
But I don't know how data will be received in microcontroller?
There are a lot of serial devices.
The first you have to decide how to conne t the reader to your microcontroller - which serial interface to use.
Then read the microcontroller's datasheet section of the selected serial interface.
The mirocontroller for sure will receive byte by byte... I can't think of another way.
But how you store and process the data is a question of software ... your programming skills and your programming style.
But maybe programming is one of the last steps you have to do..
It seems you are not very experienced with writing software.
Did you do the homework first? --> Do first things first, if you don't want to fail.
* An overview about the hardware you need
* An overview about the software functions you need
* A flow chart of your software
* did you consider unwated situations: misuse of RFID cards, power fail during EEPROM write, EEPROM wear out, corruption
* Calculations about the resources you need (RAM, EEPROM, periferals/interfaces, power supply, back up power supply...)
Calculation about the EEPROM size you need?
* How many bytes for one RFID card?
* do you need to store additional informations? Date/time of arrival, valid/invalid, payment...
* how many of these datasets need to be stored?
* (how long) do you need to keep the data? Can you delete them after the car leaves the parking?
* and so on..
Klaus