WelcomeUser Guide
ToSPrivacyCanary
DonateBugsLicense

©2026 Poal.co

930

So I picked myself up a shiny new Arduino WiFi Rev2 and updated the firmware to the latest 1.2.8.

Trying out some simple sketches. I'd like to set the hostname for my sketch so I use the example:

WiFi.setHostname(“MyArduino”); // attempt to connect to Wifi network: while (status != WL_CONNECTED) { Serial.print("Attempting to connect to SSID: "); Serial.println(ssid); // Connect to WPA/WPA2 network. Change this line if using open or WEP network: status = WiFi.begin(ssid, pass); // wait 10 seconds for connection: delay(10000); }

Of course, the hostname as reported by the router never changes, it's aways "arduino-abcd" with the abcd being the MAC. That's not a deal breaker, but it looks like Arduino has had some problems with this for a while. Anyone use these and get this to work?

edit: Don't suggest I use ESP stuff instead. Those have serious issues with RF noise, and they're not good for my applications.

So I picked myself up a shiny new Arduino WiFi Rev2 and updated the firmware to the latest 1.2.8. Trying out some simple sketches. I'd like to set the hostname for my sketch so I use the example: ` WiFi.setHostname(“MyArduino”); // attempt to connect to Wifi network: while (status != WL_CONNECTED) { Serial.print("Attempting to connect to SSID: "); Serial.println(ssid); // Connect to WPA/WPA2 network. Change this line if using open or WEP network: status = WiFi.begin(ssid, pass); // wait 10 seconds for connection: delay(10000); } ` Of course, the hostname as reported by the router never changes, it's aways "arduino-abcd" with the abcd being the MAC. That's not a deal breaker, but it looks like Arduino has had some problems with this for a while. Anyone use these and get this to work? edit: Don't suggest I use ESP stuff instead. Those have serious issues with RF noise, and they're not good for my applications.

(post is archived)

[–] 1 pt (edited )

ESP32s also have a problem (like their 8266 cousin) in which they spew out wideband noise right around 318MHz. Since there are things that operate at 320MHz, including my garage door operator, they're absolutely useless for me. This is leaking out of every spot on the device, including the antenna.

I designed a whole range of 8266 devices before figuring out that it was killing everything that ran in the 320MHz area. The Arduino WiFi is expensive, yes, but it's a much better chipset when trying to play nice with other radio-operated devices.