Dear all I want to make a webpage with an Arduino Giga R1 wifi.
Now I know there are sample codes to test the Arduino's wifi. Now I want the Arduino to act as a router so that anyone who enters the IP address of the Arduino will get to the webpage that the Arduino is broadcasting.
In short, I want the Arduino to serve as a router.
I have already tried a bit with wifi but in the code, you then have to enter your SSID and password of the wifi network you want to use, but then you are dependent on the remote router's wifi network. I want the Arduino to broadcast the IP address and act as a server .
I don't have much experience in this which is why I am asking this question. I am a beginner with wifi on an Arduino.
hmm.. webpages don't get broadcasted they get served by a server..
your Wifi has 2 modes, the one you describe is the first, the second is AP (access point) mode, it will broadcast it's own SSID that you will connect too, then you should be able to get to your webpage server by your server..
looking through the mbed core don't find an example for this, sorry..
starts with calling
Your use of the terminology is wrong but I think what you want is a Soft Access Point which can serve up a web page directly without the need of a separate router.
The cheapest way is probably to program a $6 raspberry Pi Pico W for the job and save your expensive Giga R1 WiFi for something else.
Thank you for your response. I have created a project where I am using my home's Wi-Fi network. So only now I want the Arduino to broadcast its own SSID and then reach my own web page.
So you want your Arduino to act as an AP (Access Point) - creating a separate WiFi network of its own?
Do you want this Arduino to also be connected to your home WiFi?
You'd have to check if it supports being both a Station (on your home WiFi) and an AP (its own WiFi) at the same time...
What do you mean by that?
Is this web page being served by this Arduino, on its own network?
Or you want this Arduino to connect to some other web page?
Or what?
Why do you think you need a separate network?
Why can't the Arduino connect to your home WiFi, and then its web page will be accessible on your home WiFi network?
I want an access piont that can display a webpage directly without the use of a separate router. So through an IP address that the arduino sends out, I get to the webpage (Https:// MY IP ADRESS). This is the web page that is reserved by the arduino.
I don't want the arduino to connect to the wifi of my house.
Right - so it's a totally separate, isolated network?
That means that any device wanting to get to your web page will have to disconnect from your home WiFi (or whatever other network) and connect to this isolated network.
Is that what you want?
The Arduino does not "send out" its own IP address.
I tried testing the sample code of the Web Server AP Mode (it is on the Arduino site). Only I get it compiled but when I upload it to the Arduino GIGA, I think the operating system crashed (red light flashes at boot0). This happens every time I upload this code.
I tried testing the sample code of the Web Server AP Mode (it is on the Arduino site). Only I do get it compiled and uploaded to the Arduino GIGA (works fine). Then get an IP address. When I enter this IP adress in the HTTPS bar it doesn't find the webpage anymore.