ESP8266 Wi-Fi Modes: Station vs. Access Point Using Arduino IDE (Mac OSX and Windows)

preview_player
Показать описание
• Your support helps me post videos more frequently:
BTC: 1ZpLvgETofMuzCaKoq5XJZKSwe5UNkwLM
==========
• Find me on:
==========
• My shops:
==========
• Description:
In this video I go over the process of how to use the ESP8266 in two modes of operation: Station (STA) and Access Point (AP). In short, STA mode allows the ESP8266 to connect to a Wi-Fi network (e.g., the one created by your wireless router) whereas AP mode allows it to create its own network and have other devices (e.g., your phone) connect to it!
In this video I go, step-by-step, over the process of how to write code in the Arduino IDE for using both modes simultaneously! Though several code samples exist already, I wanted to explain in detail what you need from start to finish.
==========
• Project parts:
ACROBOTIC Development Board for ESP8266:
==========
• Project code:
Detailed guide for getting started with the ESP8266 Development Board:
Firmware for the Arduino IDE:
==========
• Tutorials:
Info on different 802.11 (Wi-Fi) modes:
==========
• Music:
==========
#ESP8266 #Arduino #Tutorial
Рекомендации по теме
Комментарии
Автор

Cisco and Acrobotic Team (if there is a team) I really appreciate your tutorials. It is a complete tutorial and I've had just 100% success with your tutorials. This is not the case with all YouTuber's tutorial and I think you have something special here. Thank you so much?

kesterbelgrove
Автор

Thanks... Been Searching for this for a while..

anoofchappangathil
Автор

so wonderful. This video let me started with Acrobatic and I got stuck. But after following from the beginning video, now this tip become the easiest ever even though I'm just the newbie in esp8266. Thank so much and wishing u can do more tutorials, I'm nearly end of yours series videos.

phucnguyenk
Автор

Great tutorial!
I could see this being useful in extending wifi range to devices by creating several nodes.

MitzpatrickFitzsimmons
Автор

Hi Cisco, I've built several projects with your guidance using the Esp8266 successfully. But I have a problem understanding something I have a problem with. I've asked around several forums including the Everything ESP8266 forum, and haven't seen an answer that provides understanding at least for me. I hope you can help. The issue is this:
When placing the ESP8266 in AP MODE, and then providing a wep page on the default ip address, I am able to log onto the ESP8266 with any of my android devices, IE Samsung phone, wifes LG phone, and ASUS tablet. but I can't log on to it with my Windows 10 laptop.
The only message from windows I get is that the network is not secure, and I should choose another. Sometimes it will logon briefly but when trying to access the web page, the connection is dropped. I have had as many as 3 Android devices connected, all receiving updates sensor information using the Asyncwebserver. It doesn't matter if there is another connection or not, Windows 10 will not connect. I then went to an older laptop running Ubuntu 20.04 with Firefox as a browser, and it also would not connect.
I've seen this issue batted around on various sites a few years ago but haven't seen a solution, or work around, any information on this would be appreciated.

googleuser
Автор

how can we turn esp8266 into repeater the way you do it in this video? 🧐

pauldox
Автор

how do i add custom macadress to the AP?

surplusdriller
Автор

wonderfull!!! you saved me many hours of head breaking!! thank you very much!

marcelobenitezabc
Автор

How can I send data from computer server to Arduino?

wxmohamed
Автор

Cisco,
Thanks for this video. Just a few questions;
1/ Where could I get the code that you loaded onto the module?
2/ Is there any instruction/Documentation on how to use this code?
3/ where could I get the Phone APP that you used in the video?
4/ Is there any instruction/Documentation on how to use this APP? Example, how to modify it?
Thanks

dave
Автор

Thanks for the simple to understand video on AP. Really appreciated. I just did all as in video, but didn't work after flash, Only thing I changed was adding my own password for AP. Initially, my thought on all other places looking for problem, but the problem was the password. Wifi password rule is minimum 8 characters, mine was 6. Simple loose end, but costed a little time to figure out. Thanks for this video. It worked just like that.

narenn
Автор

Hello Cisco,
I appreciate the work you have done here.
I have one question: Why when you tried to connect to the esp in AP mode you typed the ip 192.168.11.4 and not the Gateway IP 192.168.11.1 ? shouldn't the module act as a gateway in the AP mode?

mohamedallamES
Автор

Will you please do a video of using the NodeMCU as a wifi repeater?

rodinsuniga
Автор

great job, but why do not write the code directly in the Arduino IDE?

MrPinolatino
Автор

Hey i am facing a problem can you help me with that . So here is the problem when you actually put the board into the AP+STA mode the problem is that the AP which esp hosts is not stable . Like it turns on and off, i checked it using a wifi analyser and i verified that in this specific mode this problem occurs, can you help me in removing this issue ?

TechInventorAman
Автор

Hello,

In the AP_STA mode, can the station connect with the AP created? I would like to create a Wi-Fi AP with a WeMos D1 ESP8266, and a station (in the ESP8266 module) that would send UDP messages to multiple ESP8266 ESP-12E NodeMCU 1.0 Boards. Is it possible?

Thanks you !

victorpachecogarcia
Автор

sir i have a project, i have 2 esp8266 clients that connected to 1 esp8266 Accesspoint. The clients succeed to send data to Accesspoint. And after the Accesspoint get the data from clients want to store it to firebase database.


Is it possible to make the Accesspoint send the data to the firebase? thanks alot

omarsmith
Автор

Hi Cisco,
Thanks for the video. I have been trying to talk to two Wemos devices via UDP without going through any web server. I have managed to create an access point and connect to it but every few seconds it gets disconnected. Since it wasn't working properly I tried to connect to wemos AP via laptop and my mobile phone and then use a Packet Sender software. This is when it became obvious connection wasn't stable it kept on getting disconnected. Is this something you have come across before? Do you know why it is getting dc? Many thanks

AliG.G
Автор

I M DOING MY FINAL YEAR PROJECT (wireless voting machine with touch screen)
now i have to send a question(multiple choice type) from laptop without using wire to touch screen through arduino and then i have to send the answer selected on touch screen to laptop so how should i do this using ESP8266
HELP PLZ...

IbrahimKhan-fedz
Автор

Good day sir! may I ask if the mobile phone you're using in this tutorial can access the internet by using the esp8266 as AP? I follow your tutorial many times and still my mobile phone cant access to the internet.

josedocena