I am using ESP32 S3 module
I can upload the program to the module but it does not how in the wifi network
Normally any development boards visible in the WiFi network once the power is supplied to the board but I am using ESP module as per the above image so it does not show in the wifi network
I uploaded following code to the esp as per the you given link but it does not show in the wifi list
// SPDX-FileCopyrightText: 2020 Brent Rubell for Adafruit Industries
//
// SPDX-License-Identifier: MIT
/*
Web client
This sketch connects to a website (wifitest.adafruit.com/testwifi/index.html)
using the WiFi module.
This example is written for a network using WPA encryption. For
WEP or WPA, change the Wifi.begin() call accordingly.
This example is written for a network using WPA encryption. For
WEP or WPA, change the Wifi.begin() call accordingly.
created 13 July 2010
by dlf (Metodo2 srl)
modified 31 May 2012
by Tom Igoe
*/
#include <WiFi.h>
// Enter your WiFi SSID and password
char ssid[] = "YOUR_SSID"; // your network SSID (name)
char pass[] = "YOUR_SSID_PASSWORD"; // your network password (use for WPA, or use as key for WEP)
int keyIndex = 0; // your network key Index number (needed only for WEP)
int status = WL_IDLE_STATUS;
// if you don't want to use DNS (and reduce your sketch size)
// use the numeric IP instead of the name for the server:
//IPAddress server(74,125,232,128); // numeric IP for Google (no DNS)
char server[] = "wifitest.adafruit.com"; // name address for adafruit test
char path[] = "/testwifi/index.html";
// Initialize the Ethernet client library
// with the IP address and port of the server
// that you want to connect to (port 80 is default for HTTP):
WiFiClient client;
void setup() {
//Initialize serial and wait for port to open:
Serial.begin(115200);
while (!Serial) {
; // wait for serial port to connect. Needed for native USB port only
}
// attempt to connect to Wifi network:
Serial.print("Attempting to connect to SSID: ");
Serial.println(ssid);
WiFi.begin(ssid, pass);
while (WiFi.status() != WL_CONNECTED) {
delay(500);
Serial.print(".");
}
Serial.println("");
Serial.println("Connected to WiFi");
printWifiStatus();
Serial.println("\nStarting connection to server...");
// if you get a connection, report back via serial:
if (client.connect(server, 80)) {
Serial.println("connected to server");
// Make a HTTP request:
client.print("GET "); client.print(path); client.println(" HTTP/1.1");
client.print("Host: "); client.println(server);
client.println("Connection: close");
client.println();
}
}
void loop() {
// if there are incoming bytes available
// from the server, read them and print them:
while (client.available()) {
char c = client.read();
Serial.write(c);
}
// if the server's disconnected, stop the client:
if (!client.connected()) {
Serial.println();
Serial.println("disconnecting from server.");
client.stop();
// do nothing forevermore:
while (true) {
delay(100);
}
}
}
void printWifiStatus() {
// print the SSID of the network you're attached to:
Serial.print("SSID: ");
Serial.println(WiFi.SSID());
// print your board's IP address:
IPAddress ip = WiFi.localIP();
Serial.print("IP Address: ");
Serial.println(ip);
// print the received signal strength:
long rssi = WiFi.RSSI();
Serial.print("signal strength (RSSI):");
Serial.print(rssi);
Serial.println(" dBm");
}
If I run your program of post #5 on an ESP32-WROOM-32 (I don't have any S3 versions) I get
Attempting to connect to SSID: XXXXXX
.............
Connected to WiFi
SSID: XXXXX
IP Address: 192.168.1.211
signal strength (RSSI):-46 dBm
Starting connection to server...
connected to server
HTTP/1.1 200 OK
Server: nginx/1.18.0 (Ubuntu)
Date: Sat, 17 Dec 2022 21:18:25 GMT
Content-Type: text/html
Content-Length: 69
Last-Modified: Thu, 09 Dec 2021 17:26:22 GMT
Connection: close
ETag: "61b23c3e-45"
Accept-Ranges: bytes
This is a test of Adafruit WiFi!
If you can read this, its working :)
disconnecting from server.
the ESP32-S3 supports WiFi 2.4 GHz (IEEE 802.11 b/g/n) therefore the program should work on your module assuming you have the SSID etc correct
can you upload the text (not an image) of the serial monitor output when you run the program of post #5?
Attempting to connect to SSID: XXXXXX
.............
Connected to WiFi
SSID: XXXXX
IP Address: 192.168.1.211
signal strength (RSSI):-46 dBm
Starting connection to server...
connected to server
HTTP/1.1 200 OK
Server: nginx/1.18.0 (Ubuntu)
Date: Sat, 17 Dec 2022 21:18:25 GMT
Content-Type: text/html
Content-Length: 69
Last-Modified: Thu, 09 Dec 2021 17:26:22 GMT
Connection: close
ETag: "61b23c3e-45"
Accept-Ranges: bytes
This is a test of Adafruit WiFi!
If you can read this, its working :)
disconnecting from server.
the ESP32-S3 supports WiFi 2.4 GHz (IEEE 802.11 b/g/n) therefore the program should work on your module assuming you have the SSID etc correct
can you upload the text (not an image) of the serial monitor output when you run the program of post #5?
[/quote][quote="horace, post:7, topic:1066578, full:true"]
If I run your program of post #5 on an ESP32-WROOM-32 (I don't have any S3 versions) I get
Attempting to connect to SSID: XXXXXX
.............
Connected to WiFi
SSID: XXXXX
IP Address: 192.168.1.211
signal strength (RSSI):-46 dBm
Starting connection to server...
connected to server
HTTP/1.1 200 OK
Server: nginx/1.18.0 (Ubuntu)
Date: Sat, 17 Dec 2022 21:18:25 GMT
Content-Type: text/html
Content-Length: 69
Last-Modified: Thu, 09 Dec 2021 17:26:22 GMT
Connection: close
ETag: "61b23c3e-45"
Accept-Ranges: bytes
This is a test of Adafruit WiFi!
If you can read this, its working :)
disconnecting from server.
the ESP32-S3 supports WiFi 2.4 GHz (IEEE 802.11 b/g/n) therefore the program should work on your module assuming you have the SSID etc correct
can you upload the text (not an image) of the serial monitor output when you run the program of post #5?
[/quote]
Hi Thanks for input
This is the serial monitor output and it shows successfully connected to the wifi netwark
My concern is in my wifi network does not show my esp ssid
This is the board that I selected
[quote="horace, post:7, topic:1066578, full:true"]
If I run your program of post #5 on an ESP32-WROOM-32 (I don't have any S3 versions) I get
sounds like you wish to create an Access point using the ESP32 where it has own SSID and password and WiFi devices can connect too it
try a web search for ESP32 Access point, e.g. esp32-access-point-ap-web-server
First of all sorry what I can't explain the my issue
Please let me explain it again
Just I want to ...When the esp module power up.... its SSID should visible following search list
Shall we suppose we perchase esp8266 from the shop then once we connect to the phone charger ( Power supply ) Then the esp module will found the wifi serach list in the phone or PC )
usually when you get a new ESP device you need to load a program to give you the functionality you require, e.g. using the code from how-to-turn-esp32-into-access-point
creates an Access point called ESP32ap when appears in the WiFi list on my smartphone which I can connect too using the password "12345678"
Then I uploaded following code which is from WiFiManager (Basic) code then the board dissipate in the Wifi list
#include <WiFiManager.h> // https://github.com/tzapu/WiFiManager
void setup() {
// WiFi.mode(WIFI_STA); // explicitly set mode, esp defaults to STA+AP
// it is a good practice to make sure your code sets wifi mode how you want it.
// put your setup code here, to run once:
Serial.begin(115200);
//WiFiManager, Local intialization. Once its business is done, there is no need to keep it around
WiFiManager wm;
// reset settings - wipe stored credentials for testing
// these are stored by the esp library
// wm.resetSettings();
// Automatically connect using saved credentials,
// if connection fails, it starts an access point with the specified name ( "AutoConnectAP"),
// if empty will auto generate SSID, if password is blank it will be anonymous AP (wm.autoConnect())
// then goes into a blocking loop awaiting configuration and will return success result
bool res;
// res = wm.autoConnect(); // auto generated AP name from chipid
// res = wm.autoConnect("AutoConnectAP"); // anonymous ap
res = wm.autoConnect("AutoConnectAP","password"); // password protected ap
if(!res) {
Serial.println("Failed to connect");
// ESP.restart();
}
else {
//if you get here you have connected to the WiFi
Serial.println("connected...yeey :)");
}
}
void loop() {
// put your main code here, to run repeatedly:
}