This project uses the ESP8266 ESP-01 Wi-Fi module to host a complete, responsive static website locally via Wi-Fi. Designed to function as a low-cost, portable web server for professionals, brandings, portfolios, services, or webpages etc.
- Hosted entirely on ESP-01 using Arduino IDE.
- Embeds a responsive HTML website via
PROGMEMfor memory optimization. - No external server or SD card needed.
- Mobile-friendly and optimized for local area access.
- Contains SEO and metadata for branding.
This project uses the ESP8266WebServer class to serve a fully embedded HTML page when a user connects via the ESP-01's IP address.
When powered, the ESP-01 connects to your Wi-Fi and becomes accessible via its local IP. Devices on the same network can open the site through a browser.
| Component | Description |
|---|---|
| ESP-01 Module | ESP8266 WiFi SoC (8 pins) |
| Arduino Uno | Used as USB-to-Serial flasher (chipless) |
| 3.3V Regulator | AMS1117 or equivalent for powering ESP-01 |
| Breadboard & Jumpers | For wiring connections |
- ESP-01 uses 3.3V only. Supplying 5V directly may damage it.
- TX/RX logic level shifting is not always required but recommended for safe flashing.
- Arduino IDE
- ESP8266 Board Package (Install via Board Manager)
| ESP-01 Pin | Connects To Arduino Uno Pin |
|---|---|
| VCC | 3.3V Regulator Output |
| GND | GND |
| CH_PD | 3.3V |
| GPIO0 | GND (only for flashing) |
| TX | RX (Pin 0 on Uno) |
| RX | TX (Pin 1 on Uno) |
| RST | Not connected (optional pull-up) |
💡 After flashing, remove GPIO0 from GND to boot normally.
- Open Arduino IDE.
- Install board:
ESP8266 by ESP8266 Community. - Go to
Tools→ set:- Board: Generic ESP8266 Module
- Flash size: 1M (512K SPIFFS)
- Upload Speed: 115200
- Port: (select your USB COM port)
- Open
fcityonline.inoand replace the Wi-Fi credentials:const char* ssid = "YOUR_WIFI_NAME"; const char* password = "YOUR_WIFI_PASSWORD";
- Click Upload.
- Once uploaded, disconnect GPIO0 from GND and reset the module.
- Open Serial Monitor (baud: 115200).
- After connecting to Wi-Fi, ESP will display an IP address like
192.168.0.105. - Open that IP in any browser on the same Wi-Fi.
- Do not commit real SSID and password to public repositories.
- Replace them with placeholders like:
const char* ssid = "YOUR_WIFI_SSID"; const char* password = "YOUR_WIFI_PASSWORD";
Developed by (me) Powered by Arduino + ESP8266.