Giter Club home page Giter Club logo

Comments (5)

caternuson avatar caternuson commented on August 28, 2024

What sketch are you running and what output are you seeing in the Serial Monitor?

from adafruit-pn532.

notsolowki avatar notsolowki commented on August 28, 2024

I'm running the readmifare sketch, but I have tried other ones too. With the readMifare sketch the serial reports the boards firmware version and then waiting for card but never goes past that.

With the format example it never goes past press any key to format. So strange it seemed like it was working for a awhile. I tried 4 other pn532 boards. All work on arduino but non work for esp32, at least not any more. I tried many different esp32 of the model and same issue. Tried different pins etc. It always seems to report the board version but never rins any code in the loop

from adafruit-pn532.

caternuson avatar caternuson commented on August 28, 2024

Just tested the readMifare sketch with a Feather ESP32 V2 connected via I2C and it worked as expected:

Hello!
Found chip PN532
Firmware ver. 1.6
Waiting for an ISO14443A Card ...
Found an ISO14443A card
  UID Length: 7 bytes
  UID Value: 0x04 0xFA 0x8C 0x42 0xD9 0x11 0x90

Seems to be a Mifare Ultralight tag (7 byte UID)
Reading page 4
01 03 A0 0C  ..⸮.

If it was working and then stopped working, then something must have changed. Please post this in the forums with photos of your setup:
https://forums.adafruit.com/

from adafruit-pn532.

notsolowki avatar notsolowki commented on August 28, 2024

Wow. I am so extremely sorry for asking you to waste your time. As it turns out I had another library conflicting with the adafruit library.... I just noticed it in my compiler log.

It does indeed work as expected now. Again please forgive me for being ....... I greatly apologize and appreciate the time you took to help me.

🤦‍♂️🤦‍♂️🤦‍♂️🤦‍♂️🤦‍♂️🤦‍♂️🤦‍♂️

from adafruit-pn532.

caternuson avatar caternuson commented on August 28, 2024

No worries. The PN532 is notoriously finicky, so can act weird and confusing sometimes. Glad it's working now.

from adafruit-pn532.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.