🔶 Wireless Home Automation (Control and Monitoring) Using a Nextion HMI Display

Поделиться
HTML-код
  • Опубликовано: 26 авг 2024
  • Wireless Home Automation [Control and Monitoring] Using a Nextion HMI Display
    ======================================
    Altium Designer + License (Free): www.altium.com...
    ======================================
    OctoPart: octopart.com
    ======================================
    Article: www.pcbway.com...
    ======================================
    Gerber/PCB (PanelBoard): www.pcbway.com...
    ======================================
    Gerber/PCB (MainBoard): www.pcbway.com...
    ======================================
    Nextion HMI: bit.ly/3dY30gw
    ======================================
    Other Videos: bit.ly/2N9OlPa
    ======================================
    Nowadays home automation is a trending topic among electronic enthusiasts and even the mass population. People are busy with their life challenges, so an electronic device should take care of the home instead! The majority of such devices need internet or Wi-Fi for connectivity or they don’t offer a user-friendly GUI, but I decided to design a standalone wireless monitoring/controlling unit that can be adjusted using a graphical and touch-controlled LCD display.
    The device consists of a panelboard and a mainboard that communicate using 315MHz (or 433MHz) ASK transceivers. The panel side is equipped with a high-quality 4.3” capacitive-touch Nextion Display. The user can monitor the live temperature values and define the action threshold (to activate/deactivate the heater or cooler), humidity (to activate/deactivate the humidifier or dehumidifier), and ambient light (to turn ON/OFF the lights). The mainboard is equipped with 4 Relays to activate/deactivate the aforementioned loads.
    To design the schematic and PCB, I used Altium Designer 23. The fast component search engine (octopart) allowed me to quickly consider components’ information and also generate the BOM. To get high-quality fabricated boards, I sent the Gerber files to PCBWay. I used the Arduino IDE to write the MCU code, so it is pretty easy to follow and understand. Designing a GUI using the Nextion tools was a pleasant experience that I will certainly follow for similar projects in the future. So let’s get started :-)

Комментарии • 19

  • @MyVanitar
    @MyVanitar  Год назад +1

    Wireless Home Automation [Control and Monitoring] Using a Nextion HMI Display

  • @VidarrKerr
    @VidarrKerr 5 месяцев назад

    You really did an amazing job here! Very nice!
    I'm working on something similar now, but for indoor agriculture. I'm using an Arduino Mega 2560, Nextion Touchscreen Enhanced, and building the relay board (7 relays total).
    Hoping my looks at least half as nice as yours.
    You made a very professional looking job there. Great work.

  • @sighyawn54
    @sighyawn54 Год назад

    it would be very nice to have 1 more relay for a timer function, for the lighting and an additional timer for a blower fan fresh air exchange

    • @MyVanitar
      @MyVanitar  Год назад

      You have the code, and you can define the third Relay in a way you like, for a custom PCB design, that's a business talk. send me an email

  • @VidarrKerr
    @VidarrKerr 5 месяцев назад

    Can you provide more information about the Nextion work?
    Bob's your uncle... LOL.

    • @MyVanitar
      @MyVanitar  5 месяцев назад

      Did you check the article?

    • @VidarrKerr
      @VidarrKerr 5 месяцев назад

      @@MyVanitarYes. I just went back and clicked the links at the bottom to be sure I didn't miss something. I was wondering if you have a video, or text, about designing the interface with the Nextion "IDE" editor. I guess I could open your file and mess around with it. I don't think the file is compatible with my screen; it is a 3.5" Enhanced Touchscreen (yours is 4.3"). This is the only part of this project I am struggling a little bit with. I also really wish there was a USB connector on the screen. I called Nextion and they said it was proprietary and won't tell me anything about anything. Maybe someone more experienced knows if this is possible?

    • @MyVanitar
      @MyVanitar  5 месяцев назад +1

      @@VidarrKerr I think I got what's your point. When you design a GUI using the Nextion IDE, you have a design file (*.hmi) and also a compiled file (*.tft). then you transfer the compiled file to the Nextion board. I use an SD card. I think it is also possible to transfer using the UART interface. your GUI design is useful for that screen size because the image/component sizes also matter. all of these tools have their own limitations and strengths, nextion is good for some projects, but for some, I use LVGL as you see in some of my projects.

    • @VidarrKerr
      @VidarrKerr 5 месяцев назад

      @@MyVanitar If I could go back, I would have bought a different touchscreen. At this point, it might just be easier to make a simple Android app and control everything from one of my phones I don't use.
      I will probably end up using the Nextion to just display temp and humidity, maybe display the lighting and pump schedules, etc. and do all the actual changes to scheduling thru a phone, or a web server running on an an attached ESP32.
      I think I had too much high hopes for the Nextion... Oh yeah, THANK YOU!

    • @MyVanitar
      @MyVanitar  5 месяцев назад +1

      if your touch screen is resistive, you should define the touch-related components bigger in size. it's not like your cellphone. in a cellphone there is a powerful CPU and other components to control a high-resolution LCD, touch, and operation system. everything has its own target use. nobody uses an android to control a refrigerator or a home boiler

  • @sighyawn54
    @sighyawn54 Год назад

    did you custom print some of these boards?

    • @MyVanitar
      @MyVanitar  Год назад

      Please watch the video completely, I have mentioned where you can get the Gerber or even purchase them for a cheap price. I get very disappointed when I see people don't invest some time

    • @sighyawn54
      @sighyawn54 Год назад

      ​@@MyVanitar sorry i see you mentioned it in the beginning as well, this is all new to me so i don't understand most of this

  • @hp2073
    @hp2073 Год назад

    it is clear that you have invested a fat amount of time to prepare this

  • @user-xd5ku4xk2v
    @user-xd5ku4xk2v Год назад

    HMI的工程能分享一下么?谢谢

    • @MyVanitar
      @MyVanitar  Год назад

      Please watch the video completely. I have mentioned where you can get all files