How To Filter Signals In Arduino [Arduino Basics Tutorial 9]

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 ม.ค. 2025

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

  • @ngh3550
    @ngh3550  6 ปีที่แล้ว +3

    Timestamps:
    00:00-00:15 Intro
    00:15-02:59 Map of the radar project
    02:59-03:22 Problem with the Ultrasonic sensor's signal
    03:22-03:52 Plan to gather data from the sonar sensor
    03:52-04:14 Resources for Processing
    04:14-07:08 Writing the Processing code
    07:08-07:36 Gathering data from the sensor
    07:36-08:10 Signal filtering: Running average
    08:10-09:51 Signal filtering: Frequency based filtering
    09:51-11:23 Implementing the Frequency based filtering in Arduino
    11:23-12:41 Implementing a better driving method for the stepper motor
    12:41-12:48 What's next
    12:48-13:08 Outro

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

    Very easy to follow. I am getting to an older age and trying to learn this stuff from zero knowledge has been difficult. I have had an uno and a riorand 6-60v esc and a fly sky remote control for going on 3 weeks with no progress. My goal is to build a go kart size remote control car with hoverboard motors. My grandson thinks I can build/make anything but fabricating from go karts to military ships is easy. Figuring this stuff out is just a different world to me. I hope you post more tutorials

  • @tacpreppers4906
    @tacpreppers4906 6 ปีที่แล้ว +4

    Excellent video! I used your filtering algorithm (TrustFactor) in an Arduino balancing sketch to dampen the pid output to the escs controlling 2 brushless motors. It stopped the jittering completely and makes the motors run very smoothly, however the tradeoff is responsiveness to change requiring typically higher PID values to reach steady state but it does so nicely. Thanks and keep up the great presentations.

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

      Thank you! I'm glad it helped you out.

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

    8:37 That's what I was looking for. Thanks!

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

    Great explanation of an exponential filter.

  • @8m405
    @8m405 26 วันที่ผ่านมา

    Can it be used to smoothen water tank level's fluctuations

  • @unglaubichuberlieber8048
    @unglaubichuberlieber8048 6 ปีที่แล้ว

    i have viewed all 9 tutorials, your explanation, documentation were simply fantastic, the best ones are those
    from tutorial 7 to 9, zwei wichtige Punkte:
    a) stepper motor , if you apply what you already know to servo, servo is actually quite amazing, as i did, stepper motors'
    size and cost comparing to servos like rds3135...
    b) you have enough kennis to build either a biped and/or a 4 limb robot, however, that is entirely your choice
    i hope what i have wrote did not offend you, if i did, my apology
    alles gute !!! bravo bravo !!! toll!!! toll !!! toll !!!

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

      Thank you, this really means a lot! Im not sure if i understand your points correctly.
      In a) you said a servo might have been a better choice than a stepper? If yes then you are absolutely right, a servo would be a better choice in this project at this stage. The reason why i chose a stepper is because this way i can show you how to make a reasonably simple and useful class in arduino.
      In b) you asked if i can build a biped or a 4 limb robot? Actually i plan on making a 2 wheel balancing robot and then a 6 degree of freedom robot arm, also i will document those builds in a video series format too.
      Again thanks for your comment and your feedback!
      Let me know if you have any questions. 🙂

    • @unglaubichuberlieber8048
      @unglaubichuberlieber8048 6 ปีที่แล้ว

      der frage ist nicht wenn..sondern... TAKE YOUR TIME AND PLAN IT OUT ... i have...and i am in the process to finish my prototype, 3d prints usw usw
      some has stated that pulseIn cannot be used concurrently, YOU HAVE PROVED THEM THAT THEY ARE WRONG...bravo bravo bravo !!!, next, i am using newping, and one can build a class with it also to ping
      multiple us-015( a better quality than hc-sr04) AS A CLASS CONCURRENTLY, AND THEN A PIR...the problem
      is now how to attach them to a mega2560...i will figure that out...in time... Gott weise wenn hahahaha

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

    weighted moving average exponential ... cool video

  • @burakayan3360
    @burakayan3360 4 ปีที่แล้ว

    very neat project. i have seen some roject with ultrasonic sensor but this is the first time with a 4 ultra sonic sensor.
    i think its a brilliant idea.
    if you don't have enough quality in ultrasonic sensor, you can still reach the desired succes with required quantity.
    subscribed.

  • @CalvinBacon
    @CalvinBacon 3 ปีที่แล้ว

    Hi NHG, thanks for the in-depth video!
    Is this "Trust Factor" calculation better than e.g. using the "Median"?

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

    Very informative ❤️

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

    Where will I find the the data?

  •  3 ปีที่แล้ว

    where does the measurements.txt gets storaged?

    • @ngh3550
      @ngh3550  3 ปีที่แล้ว

      It's been a while, but if I remember correctly it should be saved in the same folder where your processing script is.

  • @ousza
    @ousza 4 ปีที่แล้ว

    where is the tutorial 10 ?

  • @unglaubichuberlieber8048
    @unglaubichuberlieber8048 6 ปีที่แล้ว

    einfach toll toll toll