ATrappmann / PN5180-Library

PN5180 library for Arduino
GNU Lesser General Public License v2.1
104 stars 91 forks source link

Intitialization failed #27

Open MoosaK opened 4 years ago

MoosaK commented 4 years ago

Hi, I have connected the PN5180 scanner to the same pins as set in the PN5180 library, when I used the level shifter, I uploaded the library example code and it said the following in the serial monitor.

Uploaded: Mar 16 2020 16:42:06 PN5180 ISO15693 Demo Sketch

Reading product version... Product version=255.255 Initialization failed!? Press reset to restart...

So to get the scanner working I found that the level shifter was not working and ever since then, I have been using the scanner with connections straight to the Arduino. Fortunately the code began to run and the scanner was working. The code was simply checking for 3 cards, when the 3 cards are scanned in any order the arduino will allow access to a certain function.

As part of this project I had to remove the header pins of the scanner and attach wires to the pads of the scanner. Now I am getting this error,

Initialising... Resetting... Enabling RF field... Setup Complete FATAL: Reading more than 508 bytes is not supported! FATAL: Reading more than 508 bytes is not supported! *** FATAL: Reading more than 508 bytes is not supported!

and when I ran the PN5180 library code I got the same error as above,

Reading product version... Product version=255.255 Initialization failed!? Press reset to restart...

What exactly is causing this error? Any help would be much appreciated.

ATrappmann commented 4 years ago

Hi MoosaK,

I sorry to hear that your level shifter gave you such issues. If you have the same module that I have, it should be broken now if you used it without the level shifter! The module is not 5V compatible on its input pins!

Please try with a new PN5180 module with Level Shifters!

Sorry, I cannot give any more help to the current state.

Regards, --Andreas.

-----Original-Nachricht----- Betreff: [ATrappmann/PN5180-Library] Intitialization failed (#27) Datum: 2020-03-16T17:52:00+0100 Von: "MoosaK" notifications@github.com An: "ATrappmann/PN5180-Library" PN5180-Library@noreply.github.com

Hi, I have connected the PN5180 scanner to the same pins as set in the PN5180 library, when I used the level shifter, I uploaded the library example code and it said the following in the serial monitor.

Uploaded: Mar 16 2020 16:42:06 PN5180 ISO15693 Demo Sketch

Reading product version... Product version=255.255 Initialization failed!? Press reset to restart... So to get the scanner working I found that the level shifter was not working and ever since then, I have been using the scanner with connections straight to the Arduino. Fortunately the code began to run and the scanner was working. The code was simply checking for 3 cards, when the 3 cards are scanned in any order the arduino will allow access to a certain function. As part of this project I had to remove the header pins of the scanner and attach wires to the pads of the scanner. Now I am getting this error, Initialising... Resetting... Enabling RF field... Setup Complete FATAL: Reading more than 508 bytes is not supported! FATAL: Reading more than 508 bytes is not supported! *** FATAL: Reading more than 508 bytes is not supported! and when I ran the PN5180 library code I got the same error as above, Reading product version... Product version=255.255 Initialization failed!? Press reset to restart... What exactly is causing this error? Any help would be much appreciated. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ATrappmann/PN5180-Library/issues/27 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AEVOSHUHK3XABG2IA6IUXRDRHZKK5ANCNFSM4LMN27MA . [ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/ATrappmann/PN5180-Library/issues/27", "url": "https://github.com/ATrappmann/PN5180-Library/issues/27", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]