Things used in this project

Hardware components:
D1 mini
Everything ESP Wemos D1 Mini
×1
Software apps and online services:
Ide web
Arduino Arduino IDE
Bluehost Web Server
Hand tools and fabrication machines:
09507 01
Soldering iron (generic)
Hy gluegun
Hot glue gun (generic)

Custom parts and enclosures

Thingiverse
https://www.thingiverse.com/thing:1786517

Code

Code snippet #1Plain text
connectToWifi();Serial.println("Connected");  if(programState==1)
  {
   if(RoombaIsAtHome())
   {
       programState = 2;
   }
  }
}
Code snippet #2Plain text
checkIfRoombaIsAtHome(); switch(programState)
 {
  case 2: blinkSlowly();break;
  case 3: turnLedOn();secondsAway++;break;
  case 4: turnLedOff();break;  default:break;
 }
Code snippet #3Plain text
void sendEmail(String seconds){
  if (client.connect(servername, 80)) {  //starts client connection, checks for connection
    Serial.println("connected");
    client.println("GET /send_email.php?seconds="+seconds+" HTTP/1.1"); //Send data
    client.println("Host: educ8s.com");
    client.println("Connection: close");  //close 1.1 persistent connection  
    client.println(); //end of get request
  } 
  else {
    Serial.println("connection failed"); //error message if no client connect
    Serial.println();
  } while(client.connected() && !client.available()) delay(1); //waits for data
  while (client.connected() || client.available()) { //connected or data available
    char c = client.read(); //gets byte from ethernet buffer
      result = result+c;
    }  client.stop(); //stop client
  Serial.println(result);
  
}

Credits

Photo
Nick Koumaris

My name is Nick Koumaris and I am a software engineer from Sparta, Greece. I love building projects and share them with the world!

Contact

Replications

Did you replicate this project? Share it!

I made one

Love this project? Think it could be improved? Tell us what you think!

Give feedback

Comments

Similar projects you might like

AWS IoT Environment for Home Assistant
Intermediate
  • 903
  • 8

Work in progress

Home Assistant is an automation platform that can track and control all kinds of devices and automate actions, which fits well with AWS IoT.

Home Automation Using IoT
Intermediate
  • 117
  • 2

Work in progress

Connecting home appliances to the internet and controlling them from anywhere in the world.

Doorbell (Working Captive Portal Use Case)
Intermediate
  • 50
  • 0

Wi-Fi Example of dynamical switching between SoftAp & STA: makes a wireless Arduino device configurable via a web page (SoftAP mode).

Autonomous Plant (ESP8266 - Arduino)
Intermediate
  • 538
  • 4

Full instructions

Want to build system that takes care of a plant? Here's my first attempt. Using ESP8266, soil moisture and Sonoff grow light

ESP8266: Sending Data to an Online Deskboard
Intermediate
  • 163
  • 0

Protip

Easiest, cheapest and cleanest way to send small chunks of data. Wemos uploads data to Dweet.io and it is visualized via Freeboard.io.

Smart Health Kit
Intermediate
  • 411
  • 2

Creating E-health care system that allows easier, better, and faster communications between patients, doctors, and hospitals.

Smart Health Kit

Team Akatsuki

ProjectsCommunitiesTopicsContestsLiveAppsBetaFree StoreBlogAdd projectSign up / Login