How to Change the X and Y Scale on the Arduino Serial Plotter

Поделиться
HTML-код
  • Опубликовано: 21 июл 2024
  • In this video, I demonstrate how to change the scale of the X-axis and Y-axis for the serial plotter in the most recent version of the Arduino IDE.
    Note: In the video, I use the term "data points" to describe the length of the x-axis. What I actually meant is that the x-axis will only have a range of 50. There can be much more than 50 data points within this range.
    Check out this Reference Desk Mat for Arduino:
    amzn.to/3vO6QBl
    Video Timestamps:
    0:00 - Introduction
    0:25 - Issues with the serial plotter
    0:50 - Writing the code for the demonstration
    1:18 - Plot of a Sine Wave
    1:24 - Scaling the Y-axis
    2:01 - Scaling the X-axis
    3:38 - Limitation of this method
    4:06 - Conclusion
    Prefer to use Python to plot serial data? Check out this video here:
    • Real-Time Data Visuali...
    👉Subscribe for more robotics and engineering tips:
    / @theboredrobotllc
    Share this video with a friend:
    • How to Change the X an...
    Website:
    www.theboredrobot.com/
    Parts needed for this example:
    Arduino Uno - amzn.to/3pGK6Am
    Arduino Nano - amzn.to/3T6TZE3
    Arduino Starter Kit - amzn.to/47ZpQuw
    Connect:
    Instagram - /theboredrobot
    Twitter - @theboredrobot
    Facebook - / theboredrobot
    Pinterest - /TheBoredRobot
    Disclaimer: This video contains affiliate links, meaning that if you make a purchase from one of the product links, I'll receive a small commission.
  • НаукаНаука

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

  • @seresmora
    @seresmora 2 месяца назад

    THANK YOU VERY MUCH, you saved me i was looking the documentation or arduino but couldn't find anything so thaaaank yoouuuuu

  • @richardcerrato2161
    @richardcerrato2161 2 месяца назад

    Worked for the X-axis, thanks!

  • @30smindset
    @30smindset 2 месяца назад

    It's really helpful! Thank you!

  • @TheMisieekPL
    @TheMisieekPL 6 месяцев назад

    Great tutorial!

  • @thomasredden3159
    @thomasredden3159 6 месяцев назад

    Amazing thank you so much, this is exactly what I needed!! Can I ask how did you figure this out? Super impressive and thanks again

    • @TheBoredRobotLLC
      @TheBoredRobotLLC  6 месяцев назад

      I'm glad it helped! I found this solution buried in a forum and noticed that nobody made a RUclips video about it.

  • @OPPSINT
    @OPPSINT Месяц назад

    Thank you for this video. It is helpful.

  • @andydebecker1192
    @andydebecker1192 16 дней назад

    Thanks, really good !

  • @caocao-oe6tm
    @caocao-oe6tm 4 дня назад

    Thanks bro
    Does anyone know what is the x axis, like is it milliseconds or is it related to the baud rate

  • @minoz55
    @minoz55 6 дней назад

    Thank you!

  • @user-cp3tm2nx5l
    @user-cp3tm2nx5l Месяц назад

    Oh wow this is incredible, I also manage to make the Y axis modification work on Mac, you just need to do the modification in VScode, thank you so much kind sir.

  • @PintaoLoko
    @PintaoLoko 9 дней назад

    There must be a simple way t change this. The plotter this way looks wrong for any application. My version is 2.3.2 and it's still like this.

  • @omerfarukalkan9921
    @omerfarukalkan9921 3 месяца назад

    appreciate it bro

  • @kifahzaidan4505
    @kifahzaidan4505 6 месяцев назад

    Hi,
    I really appreciate your efforts and the knowledge you have shared. I am seeking help with developing a code and schematic diagram for a project that involves preset positions using push buttons, an encoder, a linear actuator, and either a DC or stepper motor, to be controlled by an Arduino Mega or UNO. The main goal is to enable the actuator to stop at specific positions selected by the user, which can be easily recalled at any time. I understand that this is quite a complicated task, but any assistance you could provide would be greatly appreciated.
    Regards

    • @TheBoredRobotLLC
      @TheBoredRobotLLC  6 месяцев назад

      I saw you made the same comment on another video. Feel free to reach out here:
      theboredrobot.com/pages/contact

  • @MrGerka0291
    @MrGerka0291 Месяц назад

    How did you get it!??? Thank you very much!!!!

    • @TheBoredRobotLLC
      @TheBoredRobotLLC  Месяц назад

      I'm glad it helped. I had to look through some forums on this one.

  • @ElvinGadirov
    @ElvinGadirov 3 месяца назад

    Nice!

  • @andrewmack4830
    @andrewmack4830 4 месяца назад

    How on earth did you discover this fix ???? Well done

    • @TheBoredRobotLLC
      @TheBoredRobotLLC  3 месяца назад

      Just a crazy google search and a lot of time in forums.

  • @emilianopelaezdiaz6263
    @emilianopelaezdiaz6263 2 месяца назад

    No matter what value I put on the useState sentence, the plotter stays as default on the x-axis. Any suggestions?

    • @Jesse-fh2ox
      @Jesse-fh2ox 2 месяца назад

      did you close the plotter and restart it after changing the value?

    • @emilianopelaezdiaz6263
      @emilianopelaezdiaz6263 2 месяца назад

      @@Jesse-fh2ox Yes, I did. I even restart the IDE, and also changed the value several times.

    • @TheBoredRobotLLC
      @TheBoredRobotLLC  2 месяца назад

      I really don't know of a solution to this without seeing the full picture of your system. Perhaps a reinstall might do the trick?

  • @dumbguy2y463
    @dumbguy2y463 7 месяцев назад

    Not even in my program files, only in my user files, still there is no resources file

    • @TheBoredRobotLLC
      @TheBoredRobotLLC  7 месяцев назад

      Can you try doing a top level search using the name of the js file?

  • @ameliabuns4058
    @ameliabuns4058 4 месяца назад

    macos has package signing so I can't edit it :|
    seriously tho. they should REALLY AND I MEAN REALLY add proper data collection, even excel outputs etc. it's a huge thing for people using arduino, as one of it's biggest uses is to research and test ideas by a ton of people.

    • @TheBoredRobotLLC
      @TheBoredRobotLLC  4 месяца назад +1

      Sorry, I haven't spent the time to figure out how to do this on MacOS. Yes, I agree, data collection can be improved, but there are some decent workarounds if you want to use Python as well.
      ruclips.net/video/PhDPnjF3_tA/видео.htmlsi=sQEbQ1TxPfyv4k-E

  • @JeffreyMaster
    @JeffreyMaster Месяц назад

    Hi, Is it possible to have the graph scaled to 600 points rather than the 1 point on the axis. So the incoming data is seen to the left of the graph(like the older IDE version seen in video ruclips.net/video/PPYMEBa0Vys/видео.htmlsi=__NaLmAU9nlpRXpA&t=1673). I don't want the automatic update of the X-axis. Thanks

    • @TheBoredRobotLLC
      @TheBoredRobotLLC  Месяц назад +1

      I haven't looked into trying to make that happen. Recently, I've just been plotting data with Python to get more options with what I display.

    • @JeffreyMaster
      @JeffreyMaster Месяц назад

      @@TheBoredRobotLLC Thank you for your reply. I went back to the old version to output this data again. 😀

  • @kaio37k
    @kaio37k 7 месяцев назад +3

    It's so fking stupid we have to do things like this for something that would be ridiculously easy to implement. WTF Arduino???

    • @TheBoredRobotLLC
      @TheBoredRobotLLC  7 месяцев назад +1

      Yes, I agree. I hope this workaround is helpful.

    • @kaio37k
      @kaio37k 7 месяцев назад

      @@TheBoredRobotLLC Very much so. Thanks!