Creating your own IoT Cloud from scratch using php, mysql and NodeMCU (ESP12E or ESP8266) - Part 1

Creating your own IoT Cloud from scratch using php, mysql and NodeMCU (ESP12E or ESP8266) – Part 1



In this tutorial series we will be Creating your own IoT (Internet of Things) Cloud from scratch using php, Mysql, ESP12E (NodeMCU). Creating your own IoT cloud from scratch requires end to end integration. I have divided this tutorial into four chapters. Each chapter will contain a detailed video for the tutorial. And every tutorial is provided with complete code and instructions wherever required.
Update*: Due to recent wordpress update, the code page is not working. I have created a github repository here. You can download code from here.

Full Tutorial here:

PART 1 :
PART 2 :
PART 3 :
PART 4 :

If you are a beginner then:
For those who are new to IoT and want to kick off with IoT, You can use my free IoT crash course on “Hands-on IoT with ESP8266(NodeMCU) from scratch”. I have given Videos, codes, instructions and images in all the tutorials.
————————————————————————————–
Chapter 1
Introduction
Getting Started with ESP12E Node MCU Wifi Development Board

Subchapters

ESP12E (NODE MCU) WIFI DEVELOPMENT BOARD Setup & Programming (LED Blink)

————————————————————————————–
Chapter 2
Introduction
Controlling Esp12E NodeMCU with LED from website (local network)

Subchapters
Setting up ESP12E NodeMCU on Breadboard with LED

CONTROLLING ESP12E NODEMCU WITH LED FROM WEBSITE (LOCAL NETWORK) – Part2

————————————————————————————–
Chapter 3
Introduction
Controlling Esp12E NodeMCU with LED from website using thingspeak from anywhere in the world

Subchapters
Controlling Esp12E NodeMCU with LED from website using thingspeak from anywhere in the world(Part-1)

Controlling Esp12E NodeMCU with LED from website using thingspeak from anywhere in the world(Part-2)

————————————————————————————–
Chapter 4
Introduction
Read temperature and humidity from nodemcu ESP12E with DHT11 and show it on HTML webpage(Local)

Subchapters
Setting up breadboard for displaying dht11 data from nodemcu on html webpage(local)

Read temperature and humidity from nodemcu ESP12E with DHT11 and show it on HTML webpage(Local)-part1

Read temperature and humidity from nodemcu ESP12E with DHT11 and show it on HTML webpage(Local)-part2

————————————————————————————–
I hope you find this resource useful. Please share it with your friends who are currently pursuing engineering or if they want to learn IoT.

30 thoughts on “Creating your own IoT Cloud from scratch using php, mysql and NodeMCU (ESP12E or ESP8266) – Part 1

  1. It is a very good tutorial… I think you should mske some more tutotials like this on Iots… Really wonderful

  2. Now React is more popular. Do you have plan to remake this tutorial using React instead of PHP? Also, MongoDB Atlas instead of MySql.

  3. Excellent! As a beginner, had been struggling to get something similar for many days. Is it okay that you share led code as well in github? I could fine there related to weather only. Many thanks and wish you all the best!

  4. I haven't started the video yet but literally, the description impressed me a lot I hope this video will worth it.

  5. Thank you very much sir…. What is need , that content is exactly found on your channel ❤️❤️❤️❤️❤️

  6. first of all thank you so much ……. for detail video regarding to iot control devices .I kindly request you, can you make same website but using MQTT based connection between esp8266 and website . once agiain Thank you.

  7. Sir this applies also for arduino IOT ? I mean creating apis to get data etc etc?Could you please make one in arduino IOT ?

  8. Sir, i try multiple times to run this code, But i can't.
    Database (db_connect,insert,Delete,update,remaining three codes are work correctly ) are work correctly .
    But Arduino code are not work correctly,

    esptool.py v2.8

    Serial port COM9

    Connecting….

    Chip is ESP8266EX

    Features: WiFi

    Crystal is 26MHz

    MAC: bc:dd:c2:16:2a:28

    Uploading stub…

    Running stub…

    Stub running…

    Configuring flash size…

    Auto-detected Flash size: 4MB

    Compressed 278416 bytes to 202858…

    Writing at 0x00000000… (7 %)

    Writing at 0x00004000… (15 %)

    Writing at 0x00008000… (23 %)

    Writing at 0x0000c000… (30 %)

    Writing at 0x00010000… (38 %)

    Writing at 0x00014000… (46 %)

    Writing at 0x00018000… (53 %)

    Writing at 0x0001c000… (61 %)

    Writing at 0x00020000… (69 %)

    Writing at 0x00024000… (76 %)

    Writing at 0x00028000… (84 %)

    Writing at 0x0002c000… (92 %)

    Writing at 0x00030000… (100 %)

    Wrote 278416 bytes (202858 compressed) at 0x00000000 in 18.3 seconds (effective 121.6 kbit/s)…

    Hash of data verified.

    Leaving…

    Hard resetting via RTS pin…

    not produce output COM9 115200. Please give a suggestion for this problem sir.

  9. Hi buddy…thank you for the info… May I have your Chatbox or mail id to converse.
    Few doubts i got..please clear that up

  10. Hey CONTROLLING ESP12E NODEMCU WITH LED FROM WEBSITE (LOCAL NETWORK) – "Part 1" isn't working. Nothing is pulling up only Part 2 is available to view.

Leave a Reply

Your email address will not be published. Required fields are marked *