💬 RFID Lock Sensor
-
@miro the node is unable to connect to your gateway. What type of gateway are you using? Could you post the debug log from the gateway?
@miro said in 💬 RFID Lock Sensor:
I have followed the guide here (https://www.mysensors.org/build/rfid) to the letter. Yes, it could be me that have problems but this isn´t so hard project. Feels like something is missing?
In the description it says:
"To find out the unique ID of your tag just run the example while looking at serial monitor. Hold tag in front of reader and your identifier should pop up."
This I did, but the monitor don`t show anything, just this
Starting sensor (RNNNA-, 2.0.0) TSM:INIT TSM:RADIO:OK TSM:FPAR TSP:MSG:SEND 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc: TSM:FPAR TSP:MSG:SEND 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc: TSM:FPAR TSP:MSG:SEND 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc: TSM:FPAR TSP:MSG:SEND 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc: !TSM:FPAR:FAIL !TSM:FAILURE TSM:PDT... And yes, I have switched the little pin to I2C on my PN532 RFID reader.
@mfalkvidd said:
@miro the node is unable to connect to your gateway. What type of gateway are you using? Could you post the debug log from the gateway?
I had the same question as @miro however my node is communicating and connected to the gateway correctly.
I only see the mysensors radio debug info on the serial monitor, and no application serial prints eg (Serial.print("Couldn't find PN53x board");) doesn't show up in the serial monitor at all.
Neither does "Found NFC chip" or anything else in the main code...
My radio is working and as I said no errors in the radio debug.
Is the main application even running?
I cannot get it to scan a card at all.However if I comment out the <MySensors.h> library along with its dependencies in the main program, it works and I can scan cards, and get the Uid from them...
Any clues?
Thanks. -
-
PN532.h: No such file or directory
Is driving me crazy ... I have Downloaded the zip file and extracted the 4 folders(PN532, PN532_SPI, PN532_I2C and PN532_HSU) into Arduino's libraries.
Same error.
I've tried adding the library as .zip : it says not a valid library file
what could be the problem ? -
PN532.h: No such file or directory
Is driving me crazy ... I have Downloaded the zip file and extracted the 4 folders(PN532, PN532_SPI, PN532_I2C and PN532_HSU) into Arduino's libraries.
Same error.
I've tried adding the library as .zip : it says not a valid library file
what could be the problem ? -
Hi, I have a MFRC522 module, and I would like to implement it with 2.0 library. could I use this code?
@Michel---It said in 💬 RFID Lock Sensor:
Hi, I have a MFRC522 module, and I would like to implement it with 2.0 library. could I use this code?
I would also really like to know how to use a RFID-RC522 module instead of the PN532 NFC RFID Reader/Writer Module used in the example! The RC522 is included in a lot of different beginner kits.
-
It would make much sense if this example used signing.
-
Hallo,
I like this example of RFID Lock Sensor.
But I`m not able to change it for my aim myself (just a user and beginner).
Here my imaginations:- There should be always a default after switching on, after calling seriell monitor or after power cut.
This should be "Sensor Locked" - Every change to "Sensor open" should be for only let`s say 3 seconds or another adjustable time and than fall back to Default = "Sensor Locked" . Time enough e.g. to open the door or s.e.
Is there anybody who can give me some hints how to ad this features into the given sketch?
Thank You in advance
Jopebe
- There should be always a default after switching on, after calling seriell monitor or after power cut.
-
Hallo,
I like this example of RFID Lock Sensor.
But I`m not able to change it for my aim myself (just a user and beginner).
Here my imaginations:- There should be always a default after switching on, after calling seriell monitor or after power cut.
This should be "Sensor Locked" - Every change to "Sensor open" should be for only let`s say 3 seconds or another adjustable time and than fall back to Default = "Sensor Locked" . Time enough e.g. to open the door or s.e.
Is there anybody who can give me some hints how to ad this features into the given sketch?
Thank You in advance
Jopebe
@jopebe said in 💬 RFID Lock Sensor:
- Every change to "Sensor open" should be for only let`s say 3 seconds or another adjustable time and than fall back to Default = "Sensor Locked" . Time enough e.g. to open the door or s.e.
Is there anybody who can give me some hints how to ad this features into the given sketch?
Thank You in advance
Jopebe
Hello,
i have the same problem.
Does anyone have a solution? The relay should only put on for 3 seconds.
Greeting Holger - There should be always a default after switching on, after calling seriell monitor or after power cut.