Arduino Analog Signal Filter | Analog sensor value Fluctuates a lot | Low Pass filter

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

КОМЕНТАРІ • 25

  • @koenvanduffel2084
    @koenvanduffel2084 3 місяці тому +4

    As already pointed out the formula (n * old value + new value) / (n + 1) is more efficient and probably easier to understand the weight of the averaging effect.
    Next plotting both the raw reading and filtered reading gives an idea how much lag the filter introduces inevitably. The capacitor also introduced lag but that is much harder to show.

  • @prasadadavi6618
    @prasadadavi6618 2 місяці тому +1

    I was actually looking for a filter of this kind and I am really happy and thankful to you.

  • @robertdubard7959
    @robertdubard7959 3 місяці тому +6

    Have you tried a running median code? Averages are too susceptible to the occasional large value.

    • @stephanc7192
      @stephanc7192 3 місяці тому

      What is median code?
      Any refersnces perhaps $

  • @PhG1961
    @PhG1961 3 місяці тому +1

    Indeed very good! Of course I enjoyed the video as well, excellent explained and entertaining!

  • @vasileiossolakis2231
    @vasileiossolakis2231 3 місяці тому +1

    Very interesting video with very valuable info. Thank you for sharing

  • @docworldexplore
    @docworldexplore 2 місяці тому +1

    Nice explained this topic

  • @x_makina_x
    @x_makina_x 3 місяці тому

    Thanks for sharing
    Very good work👍

  • @dice6918
    @dice6918 3 місяці тому +3

    Very good 👍

  • @erboy5546
    @erboy5546 3 місяці тому

    just what I needed. Thank you very much

  • @marcorademan8433
    @marcorademan8433 3 місяці тому +1

    I saw floats in there... Arduinos don't have FPUs. Use integer/Q-point arithmetic for faster code and less code space.

  • @8m405
    @8m405 16 днів тому

    How can i use lowpass filter for smoothening the readings from ultrasonic sensor with esp8226

  • @gillywild
    @gillywild 3 місяці тому +2

    Very good video, thank you. Can you tell me what type of filter this is in the software filtered example please. Thank you.

    • @dice6918
      @dice6918 3 місяці тому

      @@gillywild you can use 10 uf 50 volt capacitor

    • @dice6918
      @dice6918 3 місяці тому

      @@gillywild you can use 10uf to 100 uf 50 volt capacitor

    • @gillywild
      @gillywild 3 місяці тому

      @@dice6918 Sorry, I meant the type of software filter, what is it called? Thanks for replying though :)

    • @fetuffani
      @fetuffani 3 місяці тому +1

      @@gillywildlooks like he is using a Kalman Filter and simple averaging techniques

    • @gillywild
      @gillywild 3 місяці тому

      @@fetuffani Thank you for that :)

  • @i.h.sanliturk
    @i.h.sanliturk 15 днів тому

    Thank you for the video, really helpful. Can 100mF be us3d on all potentiometers? How can the capacitor value be selected?

  • @sofyanamrullah
    @sofyanamrullah 3 місяці тому +1

    That's useful...thx

  • @Edmorbus
    @Edmorbus 3 місяці тому

    Is this also working with PWM
    can you make next video filtered smooth working PWM

  • @dice6918
    @dice6918 3 місяці тому

    Can you help modify this code you can take your chargis ❤

  • @RonaJavi
    @RonaJavi 3 місяці тому

    Thanks for the breakdown! Could you help me with something unrelated: My OKX wallet holds some USDT, and I have the seed phrase. (behave today finger ski upon boy assault summer exhaust beauty stereo over). What's the best way to send them to Binance?

  • @Thrill98
    @Thrill98 3 місяці тому

    reduce a nice👀