Aula Jazmati 💡🕊️ACEBOTT
Published © MIT

ACEBOTT Smart Home: Automatic Drying Rack ☀️🌧️

Build a smart rain-sensing drying rack that automatically retracts when it rains & extends when sunny—perfect for your ACEBOTT smart home.

BeginnerFull instructions provided1 hour234
ACEBOTT Smart Home: Automatic Drying Rack ☀️🌧️

Things used in this project

Hardware components

https://acebott.com/product/acebott-qe024-esp32-5-in-1-smart-home-education-kit-level-2/
×1

Software apps and online services

ACECode 2.1.9

Story

Read more

Custom parts and enclosures

ACEBOTT Smart Home Project2

Schematics

Test code

Code

Example code generated by Block

C/C++
// generated by Block
#include <Arduino.h>
#include <ACB_Servo.h>
#include <ACB_Photosensitive.h>
#include <ACB_WaterVapor.h>
int state;
ACB_Servo servo_13;
ACB_Photosensitive photosensitive_33(33);
ACB_WaterVapor waterVapor39(39);

void setup() {
  servo_13.setpin(13);
  servo_13.run(0);
  state = 0;
}

void loop() {
  if ((photosensitive_33.read()) < 3000 && (waterVapor39.read()) < 100) {
    if (state == 0) {
      servo_13.run(90);
      state = 1;
    }
  }
  else{
    if (state == 1) {
      servo_13.run(0);
      state = 0;
    }
  }
}

Credits

Aula Jazmati 💡🕊️
71 projects • 234 followers
Electronic Engineering
ACEBOTT
2 projects • 1 follower
👨‍🏫Get kit + code: STEM | robotics | maker 🌐Learn more: acebott.com 📩ALL collabs & quotes here: info@acebott.com

Comments