PN5180 nicht mal 5mm Reichweite

Hallo zusammen,

ich habe mir letztens 2 mini4L mit PN5180 und LiFePO4-Develboard zugelegt und jetzt mal zusammengebaut.

Ich habe bei einem PN5180 das Problem, dass ich meine Chips direkt an den Sensor halten muss. Habe 38 mm NXP NTAG213 auf eine 3mm Holzscheibe geklebt. (Weiße Chip-Karten gehen besser, aber auch nur ca. 1cm Abstand).

Der andere PN5180 Reader funktioniert einwandfrei (habe die Reader auch getauscht um auszuschließen, dass es ein dem mini4L oder anderer Hardware liegt).

Habe die Lötstellen überprüft und auch mal die Spannung and den beiden Pins gemessen (jeweils 3.27V).

Hat jemand eine Idee, an was es noch liegen könnte oder was ich noch ausprobieren kann?

Danke
Qubitza

Hier meine Anpassungen im Vergleich zum dev (1ea5bd3):

        //########################## MODULES #################################
-       //#define PORT_EXPANDER_ENABLE          // When enabled, buttons can be connected via port-expander PCA9555 (https://forum.espuino.de/t/einsatz-des-port-expanders-pca9555/306)
+       #define PORT_EXPANDER_ENABLE          // When enabled, buttons can be connected via port-expander PCA9555 (https://forum.espuino.de/t/einsatz-des-port-expanders-pca9555/306)
        //#define I2S_COMM_FMT_LSB_ENABLE       // Enables FMT instead of MSB for I2S-communication-format. Used e.g. by PT2811. Don't enable for MAX98357a, AC101 or PCM5102A)
        #define MDNS_ENABLE                     // When enabled, you don't have to handle with ESPuino's IP-address. If hostname is set to "ESPuino", you can reach it via ESPuino.local
        //#define MQTT_ENABLE                   // Make sure to configure mqtt-server and (optionally) username+pwd
        #define FTP_ENABLE                      // Enables FTP-server; DON'T FORGET TO ACTIVATE AFTER BOOT BY PRESSING PAUSE + NEXT-BUTTONS (IN PARALLEL)!
-       #define NEOPIXEL_ENABLE                 // Don't forget configuration of NUM_LEDS if enabled
+       //#define NEOPIXEL_ENABLE                 // Don't forget configuration of NUM_LEDS if enabled
        //#define NEOPIXEL_REVERSE_ROTATION     // Some Neopixels are adressed/soldered counter-clockwise. This can be configured here.
        #define LANGUAGE DE                     // DE = deutsch; EN = english
        //#define STATIC_IP_ENABLE              // DEPRECATED: Enables static IP-configuration (change static ip-section accordingly)
        #define HEADPHONE_ADJUST_ENABLE         // Used to adjust (lower) volume for optional headphone-pcb (refer maxVolumeSpeaker / maxVolumeHeadphone) and to enable stereo (if PLAY_MONO_SPEAKER is set)
-       //#define PLAY_MONO_SPEAKER             // If only one speaker is used enabling mono should make sense. Please note: headphones is always stereo (if HEADPHONE_ADJUST_ENABLE is active)        
+       #define PLAY_MONO_SPEAKER             // If only one speaker is used enabling mono should make sense. Please note: headphones is always stereo (if HEADPHONE_ADJUST_ENABLE is active)
        #define SHUTDOWN_IF_SD_BOOT_FAILS       // Will put ESP to deepsleep if boot fails due to SD. Really recommend this if there's in battery-mode no other way to restart ESP! Interval adjustable via deepsleepTimeAfterBootFails.
        #define MEASURE_BATTERY_VOLTAGE         // Enables battery-measurement via GPIO (ADC) and voltage-divider
        //#define MEASURE_BATTERY_MAX17055      // Enables battery-measurement via external fuel gauge (MAX17055)
        //#define SHUTDOWN_ON_BAT_CRITICAL      // Whether to turn off on critical battery-level (only used if MEASURE_BATTERY_XXX is active)
        //#define PLAY_LAST_RFID_AFTER_REBOOT   // When restarting ESPuino, the last RFID that was active before, is recalled and played
-       #define USEROTARY_ENABLE                // If rotary-encoder is used (don't forget to review WAKEUP_BUTTON if you disable this feature!)
-       //#define BLUETOOTH_ENABLE                // If enabled and bluetooth-mode is active, you can stream to your ESPuino or to a headset via bluetooth (a2dp-sink & a2dp-source). Note: This feature consumes a lot of resources and the available flash/ram might not be sufficient.
+       //#define USEROTARY_ENABLE                // If rotary-encoder is used (don't forget to review WAKEUP_BUTTON if you disable this feature!)
+       #define BLUETOOTH_ENABLE                // If enabled and bluetooth-mode is active, you can stream to your ESPuino or to a headset via bluetooth (a2dp-sink & a2dp-source). Note: This feature consumes a lot of resources and the available flash/ram might not be sufficient.
        //#define IR_CONTROL_ENABLE             // Enables remote control (https://forum.espuino.de/t/neues-feature-fernsteuerung-per-infrarot-fernbedienung/265)
        //#define PAUSE_WHEN_RFID_REMOVED       // Playback starts when card is applied and pauses automatically, when card is removed (https://forum.espuino.de/t/neues-feature-pausieren-wenn-rfid-karte-entfernt-wurde/541)
-       //#define DONT_ACCEPT_SAME_RFID_TWICE   // RFID-reader doesn't accept the same RFID-tag twice in a row (unless it's a modification-card or RFID-tag is unknown in NVS). Flag will be ignored silently if PAUSE_WHEN_RFID_REMOVED is active. (https://forum.espuino.de/t/neues-feature-dont-accept-same-rfid-twice/1247)
+       #define DONT_ACCEPT_SAME_RFID_TWICE   // RFID-reader doesn't accept the same RFID-tag twice in a row (unless it's a modification-card or RFID-tag is unknown in NVS). Flag will be ignored silently if PAUSE_WHEN_RFID_REMOVED is active. (https://forum.espuino.de/t/neues-feature-dont-accept-same-rfid-twice/1247)
        //#define HALLEFFECT_SENSOR_ENABLE      // Support for hallsensor. For fine-tuning please adjust HallEffectSensor.h Please note: only user-support provided (https://forum.espuino.de/t/magnetische-hockey-tags/1449/35)

        //################## set PAUSE_WHEN_RFID_REMOVED behaviour #############################
@@ -68,16 +68,16 @@


        //################## select RFID reader ##############################
-       #define RFID_READER_TYPE_MFRC522_SPI // use MFRC522 via SPI
+       //#define RFID_READER_TYPE_MFRC522_SPI // use MFRC522 via SPI
        //#define RFID_READER_TYPE_MFRC522_I2C  // use MFRC522 via I2C
-       //#define RFID_READER_TYPE_PN5180 // use PN5180 via SPI
+       #define RFID_READER_TYPE_PN5180 // use PN5180 via SPI```

PLAY_MONO_SPEAKER kannst wieder deaktivieren - das brauchen wir nicht mehr. Ich werfe das bald mal raus.

Zu den Tags kann ich nix sagen - ich verwende immer Amazon.de. Wir hatten das Thema hier aber schon öfter - @tueddy kann bestimmt was dazu sagen :slight_smile:.

Danke für deine Antwort.
An den Tags kann es ja nicht wirklich liegen, die funktionieren beim anderen PN5180 Reader auch bei 12cm Abstand.

Habe eher das Gefühl, dass was am PN5180 defekt ist.

Auszuschließen ist das grundsätzlich nicht. Ich selbst designe sie aber auch nicht (sonst hätten sie auch einen JST-Anschluss), sondern kaufe sie immer hier ein: TZT PN5180 NFC RF I Sensor ISO15693 RFID Hochfrequenz IC Karte ICODE2 Reader Writer Für Arduino - AliExpress 502

Wo sieht’s denn mit den beiden RFID-Tags aus, die beim Reader dabei waren?

Den kleinen blauen muss ich an eine ganz bestimmte Position auf die NFC Antenne pressen und die weiße Karte geht bei max 1cm.

Die 38mm Tags haben eine sehr gute Reichweite, >12cm kann ich bestätigen

Bei dem RFID-Modulen scheint die Qualität aber nicht immer gut, ich hatte auch schon Leser mit mieser Reichweite. Evt. sind die durch Bauteil-Toleranzen im HF-Teil „vertrimmt“.
Normalerweise bin ich für die Reparatur aber bei einem Preis um die 5€ lohnt es sich leider nicht. Ein neuer Leser ist günstiger als einzelne Bauteile wie Spule/Kondensator auf gut Glück durchzutauschen. Dazu kommt die Lötaustattung/Lupe für die sehr kleinen SMD Bauteile.

Meine Empfehlung: Kauf Dir ein neues PN5180 Modul, evt. von einem anderen Anbieter.

1 „Gefällt mir“