Menu Close

Blog

Smart Electrical Appliance Controller

General information

Name Smart Electrical Appliance Controller and a PC application
Year 2020
Time 2 months

Description

That is one of my favorite projects I made about two years ago for personal use. In short, it is a device for controlling four electric consumers.
This device has many features like an RF receiver (315/433MHz), five Analog inputs, a GSM modem, working by either AC/DC adaptor or Li-ion Battery (with charger), connecting to the PC using USB/Wifi for adjusting the settings, Updating firmware, measuring RMS AC voltage and current for each output (measuring power consumption up to 3.3kWh), connecting a character LCD, NOR-Flash (for saving events, measuring parameters, and settings).
Each output has many settings such as five different turn-on/off scheduled times for each day of the week, repeating every schedule (every week, every two weeks, every month), setting power consumption limit, measuring up to five temperature sensors, control outputs based on some circumstances (over/under temperature, input trigger, RF remote control, and also sending SMS).
I also developed a PC-based application (using C#) for changing the settings and reviewing saved data.
In this project, I used STM32F103R8 as MCU, W25Q64 for saving data, ESP8266 for the wifi module, and SIM800C/Quectel-M08R as the GSM module.
I made two versions of this device. They have the same hardware but some minor changes in the code. One of them is used for controlling electrical consumers, while the other is used as a security system. Instead of temperature sensors, I connected PIR sensors for the move detection and used Remote control (and SMS) for active/deactivating the Security system. So whenever there is any unusual activity in my apartment, I will receive an SMS. Currently, I am working on ESP32-Cam, so I can add a camera to this system and stream the real-time picture from the apartment through my server (I will talk about this part of the project later).

Leave a Reply

Your email address will not be published. Required fields are marked *