Project showcase
Home automation V1 (Arduino, Raspberry Pi, ESP8266)

Home automation V1 (Arduino, Raspberry Pi, ESP8266)

Home automation project with Arduino, Raspberry Pi and ESP8266.

  • 10,708 views
  • 2 comments
  • 18 respects

Components and supplies

Apps and online services

About this project

This is my first prototype for Home Automation.

ESP8266

There are two buttons - ON/OFF.

Arduino UNO

Four relays, one door sensor and a reset button are connected to the Arduino UNO. All this is in the old PC case.

Raspberry Pi 2B

Two modules are connected to Raspberry Pi.

There is the BMP180 (for temperature, pressure); it's ready for DS18B20.

There is the MCP23008 module. There are one MCP23008, one level converter and eight input/outputs.

Triggers

Arduino Mega is ESP8266.

Code

Cayenne-ESP8266.inoArduino
//#define CAYENNE_DEBUG         // Uncomment to show debug messages
#define CAYENNE_PRINT Serial  // Comment this out to disable prints and save space
#include "CayenneDefines.h"
#include "BlynkSimpleEsp8266.h"
#include "CayenneWiFiClient.h"

// Cayenne authentication token. This should be obtained from the Cayenne Dashboard.
char token[] = "TOKEN";
// Your network name and password.
char ssid[] = "SSID";
char password[] = "PASSWORD";

void setup()
{
  Serial.begin(9600);
  Cayenne.begin(token, ssid, password);
}

void loop()
{
  Cayenne.run();
}

Comments

Similar projects you might like

Home Automation Using Raspberry Pi 2 And Windows 10 IoT

Project tutorial by Anurag S. Vasanwala

  • 297,267 views
  • 98 comments
  • 706 respects

Home Automation system using Raspberry Pi

Project tutorial by Christian Kratky

  • 127,563 views
  • 34 comments
  • 404 respects

Arduino + Raspberry Pi + Ubidots Made Easy

Project tutorial by David Escobar

  • 13,097 views
  • 4 comments
  • 38 respects

Alexa Controlled LEDs Through Raspberry Pi

Project tutorial by vincent wong

  • 5,271 views
  • 5 comments
  • 23 respects
Add projectSign up / Login