#105

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 ก.ย. 2024

ความคิดเห็น • 22

  • @abhijitrashinkar
    @abhijitrashinkar 4 ปีที่แล้ว +1

    Hello!
    I am very happy to watch your video's, those are very informative and much needed, I appreciate your efforts and concern.
    Thank you.

    • @CheapControls
      @CheapControls  4 ปีที่แล้ว

      Thank you for your kind words.

  • @diegoalemiguel6271
    @diegoalemiguel6271 7 หลายเดือนก่อน +1

    uhmm..i fim taking measures from a sensor, every time i change page i should replot the whoel graph? so...i should store in my MCU memory all the datas then resend for each page change, am i right? thanks a lot

    • @CheapControls
      @CheapControls  7 หลายเดือนก่อน +1

      It has been awhile since I made this video but I believe the waveform is not stored on page change. Did you try to set it as a global? I think I once used the internal eeprom to store values.

    • @diegoalemiguel6271
      @diegoalemiguel6271 7 หลายเดือนก่อน

      thanks for your reply, i will try and update you@@CheapControls

    • @diegoalemiguel6271
      @diegoalemiguel6271 7 หลายเดือนก่อน

      i think eeprom is not a good choice in terms of endurance, if refresh is often requeried@@CheapControls

  • @faridamrinsani219
    @faridamrinsani219 3 ปีที่แล้ว +1

    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.

    • @CheapControls
      @CheapControls  3 ปีที่แล้ว

      1) I am not sure why the first value is being lost. Usually when you right a value it adds it.
      2) I have never figured out how add a second scale. You can add a second line to the graph.
      Feel free to ask more questions I might be misunderstanding what you are asking.

  • @muratkokturk4922
    @muratkokturk4922 2 ปีที่แล้ว +1

    Hello
    I appreciate the video. I have a question for you. I want to display the last 24 hours of temperature in the waveform. I used the EEPROM store values. However, I couldn't display all data at the same time in the graph. Could you please help me with that?

    • @CheapControls
      @CheapControls  2 ปีที่แล้ว

      See if this video helps th-cam.com/video/A5295ukF3kc/w-d-xo.html

    • @muratkokturk4922
      @muratkokturk4922 2 ปีที่แล้ว

      @@CheapControls I can write and read the EEPROM right now.Thank you very much. I have another question for you. I have temperature data to display the waveform. Normally I display float form. That is why temperature data is much bigger(25.25 degrees equals 2525 int value). I can't display different temperature data at the same time. Because each data difference can be huge(like the difference between 25.5 degrees and 20.2 degrees). How can I solve this problem?

    • @CheapControls
      @CheapControls  2 ปีที่แล้ว

      @@muratkokturk4922 look into the MAP function on the arduino.

  • @macak0
    @macak0 3 ปีที่แล้ว +1

    Hey! its pretty good the video, but, how can we control graph to get fast data without using a timer?

  • @electromagix
    @electromagix 2 ปีที่แล้ว +1

    Hi, How can i show an audio signal applied on an arduino analog pin on nextion display pls.

    • @CheapControls
      @CheapControls  2 ปีที่แล้ว

      I am not sure about audio signal specific but you use the add command to insert data into a waveform on the display. Thank you for watching.

  • @mahird9678
    @mahird9678 4 ปีที่แล้ว

    thanks for video. you showed line graph between timeline (X-axis) vs one variable(Y-axis). Is possible to plot diagram or a line graph between two variables? i mean plotting A-values (X-axis) vs B-values (Y-axis) which are coming from Arduino

    • @CheapControls
      @CheapControls  4 ปีที่แล้ว +1

      I don't believe you can plot vertically, only horozontally.

    • @mahird9678
      @mahird9678 4 ปีที่แล้ว

      @@CheapControls
      Thanks for replaying. As Im beginner, i really learned many things from your videos. Yesterday, i tried to make scatter graph between two different values on 7" display depending on pixel position. First of all, i insert an empty graph or chart having scales i need in Nextion display. Then, make 80 text dots (.) of witch have dimension of 5*5 or less and put them all in corner or under any object that you finally cant see them. The scatter graph will repeat every 80 second and each second one dot of will present in graph. you can also change time of presenting dots, time of reseting dots, and no. of dots you need. I wrote this simple code and please could you make this code much better by adding your touches
      int n = 0; // value for text dots id
      int timer = 0;
      void setup ()
      {
      Serial.begin (9600);
      }
      void loop ()
      {
      int sensorVal1=analogRead(A1);
      int sensorVal2=analogRead(A2);
      if (timer 80) // here to reset chart
      {
      timer = 0;
      n = 0;
      for (int n = 0; n < 80; n++)
      {
      int ZeroX = 0;
      int MaxY = 800; // both of ZeroX and MaxY used to put dots on display corner 0*800 pixel or at any position that you cant see them)
      Serial.print("t");
      Serial.print(n);
      Serial.print(".x=" + String (ZeroX));
      Serial.write(0xff);
      Serial.write(0xff);
      Serial.write(0xff);
      Serial.print("t");
      Serial.print(n);
      Serial.print(".y=" + String (MaxY));
      Serial.write(0xff);
      Serial.write(0xff);
      Serial.write(0xff);
      }
      }
      delay (1000);
      }

  • @BulletechTechnology
    @BulletechTechnology 3 ปีที่แล้ว +1

    Hello, why do we need the object called n0, and when/where did we assign waveform to n0? Thanks in advance

    • @CheapControls
      @CheapControls  3 ปีที่แล้ว

      This is a little older video. I will try to look at it tomorrow so I can answer your question. Sorry I can't remember it well enough.

    • @CheapControls
      @CheapControls  3 ปีที่แล้ว

      You do not need n0.val. I just use it to show the value I am adding to the waveform with the add command. The add command is where you add to the waveform. I hope this helps.