xylon89del
New Member
hi, everyone, I am trying to interface an RFID reader to 8051 microcontroller, but, doesnt work work. So, need some help here...
When I sent this command
0xAA 0x01 0x04 0x10 0x06 0x00 0x00 0x13 0xBB
from microcontroller to PC hypeterminal, it can receive. When i sent back response from hyperterminal back to microcontroller, the microcontroller can receive it too.
Now, I use the company software to send commands to the reader, and capture the commands, the commands are
0xAA 0x01 0x04 0x10 0x06 0x00 0x00 0x13 0xBB,
and the reader can response to the commands and sent back data to the company software.
I have set both the microcontroller and the reader to the same serial setting: 9.6kbps, 1 stop bit, no parity bit.
But, when I connect the microcontroller to the reader, my microcontroller cant receive anything back from the reader.
Please help!!!
When I sent this command
0xAA 0x01 0x04 0x10 0x06 0x00 0x00 0x13 0xBB
from microcontroller to PC hypeterminal, it can receive. When i sent back response from hyperterminal back to microcontroller, the microcontroller can receive it too.
Now, I use the company software to send commands to the reader, and capture the commands, the commands are
0xAA 0x01 0x04 0x10 0x06 0x00 0x00 0x13 0xBB,
and the reader can response to the commands and sent back data to the company software.
I have set both the microcontroller and the reader to the same serial setting: 9.6kbps, 1 stop bit, no parity bit.
But, when I connect the microcontroller to the reader, my microcontroller cant receive anything back from the reader.
Please help!!!