m5dial: wifi not work when rfid is enabled
-
even a simple code like this can raise my problem
//connect to WiFi Serial.printf("Connecting to %s ", ssid); WiFi.begin(ssid, password); while (WiFi.status() != WL_CONNECTED) { delay(500); Serial.print("."); }
Serial.println(" CONNECTED");
with this config setting everything is ok
M5Dial.begin(cfg, false, false);
but if i enable rfid
M5Dial.begin(cfg, false, true);
m5dial can connect only once to my wifi network, i have a fritzbox router
any idea?
-
@studiosacchetti Did you ever solve this issue? I am now having exactly the same issue.
-
The RFID module might be interfering with the WiFi signal. Try using a different power source or check if the RFID is drawing too much current and test with a different router or 2.4GHz channel.
-
@Slarck Thanks will look into those. I don't need them simultaneously, I tried turning the RFID on/off, but once I turn it on (after doing a server packet test), even if I turned it off Wifi still doesn't work.
-
@Slarck So I have hooked up a 12V power supply to the power connector (2pin green). It doesn't help, I can't connect to the Wifi when the RFID is enabled.
Any ideas? I tried turning the RFID off when I connect to the wifi
M5Dial.begin(cfg, true, false); // enable encoder, disenable RFID
but once I turn on the RFID, it doesn't seem that turning it off enables the Wifi.
If I never enable the RFID, then I can connect to the Router, so I don't think my router or channel is an issue.
Any other ideas welcome.
-
Hello @gadgetguy
I can confirm that enabling RFID prevents M5Dial from connecting to WiFi.
After enabling RFID in
M5Dial.begin(cfg, true, true)
, tryM5Dial.Rfid.PCD_AntennaOff()
to temporarily disable RFID while using WiFi, then after disconnecting from WiFi enable RFID again withM5Dial.Rfid.PCD_AntennaOn()
.Thanks
Felix