Automatic Air Conditioner Switch

by joechou_0901 in Circuits > Arduino

369 Views, 1 Favorites, 0 Comments

Automatic Air Conditioner Switch

IMG-0049.jpg

Since there are various different things that people need to do during their daily lives, we often forget some minor details, sometimes causing severe consequences, forgetting to turn off the air conditioner is one of them. While people accidentally forget to turn the air conditioner off, the electricity bills for next month will increase rapidly. Therefore, it would be nice if a device could turn on the air conditioner when you enter the room, and turn it off when you left. Our device will be able to achieve that goal with simply an Arduino board and several common household items.

Supplies

- Arduino Uno/Leonardo x1

- Breadboard x1

- Tape x1

- Air Conditioner Controller for Operation x1

- Servo Motor x1

- Jumper Wires x4

- Photoresistor x1

- Resistor x1

- Arduino Wire Extension Cord x3

Prepare All Your Materials

IMG-0040.jpg
IMG-0041.jpg
IMG-0042.jpg
IMG-0048.jpg

(1) Jumper wire

(2) Photoresistor

(3) Servo Motor

(4) Arduino Leonardo & Breadboard

Build the Circuit

Screen Shot 2020-05-26 at 10.50.25 PM.png
IMG-0039.jpg

The circuit should look like the images above after adding wires.

For Specific Wiring:

D10 -> White wire of the servo motor (connect them with an extension cord)

A0 -> A46

+55 -> D47

+61 -> 5v

-23 -> Black wire of the servo motor

+23 -> Red wire of the servo motor

GND -> -36

Resistor: (1) D46; (2) -43

Photoresistor: (1) E47; (2) D46

Apply the Device on the Controller

IMG-0049.jpg

Place the servo motor on the air conditioner controller, the spinning wheel on the motor should be appressed tightly on the power button of the air conditioner so that it could function properly. After that, apply tapes on the air conditioner controller and the motor to prevent the motor from falling off. Finally, cover the tape and the motor with things such as a cloth, a box, or a paper to decorate.

The Code

Done

After the device is completed, the air conditioner should be able to turn on automatically when turning on the lights like the video below:

https://youtu.be/pOCfv3DHeZU