Comments (5)
What sketch are you running and what output are you seeing in the Serial Monitor?
from adafruit-pn532.
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.
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.
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.
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)
- ESP32 I2C sharing was working fine HOT 2
- ESP32 + SPI mode in a thread = nightmare
- Android HCE random ID HOT 1
- bool isready() function can be public? HOT 2
- buffer allocation too small HOT 1
- buffer allocated is too small HOT 1
- I2C PN532 on Pi Pico doesnt work updating to 1.3.0 HOT 8
- PN532 as_target change uid
- iso15693
- No ACK Frame on ESP32 + SPI, hangs after first tag read or no tag reads (With solution) HOT 5
- Compilation error when enabling debug in Adafruit_PN532 lib HOT 3
- Compilation error with RESET_PIN on GPIO0 on ESP32 HOT 2
- Hardware SPI not working on Arduino Giga R1 HOT 1
- IRQ functionality not working as expected. HOT 4
- InDataExchange() has wrong size limits
- Clarification about "as target" example
- np532 (i2C) soft-powerdown mode
- Problems combining Adafruit_PN532.h V1.2.2 (SPI) with Ethernet.h V2.0 HOT 1
- PN532 Shield - can you start/stop the read function? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from adafruit-pn532.