Arduino and Python Real Time Plot Animation | Lesson 1 Getting Started | PySerial MatPlotLib

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 ก.ย. 2024
  • GitHub Real Time Plot: github.com/Wav...
    Prerequisite PySerial Video Series: • Arduino and Python Ser...
    GitHub PySerial Series: github.com/Wav...
    In this video we review how to create a Real Time Plot animation using the Arduino Uno and Python. The Python modules in use are pySerial and Matplotlib. We plot sensor data in real time and set the foundation for future customization. It is a great way to enhance your projects!

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

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

    you're a freakin life saver, i was searching for a week how to not have a plot with increasing number of points, that -50 saved me.
    Arigato Gozaimasu.

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

    It's been a dream of mine to pump Arduino data into Libreoffice Calc so their pre-existing charting facilities can easily be used, data logged and processing can be done all in one place. Matplot lib is IMHO the last step before doing it in calc. Love your python/arduino vids - thank you.

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

      That is an interesting idea. Thank you for the kind feedback!

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

    thank you sir, all your tutorial has been amazing for me and it's very useful at my work. I can't wait more video from you .

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

    It helps me a lot!! Thank you for sharing.

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

    Thanks you for this video

  • @Noname-bg5nh
    @Noname-bg5nh 2 ปีที่แล้ว

    Excellent video!

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

    Hi Sir, thanks for this video that helps me a lot. Nevertheless, for your x axis, how could it be possible to have this plot "in real time" with your time as your x axis. Here, your x axis is fixed. Thanks for your answer !

    • @WaveShapePlay
      @WaveShapePlay  8 หลายเดือนก่อน +1

      The "x" is the place within the frame. I do understand what you are saying, but the Real time is in reference to the frame data updating with a constant frequency.

  • @cyrusmuthui52
    @cyrusmuthui52 10 หลายเดือนก่อน +1

    Hi, Great video. How can I plot three different values being sent by the arduino? Please help

    • @orisplus3733
      @orisplus3733 6 หลายเดือนก่อน

      robosub?

    • @cyrusmuthui52
      @cyrusmuthui52 6 หลายเดือนก่อน

      robosub is like an application or?

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

    I am using Jupyter Notebook
    When i input the letter 'g' my plot is empty, showing nothing😢

    • @altarazisultan
      @altarazisultan ปีที่แล้ว

      Did you find a solution? I am getting empty plot also using PyCharm.

    • @Glanmire3
      @Glanmire3 ปีที่แล้ว

      I presume you type the letter g on the keyboard, which is wrong because the arduino board sending through by the serial port. However, don't forget to check and modify the serial port number in the python source code according to your operating system! (For example on my system the windows assigned to COM4)

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

      It may be due to wrong serial port number or wrong baud rate

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

    can i use this with tkinter instead??

    • @voytechj
      @voytechj ปีที่แล้ว

      Yes, matplotlib plots can be embedded in Tkinter window, and you can always use canvas widgets to plot signals with points or lines.

  • @g_rr_tt
    @g_rr_tt 3 หลายเดือนก่อน

    are dri no Oo No