This IoT Smart Plug project integrates an ESP32 and STM32 microcontroller to create a smart plug controlled through a Flutter mobile application. The ESP32 connects to the local network via the mobile app and communicates with the STM32 through UART. Real-time data, such as amperage, voltage, and temperature, is read from the STM32 and transmitted to the mobile app over WebSocket. The ESP32 also supports Over-The-Air (OTA) updates, allowing for remote firmware upgrades directly from the mobile app.
-
Local Network Connection: The ESP32 connects to the local Wi-Fi network using a Flutter mobile app.
-
WebSocket Data Transfer: Real-time data is sent from the ESP32 to the mobile app via WebSocket, ensuring instant updates of parameters like amperage, voltage, and temperature.
-
Command Transfer: Commands from the mobile app are sent to the ESP32 over WebSocket, which then relays the commands to the STM32 for device control via UART.
-
OTA Updates: The ESP32 can be updated remotely through the mobile app using Over-The-Air (OTA) functionality.
-
Network Setup: The ESP32 is connected to the local Wi-Fi network using a Flutter mobile app interface.
-
Real-time Data Transfer: The STM32 reads data from the smart plug (amperage, voltage, temperature) and sends it via UART to the ESP32, which forwards the data to the mobile app using WebSocket.
-
Command Execution: Users can send commands from the mobile app to control the plug through WebSocket, which are passed from ESP32 to STM32 via UART.
-
Firmware Update: The ESP32's firmware can be updated via OTA through the mobile app.
For more information or collaboration inquiries, feel free to get in touch!
Thank you for exploring the IoT Smart Plug Project!
Bu IoT Akıllı Priz projesi, ESP32 ve STM32 mikrodenetleyicilerini kullanarak oluşturulmuştur ve bir Flutter mobil uygulaması üzerinden kontrol edilmektedir. ESP32, mobil uygulama aracılığıyla yerel ağa bağlanır ve STM32 ile UART üzerinden haberleşir. STM32'den amperaj, voltaj ve sıcaklık gibi gerçek zamanlı veriler okunarak WebSocket aracılığıyla mobil uygulamaya iletilir. Ayrıca, ESP32'nin Over-The-Air (OTA) özelliği sayesinde mobil uygulama üzerinden uzaktan yazılım güncellemesi yapılabilir.
-
Yerel Ağ Bağlantısı: ESP32, Flutter mobil uygulaması kullanılarak yerel Wi-Fi ağına bağlanır.
-
WebSocket Veri Transferi: ESP32'den mobil uygulamaya gerçek zamanlı veriler WebSocket üzerinden aktarılır. Bu sayede amperaj, voltaj ve sıcaklık gibi parametreler anlık olarak takip edilebilir.
-
Komut Aktarımı: Mobil uygulamadan gelen komutlar WebSocket aracılığıyla ESP32'ye gönderilir ve UART üzerinden STM32'ye iletilerek cihaz kontrolü sağlanır.
-
OTA Güncellemeleri: ESP32, mobil uygulama üzerinden uzaktan OTA güncellemesi yapılarak güncellenebilir.
-
Ağ Kurulumu: ESP32, Flutter mobil uygulaması arayüzü kullanılarak yerel Wi-Fi ağına bağlanır.
-
Gerçek Zamanlı Veri Transferi: STM32, akıllı prizden (amperaj, voltaj, sıcaklık) aldığı verileri UART üzerinden ESP32'ye gönderir ve ESP32 bu verileri WebSocket ile mobil uygulamaya iletir.
-
Komut İletimi: Kullanıcılar mobil uygulamadan gönderilen komutlarla prizi kontrol eder. Bu komutlar WebSocket ile ESP32'ye, ardından UART ile STM32'ye iletilir.
-
Yazılım Güncellemesi: ESP32'nin yazılımı mobil uygulama üzerinden OTA ile güncellenebilir.
Daha fazla bilgi veya işbirliği için bizimle iletişime geçebilirsiniz!
IoT Akıllı Priz Projesi'ni incelediğiniz için teşekkürler!