How to Assign a Static / Fixed IP Address | ESP8266 | ESP32 | Arduino

How to Assign a Static / Fixed IP Address | ESP8266 | ESP32 | Arduino

Mish Mash Labs

4 года назад

34,790 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@enredao_electronico2737
@enredao_electronico2737 - 24.09.2020 00:25

Nice explainned. It would be interesting (if you are running a bult in webserver in the ESPXX) :1- Begin as AP (Access Point) with predefined Host. 2- Once your device get connected to the AP through built in webserver, have the ability to SCAN near by WIFI SSIDs (including your Wifi router) . 3- After selection and reboot you get logged and ESPXX became STA (station) .4- Since you are connected to it through webserver and your SOHO router asigned an IP (DHCP method) , will be outstanding to have the option to do that particular IP Fixed. It is a long process but once (in my opinion) you get it done would be easier for an "End-User" instead of using Arduino/VScode IDE.

Ответить
@divyshah8437
@divyshah8437 - 19.12.2020 10:26

thank you for this video
it solved a big problem in my project
thank you once again

Ответить
@mohammadhosienanji5885
@mohammadhosienanji5885 - 03.01.2021 16:23

Thanks for this video. I did as the video but the IP that serial sent is different from the IP that I see in my phone's hotspot.(IP is as previous). What's the problem?

Ответить
@rafaoli9918
@rafaoli9918 - 08.01.2021 18:02

hi i don't know if you can help me but i i have an ip adess that i gave to my esp32 when i create a webserver it works fine but when i change the esp32 adress to a static ip the webserver doesn't work i also tried to ping and i get no response coudl you help me?

Ответить
@monamohammadi4572
@monamohammadi4572 - 12.04.2021 09:20

Hello, thank you, these are good and practical tutorials
I compiled the code but it warned
(no matching function for call to 'WiFiClass :: config (IPAddress &, IPAddress &, IPAddress &, IPAddress &, IPAddress &)))
Please guide me to fix this error

Ответить
@afghanistantechnology3833
@afghanistantechnology3833 - 27.04.2021 11:28

Hi sir
When i search the ip address

it asks me for username and password.

What should i write?

Ответить
@rushabhkulkarni363
@rushabhkulkarni363 - 07.06.2021 21:22

tried network id and pass of my router didnt work

Ответить
@benditovicentecosta1710
@benditovicentecosta1710 - 10.06.2021 07:48

My god, i just thank you a lot, this video helped me so much that i can-t find the right words to express my joy ☺

Ответить
@techinstack7572
@techinstack7572 - 05.08.2021 16:03

hello brother,can you please try this method without router,instead of router coonect with mobile hotspot ..??? please do same with mobile subnet and gateway credntials ...

Ответить
@lukmannet
@lukmannet - 26.10.2021 06:25

I am trying but cant compile: no matching function for call to 'WiFiClass::config(IPAddress&, IPAddress&, IPAddress&, IPAddress&, IPAddress&)'

Ответить
@jgunther3398
@jgunther3398 - 29.10.2021 00:49

i got some errors when i complied your gethub file, but was able to get the info to do what i needed. i guess there are a lot of different libraries out there. thanks!!!

Ответить
@fernsgilbert
@fernsgilbert - 16.12.2021 19:44

thanks a lot. Worked fine for me except one error > Serial.printIn is not recognised so changed to > Serial.print

Ответить
@poruatokin
@poruatokin - 24.12.2021 04:28

This is wonderful stuff. You deserved a larger following.

Ответить
@lokhenderkummari5773
@lokhenderkummari5773 - 02.01.2022 08:40

how to we remove the wifi network hosted from esp?

Ответить
@africantech5
@africantech5 - 01.02.2022 05:19

Am using esp8266

Ответить
@forgeteverythingyouknow5413
@forgeteverythingyouknow5413 - 21.02.2022 08:13

This is so useful and I'm so surprised... You're the only one I've seen share this information

Ответить
@evilmode100
@evilmode100 - 11.03.2022 04:26

As always people that deserves credits dont get them.. I watched perhaps 100 videos trying to to do what you made me (understand) in 4 minutes... No words to thank you and sorry for my english.

Ответить
@domoledlight
@domoledlight - 11.08.2022 11:41

hello Sir good video how to read from spiffs a IPAddress local_IP(192, 168, 1, 199); i want to put it as a variable sored in the memory

Ответить
@juanjo2d
@juanjo2d - 01.11.2022 00:23

Just what I needed!! Thank youuuuu

Ответить
@edudiy9438
@edudiy9438 - 16.11.2022 00:04

Where i find gatewayIP my phone is a router
??

Ответить
@dhavalsolanki3562
@dhavalsolanki3562 - 14.03.2023 05:01

This is greatest stuff.

Ответить
@sweetygangane4551
@sweetygangane4551 - 16.04.2023 13:49

Ip address is not comming

Ответить
@avidiy555
@avidiy555 - 25.04.2023 12:29

My esp8266 not connect mobile hotspot, ssid and password ok, but not connect😢😢

Ответить
@0124akash
@0124akash - 12.05.2023 17:21

How to find
Local ip
Gateway
Subnet
Primary dns
Mac address
??

Ответить
@erdimsengun1672
@erdimsengun1672 - 19.09.2023 02:08

Thanks

Ответить
@dienau6313
@dienau6313 - 03.10.2023 06:48

what if I use ESPAsyncWebServer instead of Webserver?

Ответить
@am604
@am604 - 15.11.2023 23:23

Thanks so much bro i really needed this for a school project ive been strugging to find a way so the ip is constant and wont change.
Once again thank you so much!

Ответить
@isxckk.
@isxckk. - 17.12.2023 17:08

For me it does not work, i am trying to give my ESP8266 (That is functioning as a server for some domotica devices) a static IP, it is connected to my laptop hotspot. But for some reason it does not stay static..

Ответить
@mohsenjavaher7782
@mohsenjavaher7782 - 25.04.2024 08:26

Im going to test this, and if this solves my problems i will PRAY for you❤

Ответить
@V-Angel
@V-Angel - 18.11.2024 15:09

Can you connect to anydesk to HELP me? I will pay 😭. I cant setup the yaml for home assistant

Ответить
@H.Besharatifard
@H.Besharatifard - 27.12.2024 09:40

hi, what are static ip setting for mobile hotspot?

Ответить