WiLamp | Universal Automation App Arduino (ESP 8266) - PC Week | Weekend Tech Network

WiLamp | Universal Automation App Arduino (ESP 8266)

esp8266 app inventor,android arduino wifi control devices with esp8266 module,android studio esp8266,esp8266 android app source code,esp8266 universal remote,esp8266 android communication,control arduino with android via wifi

WiLamp | Universal Automation App Arduino (ESP 8266): Guys Welcome back to another amazing tutorial on Automation App for your ESP 8266 with Arduino Platform. In this tutorial, I will show how to build your own Arduino Automation System with ESP 8266 and Wifi (Without Internet). If you are looking for IOT Project Ideas this project would surely help you.

  Table of Contents
If you are a beginner to Arduino DIY Automation Projects then I highly recommend you to use WiLamp App and program, because ESP8266 have a lot of programs where you have to enter the local IP address of the board Each time when you start the app. This App doesn't need any pre-configuration which is suitable for Daily Automation Purposes. Just configure the Hotspot in your Android phone and control your Gadgets.

And Another Problem with the automation app is that most of the app works only with internet but this App doesn't need the Internet at all. It Works with your preset Wifi name and Password. So Just connect with your Hotspot and Control Your Gadgets.



 IOT Projects

WiLamp App is configured with Thunkable and Customised with Vector Images and Icons. The app will work on most of the Android devices but if you encountered any problem please report it to me.

I have provided the App link below. If anyone needs the Source code of WiLamp then you can contact me or comment below. You can modify this code to work with other IOT Project.

Features of WiLamp

esp8266 app inventor,android arduino wifi control devices with esp8266 module,android studio esp8266,esp8266 android app source code,esp8266 universal remote,esp8266 android communication,control arduino with android via wifi


WiLamp
One Click Mode
Preset IP Address
No Internet Needed (Works in your Hotspot Region)
Customised App
Optimised Code
Secured With Your Hotspot Connection

Connecting App and Gadgets

WiLamp can be used in any Android versions to control your gadgets. In order to connect your phone to WiLamp, you should need to create a hotspot with the initially programmed Wifi name and Password.

WiLamp IOT Projects can be used with any Wifi enabled microcontroller. This app is specifically made for ESP 8266 boards which I successfully tested and worked perfectly.
Arduino Code is Provided Below

Set Your Hotspot Name and Password pcweek and pcweek123. You can change this by editing the SSID and Password

Program 

// WiLamp Version 1
// Made by Muhammed Fasil K-https://github.com/mhdfasilwyd/Arduino_Projects
#include <ESP8266WiFi.h>
#include <WiFiClient.h>
#include <ESP8266WebServer.h>
const char MAIN_page[] PROGMEM = R"=====(
  <!DOCTYPE html>
  <html>
  <body>
  <center>
  <h1>WiLamp</h1><br>
  Ciclk to turn <a href="ledOn">LED ON</a><br>
  Ciclk to turn <a href="ledOff">LED OFF</a><br>
  </center>
  </body>
  </html>
)=====";
IPAddress staticIP(192, 168, 43, 90);
IPAddress gateway(192, 168, 43, 1); 
IPAddress subnet(255, 255, 255, 0);
IPAddress dns(8, 8, 8, 8);  //DNS
const char* deviceName = "pcweek";
#define LED 2
const char* ssid = "pcweek";
const char* password = "wilamp123";
ESP8266WebServer server(80);
void handleRoot()
{
 String s = MAIN_page;
 server.send(200, "text/html", s);
}
void handleLEDon() {
 Serial.println("LED on page");
 digitalWrite(LED,LOW);
 server.send(200, "text/html", "LED is ON");
}
void handleLEDoff()
{
 Serial.println("LED off page");
 digitalWrite(LED,HIGH);
 server.send(200, "text/html", "LED is OFF");
}
void setup(void){
  Serial.begin(115200);
  WiFi.begin(ssid, password);
  Serial.println("");
  pinMode(LED,OUTPUT);
  digitalWrite(LED,HIGH);
  WiFi.disconnect();
  WiFi.hostname(deviceName);
  WiFi.config(staticIP, subnet, gateway, dns);
  WiFi.begin(ssid, password);
  WiFi.mode(WIFI_STA);
  while (WiFi.status() != WL_CONNECTED) {
  delay(500);
  Serial.print(".");
  }
  server.on("/", handleRoot);   
  server.on("/ledOn", handleLEDon);
  server.on("/ledOff", handleLEDoff);
  server.begin();               
  Serial.println("WiLamp Server Started");
}
void loop(void){
server.handleClient();       
}

If you don't want to install this App or If you are using I Phone then you should open your browser and enter 192.168.43.13 in your browser after configuring your Hotspot.

Debugging

If you are encountering any errors like this please check if your hotspot is configured or not.

esp8266 app inventor,android arduino wifi control devices with esp8266 module,android studio esp8266,esp8266 android app source code,esp8266 universal remote,esp8266 android communication,control arduino with android via wifi

Error 1101 Encounters when the server communication fails. So double check your Hotspot SSID and Password.

You can contribute your Improvement through my GitHub link here

Video Demonstration


Conclusion

We hope you liked this article on "WiLamp | Universal Automation App Arduino (ESP 8266)"   

You can freely comment your doubts below.

If you liked this article, then please share to the social networking site. You can also find us on Twitter, Facebook, YouTube, and Instagram.

5 comments:

  1. Hi Guys Check out this Article on Automation Project

    ReplyDelete
  2. nice work and keep posting like this keep up the good work

    https://www.apollohealth4u.com

    ReplyDelete
  3. It is a great website.. The Design looks very good.. Keep working like that!. motori cancelli automatici

    ReplyDelete

Powered by Blogger.