What a SURPRISE-- Ghost House

by JUST_INCAPABLE in Circuits > Arduino

31 Views, 1 Favorites, 0 Comments

What a SURPRISE-- Ghost House

IMG_5927.JPG

In the realm of electronics and DIY projects, Arduino microcontrollers have become synonymous with innovation and creativity. One fascinating device that showcases the power of Arduino is a project utilizing an infrared (IR) sensor to control a servo motor. Let's delve into the intricacies of this device and explore its functionality.


Supplies

IMG_5916.JPG
IMG_5917.JPG
IMG_5920.JPG

The device employs an Arduino microcontroller along with a servo motor, some electric wire, and an infrared sensor. The heart of the device lies in its code, written in the Arduino IDE, which dictates the behavior of the components based on the input received from the IR sensor.

Connect Wires

IMG_5931.JPG

Connect the servo motor to the Arduino board by using D9.Connect the infrared sensor to D2.

Enter Codes

The Arduino codes for this project are below (Ghost_house.ino), Download this code and open it in Arduino IDE.

Downloads

Exterior

IMG_5905.JPG

DECORATE IT

Finished

IMG_5934.JPG
IMG_5904.JPG

You're Finished

End Picture

IMG_5934.JPG

All the Pictures

IMG_5909.JPG
IMG_5914.JPG
IMG_5916.JPG
IMG_5917.JPG
IMG_5918.JPG
IMG_5920.JPG
IMG_5924.JPG
IMG_5927.JPG
IMG_5929.JPG
IMG_5930.JPG
IMG_5931.JPG
IMG_5933.JPG