Infinity Gauntlet Controlled Home Automation

by Barqunics in Circuits > Arduino

4725 Views, 22 Favorites, 0 Comments

Infinity Gauntlet Controlled Home Automation

Infinity Gauntlet Controlled Home Automation
IMG_3222.JPG
IMG_3218.JPG

In my previous project i have made an infinity gauntlet that control a light switch. I wanted to use six stones and each stone can control appliance, door lock, or lighting.So, I made a home automation system using infinity gauntlet. In this project I used the RF24Network Library, which enables to build a wireless network with many Arduino boards.

Hardware and Materials Required

Arduino Mega + USB Cable II Arduino Uno : https://amzn.to/2qU18sO II https://amzn.to/39cqZ3E

Arduino nano: https://amzn.to/2zMXJU8

9v battery: https://amzn.to/2wPmnSP

Switch: https://amzn.to/2upTngE

Jumper wires: https://amzn.to/398mQhq

Male DC Barrel Jack Adapter for Arduino : https://amzn.to/2VwyKxx

Micro Servo 9g : https://amzn.to/38bLtrY

Mini Breadboard : https://amzn.to/2JujS9e

9v Battery Clip Connector : https://amzn.to/32D4R0b

Cardboard : https://amzn.to/39ufbKH

NRF24L01+ 2.4GHz Wireless RF Transceiver Module: https://amzn.to/30xQlp4

MPU 6050 : https://amzn.to/2HtMbHf

LED Strips : https://amzn.to/2Hquzf6

Making the Infinity Stones and the Infinity Gauntlet From Cardboard

IMG_3304.JPG
IMG_3305.JPG
IMG_3306.JPG
IMG_3312.JPG
IMG_3115.JPG
IMG_3310.JPG
IMG_3309.JPG

For making infinity stones, I used ruby, epoxy resin + Hardener, colour paint, and clay (you can use silicon).
- Push ruby into the clay and pull it out.

- Mix the resin, hardener, colour paint and divide it into six different cups, one for each color.

- Pour the epoxy into the mold and Let it dry.

You can watch this video , if you want to know how I made infinity gauntlet from cardboard.

Arduino Wireless Network With Multiple NRF24L01 Modules

Block Diagram Arduino Wireless 2 .jpg

A single NRF24L01 module can actively listen up to 6 other modules at the same time. You can define the addresses of the nodes in octal format. In this project, the address of the base (Infinity Gauntlet) is 00, the base children addresses are 01 to 0. So from the base (Infinity Gauntlet) , using a MPU6050 we will control the servo motor at the node 01 – 0.

Base( Infinity Gauntlet) Code

From Base, We can send data to the node 01 - 0 for controlling the servo motors and WS2812B LED strip

Node(01 - 0) Code

The nodes (01 - 0) are receiving data from Base, we use it to control the servos.

Upload each program to each arduino.

Wiring Diagram for Infinity Gauntlet

Transmitter Schematic.jpg
IMG_3307.JPG

I added additional cardboard for placing the electronics and changed 9 Volt battery to 4 xAA battery from my previous project.

Wiring Diagram for 6 Nodes

Receiver Schematic.jpg
vlcsnap-2019-07-17-11h57m33s159.png
IMG_3165.JPG
IMG_3166.JPG
IMG_3289.JPG
vlcsnap-2019-07-22-08h25m46s330.png
vlcsnap-2019-07-17-11h54m35s351.png
vlcsnap-2019-07-17-11h56m39s169.png

In my project I used one servo for digital clock, door lock, portable ac, pet feeder, and two servos for light switch and air purifier.

Testing the Infinity Gauntlet

IMG_3216.JPG

I used x axis data and y axis data from MPU6050 sensor to control servo motors and a WS2812B LED strip.

- When the mapped value of the x-axis is positive and y-axis is positive The MIND STONE will light on/off and Pet Feeder will open/close.

- When the mapped value of the x-axis is negative and y-axis is positive The SOUL STONE will light on/off and Air Purifier will turn on/off.

- When the mapped value of the x-axis is positive The REALITY STONE will light on/off and the light will turn on/off.

- When the mapped value of the y-axis is positive The SPACE STONE will light on/off and door lock will lock/unlock

- When the mapped value of the x-axis is negative and y-axis is negative The POWER STONE will light on/off and Portable AC will turn on/off.

- When the mapped value of the y-axis is negativeThe TIME STONE will Light on/off and Digital Clock will turn on/off.

I hope you enjoyed this Arduino project and learned something new. You can subscribe my channel for the support.

Thank You.