Connecting PN532 to M5StickC plus2 via user i2c pins #2047
Replies: 1 comment
-
|
Yes, you can configure custom I2C pins for the PN532 on the M5StickC Plus 2 via the Configure I2C Pins in brucePins.confOn your SD card (or SPIFFS), create/edit {
"i2cSDA": 26,
"i2cSCL": 0
}Important for M5StickC Plus 2: G25 is input-only on ESP32 (GPIO25 is actually the DAC output on original ESP32, but on PICO variants it may behave differently). G36 is input-only on the ESP32 and cannot drive the I2C SCL line (which requires bidirectional communication). Recommended pin combinations for M5StickC Plus 2:
PN532 I2C WiringMake sure your PN532 is set to I2C mode (check the DIP switches on the module):
Verify DetectionAfter connecting and configuring:
Troubleshooting
The |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, how do I connect the NFC module PN532 via i2c using pins SDA>G26 and SCL>G25/G36??
Is there, for example, something in brucePins.conf on device to set your pins for PN532? (NOT "rfidmodule" : int_value, PINS ONLY)
Beta Was this translation helpful? Give feedback.
All reactions