D
D
Dyikot2021-05-09 15:45:30
Microcontrollers
Dyikot, 2021-05-09 15:45:30

How to connect ESP8266 to a router (theoretically)?

I am making a device, the connection to the network is carried out using the ESP8266 microcontroller.
I understand networks poorly, so the essence of the question is:
You need to transfer the ESP8266 SSID and password so that the ESP8266 can connect to the network.
Do I understand correctly that if you do not connect, it will not be able to connect via TCP / UPD? If yes, how then to transfer the data?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Armenian Radio, 2021-05-09
@Dyikot

You understand correctly, until you cling to the AP, there will be no network and TCP / UDP too. There are quite a few ways to transfer:
1) sew into the firmware. Much easier
2) to have a keyboard and display on board
3) to have a button, when pressed, the device starts in access point mode (read the manual). You connect to the device, enter the necessary settings (for this, you will have to set up a web server on the device, or some other thing, reboot in operating mode.
4) transfer the settings via the infrared port, or by whistling into the microphone - this is already exotic, but so they do too.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question