Nextion Arduino Intro Temperature Monitor Fan Controller

Поділитися
Вставка
  • Опубліковано 10 гру 2024

КОМЕНТАРІ • 18

  • @kentvandervelden
    @kentvandervelden  4 роки тому +3

    Check out my most recent video: goo.gl/Jj7cU1
    The Arduino's USB serial interface is still available and could be used as a bridge between LinuxCNC and the Nextion touchscreen. Some cool uses include displaying the current tool, spindle speed, mill position as well as toggling coolant, spindle brake, and so on. What would you find useful displayed near the work? Interesting suggestions might become a followup video.

  • @davidwillmore
    @davidwillmore 4 роки тому +1

    When you were talking about using the 16u2 as the main processor, you are basically describing the Leonardo which uses a 32u4 as it's processor and it has a native USB interface. My vague understanding is that the price of the 32u4 chips have increased due to demand and aren't available any more--so no more Leonardo's.

    • @kentvandervelden
      @kentvandervelden  4 роки тому

      Thanks David, I'll compare the boards. I started modifying the Uno files for a new board. The Atmel might be overkill for this simple application but people have familiarity with it. What processor would you base the new board on?

    • @davidwillmore
      @davidwillmore 4 роки тому +1

      @@kentvandervelden I would reuse existing modules to simplify things. Both the esp32 and STM32 (blue pill boards specifically) would be good candidates. The STM32 has native USB while the ESP32 has WiFi and a lot of memory/processor.

  • @simonconvey9645
    @simonconvey9645 4 роки тому +2

    Great ! I'd like to see the controller the the ELS, I like that project, but I dislike the UI !

    • @kentvandervelden
      @kentvandervelden  4 роки тому

      Hi Simon. Would be a nice improvement. When I was asked about it, neither of us knew what was involved. Now the display side seems straightforward. With that question answered, he might want to do the work himself. That was all pre-virus. If no one is yet working on it, and someone would cover the expenses, I would give it a go. Best wishes!

  • @ser7ser7i
    @ser7ser7i 4 роки тому +1

    Thank you for sharing.
    May i ask a question? I can not send data to arduino from nextion. I read temperature from a sensor, print it on nextion. User can set a temperature value from nextion, when temperature value reaches the sensor value, heater stops. How can i send user set value from nexrion to arduino and compare it with the sensor value? Thank you, all the best.

    • @kentvandervelden
      @kentvandervelden  4 роки тому

      There may be three ways: 1) Polling: On the Arduino, regularly read the value of the the temperature widget on the Nextion; 2) Event: Send the widget ID of temperature widget when it changes, which the Arduino receives, this could be as easy as checking the operation in the Nextion editor to send the widget's ID; and 3) On the Nextion, use prints() or printh() functions to send a custom message from the Nextion to the Arduino containing the set temperature. More information about prints() and printh() is on the instruction set page, though the information is pretty terse. Hope this helps you to complete your project.
      nextion.tech/instruction-set/

  • @PiotrFoxWysocki
    @PiotrFoxWysocki 4 роки тому +1

    what about water cooling the servo? much quieter and much more efficient. and you could still use arduino to monitor it.
    i really like the graph display you made :)

    • @kentvandervelden
      @kentvandervelden  4 роки тому +1

      Hi Fox! With air cooling, I'm just below temperature for frying an egg :) How would you make make the water block? Off-the-shelf ones could be bounded to the sides. The contact area would be small because the block would sit on the servo's fins. Could fill the gap between the fins. A custom water jacket with coolant is in direct contact with the servo body would be great. Maybe mill grooves into the servo body, through the fins, to receive the top and bottom sides of the jacket.

  • @Wele1
    @Wele1 3 роки тому +1

    Hello sir, can I connect the temperature sensor and the color sensor with the screen at the same time, thank you.

    • @kentvandervelden
      @kentvandervelden  3 роки тому

      Probably, if there are enough pins on the microcontroller, or you can multiplex pins. Would need to know more details to give a certain answer.

    • @Wele1
      @Wele1 3 роки тому

      @@kentvandervelden I have a graduation project for the college, the way the project works is a special device to measure the temperature before entering the facility, and I need to add a color sensor and a motion sensor as well. Can this informations be added to the screen? Also, do you recommend a specific microcontroller

  • @faridamrinsani219
    @faridamrinsani219 3 роки тому

    permission to ask, I have a problem about.
    1. How to prevent the initial value of the graph from being lost because it has been replaced by new data?. so that the control display is visible.
    2. how to add time in second which always changes as the data increases, so that we can see the rice time and settling time.?
    thank you.

    • @kentvandervelden
      @kentvandervelden  3 роки тому

      If I understand correctly, you want to see all of your data over a longer period:
      1. The resolution of the Nextion waveform is limited by it's dimensions. If 200 pixels wide, only 200 values can be shown. To not lose data: store all measurements on your microcontroller, sample or interpolate the data to the width of the graph.
      2. I would update a Nextion text widget holding the time in seconds from the microcontroller updating the waveform, in succession.
      I hope these suggestions are what you were looking for and are helpful.

  • @davidwillmore
    @davidwillmore 4 роки тому +1

    What happened to the beard, Kent?

    • @kentvandervelden
      @kentvandervelden  4 роки тому +1

      I cleaned up to make an on-site visit. Masks don't seal well with a beard :)

    • @davidwillmore
      @davidwillmore 4 роки тому

      @@kentvandervelden it looked really good!