Hello Everyone
I'm having trouble in combination of Ethernet Module,RFID reader and MySQL server.
Ethernet module can write data to MySQL server fine.Also RFID reader is reading data from cards fine.
But sometimes RFID freezes or Ethernet Module stops sending data.
And i don't know the reason.Because it's happening randomly not a same specific condition.
Its on Arduino Mega and RFID Ethernet Module sharing the same pins 50-52.
I'm controlling Ethernet module ENC28J60 using CS pin on the other side i'm controlling RC522 RFID using SDA pin(i'm not sure about it but someone on the forum mentioned to do this).
I included my code and php files used to communicate with MySQL.
Any advice will be approciated.
php_files.txt (592 Bytes)
eAttendance_v2.0.ino (4.81 KB)