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

Поделиться
HTML-код
  • Опубликовано: 3 янв 2025

Комментарии • 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 $

  • @docworldexplore
    @docworldexplore 2 месяца назад +1

    Nice explained this topic

  • @PhG1961
    @PhG1961 3 месяца назад +1

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

  • @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 :)

  • @8m405
    @8m405 19 дней назад

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

  • @vasileiossolakis2231
    @vasileiossolakis2231 3 месяца назад +1

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

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

    Very good 👍

  • @i.h.sanliturk
    @i.h.sanliturk 18 дней назад

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

  • @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.

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

    Thanks for sharing
    Very good work👍

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

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

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

    just what I needed. Thank you very much

  • @sofyanamrullah
    @sofyanamrullah 3 месяца назад +1

    That's useful...thx

  • @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👀