Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

How I turned my university dorm room into a smart room 💡 [THREAD]

4,351,279 görüntüleme • 3 yıl önce •via X (Twitter)

13 Yorum

‎Khalifa profil fotoğrafı
‎Khalifa3 yıl önce

Acting/Directing 🎥 - @djlapsy Inspo 🎭 - _ola_of_lagos_ [IG]

‎Khalifa profil fotoğrafı
‎Khalifa3 yıl önce

OPERATION The system was connected on the university Wi-Fi network, allowing all of the devices to communicate w each other The room can be operated in three ways: 1. Voice command, as seen in the video 2. Remote control, from your phone 3. Autonomously, using different sensors

‎Khalifa profil fotoğrafı
‎Khalifa3 yıl önce

When “Auto State” is turned on, the system uses its sensors to turn on/off the devices A photoresistor measures ambient light, controlling the night light An ultrasonic sensor detects when a bucket is full and turns off the tap …

‎Khalifa profil fotoğrafı
‎Khalifa3 yıl önce

And a piezoelectric pad for sensing when someone sits in the chair to turn on the reading lights

‎Khalifa profil fotoğrafı
‎Khalifa3 yıl önce

PARTS The system comprises three parts: - The devices to be controlled - A Power system, - And the controller (I used an ESP32)

‎Khalifa profil fotoğrafı
‎Khalifa3 yıl önce

THE DEVICES I hooked up the room lights, my reading light, some LED Lights, the ceiling fan, tap and a lock for my wardrobe to the system.

‎Khalifa profil fotoğrafı
‎Khalifa3 yıl önce

The tap and wardrobe were the most difficult for two reasons 🫠 One, I had to become a part time carpenter and plumber. Secondly, I used a solenoid valve and lock which are both inductive loads and created undesired voltage drops

‎Khalifa profil fotoğrafı
‎Khalifa3 yıl önce

DESIGN 🤣Because of the fantastic power supply we have, I had to find a way to make sure everything worked whenever there was no electricity. So, I designed three PCBs for the whole system. A small UPS, a personalized microcontroller expansion board and the relay module.

‎Khalifa profil fotoğrafı
‎Khalifa3 yıl önce

The expansion board houses the microcontroller with some JST connectors for easy wiring of the sensors and actuators.

‎Khalifa profil fotoğrafı
‎Khalifa3 yıl önce

CONNECTION I think I soldered so much that I may have slight lead poisoning 🤣 There was a LOT of wiring. I learnt the hard way to use at least 2mm gauge wire when connecting AC 🤕. I also used 20m of CAT-5 cable replacing the tips with male JST for all my sensors.

‎Khalifa profil fotoğrafı
‎Khalifa3 yıl önce

Yay, code 🥲💔 IMPORTANT: Make sure to add these lines of code if your RFID sensor uses SPI Protocol with wire longer than 6 inches

‎Khalifa profil fotoğrafı
‎Khalifa3 yıl önce

Finally, connect any Wi-Fi enabled device to the network and connect to the IP address of the microcontroller for remote control Or just use your voice 😉

‎Khalifa profil fotoğrafı
‎Khalifa3 yıl önce

I hope to be more consistent on here with my creations so stay tuned! 🍿 I don’t have anything to promote yet so for now here’s some friendly advice 🫶

Benzer Videolar

me in my dorm room mixing vodka and Sunny D
0:31

Sensitive content

me in my dorm room mixing vodka and Sunny D

Tommy Beer

243,732 görüntüleme • 3 ay önce