Let’s create DIY Smart AC control with Obniz. This project allows you to measure room temperature and control your AC from anywhere with your smartphone. This project is pretty simple and only takes very less effort to build.
Things used in this DIY Smart AC control project:
- IR module
What is Obniz?
Obniz is a cloud based IoT development board and its pretty new to the market. You can program it using a web browser and command to Obniz through the internet via Obniz cloud. By connecting the Obniz to the cloud via Wi-Fi, users can remotely control devices that are connected to Obniz board by physical means.
It 12 I/O and WiFi-BLE module in built on the board. It can be controlled through API’s – REST or WebSocket API – on Obniz cloud. Apart from simple IO ON / OFF Obniz provides UART, I2C, BLE etc and these features can be used by remotely controlling Obniz via internet. In terms of hardware, every IO can drive up to 1A with over correct protection. This therefore can help to handle high current demanding devices such as motors and can be connected directly. Embedded parts such as switch, OLED display, and BLE are ready for use on program.
More information on Obniz is available on its website.
Step 1 – Setting up Obniz:
All you need to do is to follow three steps.
1. Connect Obniz to any Wi-Fi hotspot.
2. Connect your desired devices to Obniz.
3. Scan QR code on the Obniz board and start programming. The highlighting part is that you do not need to install any software.
Write the program written in the program section. You need to change Obniz ID in the program to yours. By clicking “save & open,” you can see the room temperature.
Each Air conditioner has IR remote which sends encoded IR signal to the AC unit and controls them. Since we don’t how encoding was done in a particular AC unit, we need to record the IR signal input from the AC remote first. Record your AC’s remote signal for ON/OFF. The example code contains comment outed code for IR receiver. Remove the comment out and record your air conditioner’s ON/OFF signal since it will be unique for each remote. Your signal will be in the log. Put the recorded data array into your code and Use it!
Just open the HTML with your smartphone. You can control your air conditioner from everywhere in the world! Your DIY Smart AC control is now ready.
Hope this article was helpful to you guys. Leave your thoughts/ feedback in the comment section below. Happy DIY.
Quote and Order boards in minutes on: https://jlcpcb.com/quote