- Creating a Unique Electronic Musical Instrument: The Sound WallPosted 1 day ago
- Building a Laser MicroscopePosted 1 day ago
- Grand Piano Keys with ArduinoPosted 4 days ago
- Wireless Power TransferPosted 5 days ago
- Robot Punchers with ArduinoPosted 6 days ago
- A minimal 3D-printed scalePosted 1 week ago
- Expanding the pins of a microcontrollerPosted 2 weeks ago
- Let’s create a small level with a matrix displayPosted 2 weeks ago
- ChatGPT: Writing Code with Artificial IntelligencePosted 2 weeks ago
- Free Webinar: Arduino IoT Cloud and ESP32 DemoboardPosted 2 weeks ago
DIY Smart Home – Control AC from anywhere with Smartphone
You can measure room temperature and control your AC from outside with your smartphone. Let's create DIY Air conditioner remote controller with obniz.
By connecting obniz through wifi, you can measure room temperature and control air conditioner from outside using smartphone via the internet.
Connect IR module and LM32DZ to obniz as below and place it in your house.
Write the program in the code section. Do need to change obniz ID in the program to your obniz ID. By clicking “save & open,” you can see the room temperature.
Record your air conditioner’s signal for ON/OFF.
The example program contains comment outed code for IR receiver. Remove the comment out and record your air conditioner’s ON/OFF signal. Your signal will be shown in the log.
Put the recorded data array into your program.
Just open the HTML with your smartphone. You can control your air conditioner from everywhere in the world!
What is Obniz?
Obniz is a cloud-connected IoT development board. You can program on the web browser of any smartphone or computer and the command is sent to obniz through the internet. By connecting the Obniz to the cloud through wifi, users can remotely control devices that are physically connected to obniz.
Obniz has 12 IO and WiFi-BLE module. It can be controlled through the APIs – REST or WebSocket API – on obniz cloud. Not only simple IO on/off but also UART, I2C, BLE etc can be used by remotely controlling obniz via internet. All you need to do to connect obniz is to input unique ID by scanning QR code. Complicated processes are done by obniz and its cloud. You can just start programming in HTML, browser and circuit have already been integrated. If you write a program to collect sensor values , you can make a chart of the values easily.
In terms of hardware, every IO can drive up to 1A with overcorrect protection, therefore high current demanding devices such as motors can be directly connected to Obniz IO. GPIO and AD can be used on every IO. UART, SPI etc peripherals can be assigned to every IO. Even output voltage 3v/5v can be changed by software. Most electrical parts can be connected directly. Embedded parts such as switch, OLED display, and BLE are ready for use on
More information on obniz is available on its website
Bill of Materials:
- IR module
Software & Code Snippets: