Hi, first time poster looking for some assistance.
I have presets selection working via RFID values from different crystals. It currently works to switch between the specified presets when a crystal RFID tag is read but I would like it to switch to a missing crystal preset, similar to removing a blade using blade detect, when no RFID tag is detected. I’m assuming it is constantly searching for RFID, as it quickly changes once a different crystal is placed near the antenna.
The behavior I would like to change is when the crystal is removed, the preset persists. I would like it to act/sound broken when the ignite button is pressed but no crystal is detected. And perhaps a sound plays as soon as it no longer detects a crystal. Pretty much the same idea as the many examples i have seen for blade detect.
Any ideas how I might go about this?
Currently, it will load a default preset on bootup as well as allow preset switching via button presses without using Crystals at all. I think i will have to disable this.
Proffie OS 7.14
Proffieboard v2.2
RF125-ps RFID reader
The rf125-ps doesn’t say or do anything when the crystal is removed, so it’s not possible to implement based on the output from that only. You would need an extra signal, then you could use blade detect, or a different rfid reader to make it work.
I have something similar set up for an arduino board as well as an esp32c3 where I believe it keeps checking for a tag Id at the serial connection and if no RFID is detected within a time frame it sets an RGB LED to off, otherwise it sets the colour as defined for the specific RFID value. I can’t make much sense of this part of the code but I could share it if you’d like to see it. The reader board doesn’t need to do anything other than send the hex information to the serial input as, in this case, it is the main board’s programming that is doing the checking for the tag Id every so often. Or at least that is how I understand it. I am hoping to bring this feature over to my proffieboards.
Updated to share link to original project/code for arduino board
link to code: kyber_colors.ino - Google Drive
video: https://www.youtube.com/watch?v=wD9zHP9LdAc
That’s cool. It seems to be based on an RDM6300 rfid reader, which apparently keeps sending data for each rfid check. The RF125-PS does not do that. Unfortunately the RDM6300 is quite a bit bigger than the RF125-PS. (20x12mm vs 38.5x19mm)
OK, that’s too bad. I definitely can’t fit the RDM6300 into my saber. It looks like I will have to go the detect pin/switch route. Thanks!
1 Like