hi, in a project im making i need my arduino to have the wifi name and password of the user, how could i make a non technical user send them? i thought of a simple android app? but then again the arduino must already be connected to receive data, what would other options be? i just need the user to input some lines of text.
Raspberry Pi
how?
Does the Arduino have usb input? If so, then you should be able to use an Android phone with an app and OTG cable to send data.
Mr. Google and his minions give links when searching on the term
"android otg to arduino usb"
if you are using a WiFi enabled microcontroller such as the ESP32 or RP2040 WiFi it could run an Access point
a smart phone could connect to the AP t and send the uesrname and password
the microcontroller could then connect to the local WiiFi network using the username and password
these days many WiFi enabled household items use this technique to gain access to the local WiFi network
Are you suggesting i use a cable that connects the phone to the arduino? If using an app isnt using a bluetooth module more convenient?
Are you suggesting i use a cable that connects the phone to the arduino?
It was just a suggestion of one way of doing what you wanted--sending a wifi name and password to a device.
how could i make a non technical user send them?
If using an app isn't using a bluetooth module more convenient?
You know your user base better than the folks on this board, and if the non technical user is better managing an otg cable or a bluetooth connection.
Yeah, im just getting to know all the ways i could do it, and which methods are the simplest
I have a esp8266 board, is the esp32 needed or mine works too?
have a look at ESP8266 Access point
Very cool, thank you very much, after my phone connects to it, how should i go about? Can i create a little html that it send automatically to the phkne like hotel wifis? Or also with an app?
try a web search for captive portal
as soon as you connect to the access point it takes you to a web page where you enter the WiFi login details
it then closes the AP and attempts to connect to the local WiFi
That would be perfect man, thank you very much