หน้าแรก ดูโปรเจกต์ทั้งหมด
Hard

โปรเจกต์ ระบบ Home automation อย่างง่ายด้วย IoT

ก้าวแรกสู่การทำ Home automation

โปรเจกต์ ระบบ Home automation อย่างง่ายด้วย IoT

เครื่องมือและเครื่องจักร

1x Arduino UNO
🔍 ค้นหา
1x Arduino Ethernet Shield 2
🔍 ค้นหา
3x Male/Female Jumper Wires
🔍 ค้นหา
2x Gravity: Digital 5A Relay Module
🔍 ค้นหา
3x Male/Male Jumper Wires
🔍 ค้นหา

รายละเอียดและวิธีทำ

This is my first step towards home automation. Using IoT, interrelated computing devices are able to transfer data over a network without requiring human-to-human or human-to-computer interaction. In this page, you will see how I controlled my pedestal fan and soldering station with my smartphone.

Hardware components used in this project

  • Arduino Uno
  • Ethernet Shield V1 - W5100
  • Relay module (x2) - 5V single channel
  • Female-to-Male Jumper wires (x3)
  • Male-to-Male Jumper wires (x3)
  • Male header pins - 3 pins
  • Female header pins - 3 pins
  • Plug extension
  • Wire (x2) - 10 cm
  • Ethernet cable
  • Wifi router
  • Smartphone/ Tablet

Software apps

  • Arduino IDE
  • Blynk app

Setup

Your setup must look somewhat similar to those in the pictures above.

Connections

Relay module 01 (Soldering station) - 5V single channel

  • S - D2
  • (+) - 5V
  • (-) - Ground (GND)

Relay module 02 (Fan) - 5V single channel

  • S - D3
  • (+) - 5V
  • (-) - Ground (GND)

Coding

You will be needing Blynk app for this IoT project. If you are new to Blynk, please feel free to follow the hyperlink. If your smartphone or tablet uses the Android OS, you can install Blynk app in playstore. Blynk app only works in iOS and android. Follow the steps given in this page (https://blynk.io/en/getting-started) to successfully work with Blynk.

Open Example Code Builder, choose your hardware model and connection type. Within Examples, choose Blynk Blink option and copy the whole code to buffer. Add your Auth Token in the codes. The Auth token will be sent to your email address. Upload the code to your Arduino Uno.

Open Blynk App and tap PLAY. Wait till you see the message that your device is connected and online.

Now, you can control the electronic devices which you connect to the plug extension.

Happy Blynking!

If anyone has any questions with the coding, please feel free to comment below.

Final Look

If anyone has any questions, or suggestions, about this project, please don't hesitate to comment below.

Code

🔒 ปลดล็อก Code

สนับสนุนเพื่อรับ Source Code หรือแอปพลิเคชันสำหรับโปรเจกต์นี้

รหัสอ้างอิงโปรเจกต์: simple-home-automation-system-with-iot-2fa5a5
299 บาท
PromptPay QR Code