ESP8266 Web Hosting and Rickroll

by DIYBOIII in Circuits > Software

349 Views, 1 Favorites, 0 Comments

ESP8266 Web Hosting and Rickroll

Capture (2).jpg
Capture2.jpg
Screenshot 2023-07-02 190336.jpg
Screenshot 2023-07-02 190220 - Copy.jpg
Screenshot 2023-07-02 190411.jpg

This is a NodeMCU hosting a very basic but interactive website that you can customize in the code. It is not much as the ESP8266 cant handle much due to its very limiting resources because it actually not meant for web hosting but you can! The only button that will rickroll is "HOME" on both the "About" and the "Contact page" code is here-

https://github.com/KanishkG1/Webhosting_and_Rickroll_with_ESP8266.git


If you have any queries feel free to ask in the comments :)

Supplies

IMG_20230702_190850.jpg

ESP8266 NodeMCU

Setting Up the Code

Open the code and change the WI-FI SSID and Password.

Uploading the Code

Upload the code to the ESP8266 board.

Accessing the Website

Once the code is uploaded open the serial monitor and set the baud rate to 74880 and press the reset button you should see the light on the board blinking quickly which means it is trying to connect to the WIFI source(router/hotspot) and after it connects led will stop blinking and then you will be able to see a IP in the serial monitor which is what you need to enter in the browser to access the webpage.


Happy Rick-Rolling XD