Professional Documents
Culture Documents
Experiment: 1.3
Aim of the practical: Develop a smart phone application for smart home voice-assistant.
2. Tool Used: LED, Connecting wires, Arduino Uno, Resistor, Tinkercad, MIT App Inventor,
ESP32, Stepper Motor.
3. Code:
/*
* Board: DOIT ESP32 DEVKIT v1
* Command: -
* 1 - TURN ON
* 0 - TURN OFF
*/
#include <UbidotsESPMQTT.h>
#define RELAY 25
Ubidots client(TOKEN);
void setup() {
Serial.begin(9600);
Serial.println("Init... T4_Smart_Home");
pinMode(RELAY, OUTPUT);
According to the code, we able to Develop a smart phone application for smart home voice-
assistant.
no