How to Plot Real Time Serial Data from Arduino using Python Pyplot?

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

КОМЕНТАРІ • 54

  • @andreasweskamp2522
    @andreasweskamp2522 2 роки тому +1

    Thank you for this Video! Exactly what I needed in a short and easily understandable format.

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

    This looks promising. i had difficulties using the drawnow in anaconda . and you did what i needed with out it. i need to figure out how to make a pop out console in anaconda and it should work. thankyou ! for hope! :) ...... back with a progress report i was able to get this to work, i fixed the console issue. and i am now reading from arduino and chartingin python without drawnow!!

  • @MS00919
    @MS00919 3 роки тому +3

    First of All, THANK YOU VERY MOUCH! I have a question:
    How can I plot more than one analogue output in this graph?

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

      Use put data into single variable and plot that variable.

  • @Sam_Nightcore
    @Sam_Nightcore 2 роки тому +1

    hello sir can you tell how to make that graf dynamic means i need only set of live time domain to be show in the graf

  • @rupeshpun7891
    @rupeshpun7891 2 роки тому +2

    Thank you sir for your beautiful tutorial : I have one small question Can we filter the real time signal digitally during real plot sir ?

    • @sachinsharmajcbro
      @sachinsharmajcbro  2 роки тому +1

      Yes, you can

    • @rupeshpun7891
      @rupeshpun7891 2 роки тому

      @@sachinsharmajcbro sir does tha xaxis- metric is time ? plz provide me feedback

  • @dvp-ro
    @dvp-ro 4 роки тому +3

    Great video, exactly what I needed, thanks!

  • @pabloc.izaguirreartavia828
    @pabloc.izaguirreartavia828 3 роки тому +1

    Thank you !! it works excelent!!! You´re Great!

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

    Great tutorial.... thanks!

  • @michaelpowers8247
    @michaelpowers8247 4 роки тому +9

    2:27 you can't tell me that wasn't a fart

  • @vikaskumarsinha5777
    @vikaskumarsinha5777 3 роки тому +3

    I got error b = float(a[0:4]) could not convert string to float . and sometimes 'utf-8' cannot decode error while working with Raspberry Pi.

    • @leonardoramazzotti6922
      @leonardoramazzotti6922 3 роки тому +2

      Hi, i have the same error cause my decoded bytes was " aX= -500". I solve this problem decoding a in a variable c ( string ) and removing the non float characters in the string ( in my case "aX= "). this is the code :
      import serial as sr
      s = sr.Serial('COM3', 9600);
      a = s.readline()
      c=a.decode()
      print(c)
      d = c.replace('aX = ','')
      b = float(d[0:4])
      print(b)
      Hope will be helpfull. Bye

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

    Very helpful! Thank you

  • @nidhisharma8405
    @nidhisharma8405 5 років тому +1

    Wonderful video sir...

  • @sourasikhadatta6036
    @sourasikhadatta6036 2 роки тому +1

    Sir, can you please help me in how to take more than one inputs for Serial plot.

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

    Very good tutorial ...

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

    nice works great.

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

    help me convert the code to Object-oriented syntax

  • @Avissarin
    @Avissarin 2 роки тому +1

    Am i the only one seeing the elephant in the room during the intro?

    • @markmurray6547
      @markmurray6547 2 роки тому

      Was it that the big hairy right-wing elephant I though I saw too??

    • @ivanadiego6067
      @ivanadiego6067 Рік тому

      Swastikas are a very old Indo-European symbol, Its meaning is related to fortune. It's still widely used in asia because it was not banned by jews there

  • @tarseminakshi95
    @tarseminakshi95 Рік тому +1

    Sir ye kis software me aap gui bana rhe hai

  • @umeramer8558
    @umeramer8558 2 роки тому +1

    thank you

  • @robertschemmel50
    @robertschemmel50 2 роки тому +1

    can't see all the arduino code because it is covered up by the plotting screen !

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

    he doesn't work with me !! I work with Pycharm not Spyder, is this a problem ?

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

      Can't comment on this as I have not used Pycharm.

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

      @@sachinsharmajcbro Sir I test it in spyder, so there is a problem in having the variations of the potentiometer

  • @abdurrahmanmughal215
    @abdurrahmanmughal215 2 роки тому

    error occured:
    could not convert string to float

    • @andreasweskamp2522
      @andreasweskamp2522 2 роки тому

      make sure that your Serial output has no letters or signs like commas in it.

  • @cBroadbo
    @cBroadbo Рік тому +1

    Dude, are you kidding with that logo? That logo alone will prevent you from doing business with most people in the western world.

    • @sachinsharmajcbro
      @sachinsharmajcbro  2 місяці тому

      Free Free...Get the AVR Bare Metal course for free. Limited Time offer....use the following link:
      www.udemy.com/course/bare-metal-programming-of-avr-micro-controllers/?couponCode=9F5E62DD80CD1D54D816

  • @leonsummer7060
    @leonsummer7060 Рік тому +1

    Sehr Deutsch🤣