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.
Step 1: Hardware and Materials Required
9v battery: https://amzn.to/2zIcBmL
AA battery: https://amzn.to/2utifnx
Resin : https://amzn.to/2JX9RDD
Jumper wires: https://amzn.to/2zIcBmL
Male DC Barrel Jack Adapter for Arduino : https://amzn.to/2zIcBmL
Micro Servo 9g : https://amzn.to/2zIcBmL
Mini Breadboard : https://amzn.to/2zIcBmL
9v Battery Clip Connector : https://amzn.to/2zIcBmL
Cardboard : https://amzn.to/2zIcBmL
Ruby : https://amzn.to/2zIcBmL
NRF24L01+ 2.4GHz Wireless RF Transceiver Module: https://amzn.to/2zIcBmL
MPU 6050 : https://amzn.to/2zIcBmL
LED Strips : https://amzn.to/2zIcBmL
Step 2: Making the Infinity Stones and the Infinity Gauntlet From Cardboard
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.
Step 3: Arduino Wireless Network With Multiple NRF24L01 Modules
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.
Step 4: Base( Infinity Gauntlet) Code
From Base, We can send data to the node 01 – 0 for controlling the servo motors and WS2812B LED strip
Step 5: 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.
Step 6: Wiring Diagram for Infinity Gauntlet
I added additional cardboard for placing the electronics and changed 9 Volt battery to 4 xAA battery from my previous project.
Read more: Infinity Gauntlet Controlled Home Automation