by khairul » Wed Apr 10, 2013 1:13 pm
Assalamulaikum (Peace to All)..
Here are source code and schematic for my CR038 project...
Hardware Details
================
1) I use PIC18F2520 with MPLAB IDE v7.43 + MCC18 C Compiler
2) 16x2 LCD Display
3) 4 Push Button (I only use 3 out of 4)
4) 1 UART Port
5) ... Details circuit in the schematic
Programming Details
==================
Inside the attachment, there are library to support MAIN.c
Programming Troubleshooting
=========================
1) PROBLEM : when i send command from PIC to CR038 and try to display data from CR038 nothing display.
SOLUTION : double check data that you send through UART and please triple check the XOR or Checksum.
2) PROBLEM : CR038 does not response to cmd that you transmit from PIC.
SOLUTION : Please Activate the ANTENNA and after u WRITE or READ Disable it..
DO NOT place your card inside the plastic that cytron give. i do not know why but it will make the CR038 cannot read the Mifare Card
- Attachments
-
- CR038 Project.rar
- Schematic and Programming
- (20.6 KiB) Downloaded 561 times