Arduino Tutorial: Using external voltage reference

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

КОМЕНТАРІ • 23

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

    thank you very much for this very clearly explained video in English! i havethe parts but never knew how to use it.

  • @bigheat86
    @bigheat86 5 років тому

    thank you so much. had some struggle with this topic (because you cant change the analogReference voltage MULTIPLE TIMES within the code, without doing some IMHO dirty tricks).

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

    Thank you so much for sharing this. It is absolutely helpful.

  • @thatoneguy99100
    @thatoneguy99100 6 років тому

    Very helpful tutorial, thank you!

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

    thanks for the tutorial.

  • @johnSmith-zr3en
    @johnSmith-zr3en 6 років тому

    Has anyone here successfully got the LM431 working for what Ashutosh was showing in his video? He says (and I believe him) he has connected a battery to the circuit and its battery voltage is showing on the serial monitor (which shows clearly in the video) but it's a mystery to me as to how he's connecting the battery unless I'm missing something real obvious. He's not showing a schematics to show how its hooked up? And if you look at his so called schematics (which he admits is bad) in the video and wire it up accordingly, it displays the numbers 2516 and 1023 on the video monitor regardless if the the wire coming off the the cathode going to pin A0 is connected or NOT. I don't understand what's going on. Can anyone here explain to me how this works? I would really appreciate any help anyone can provide.
    Thanks
    jessey

  • @snnwstt
    @snnwstt 7 років тому +1

    Nice, EXCEPT for the computation of the values for the resistance... those are magic numbers: "That makes 90 ohms, but for R1, we generally took 1k... " and for R2, it is even more dramatic " It is a minimum of 1 mA, ... and here it is 2.5 V, so... for R1 I used 1K and 2.2K for R2". That is NOT a computation.
    But for the other parts of the video, felicitations. I assume that you used some reference to an external 9V battery (in your computation) just for demo, since you could use the 5V (+/-) from the Arduino board to supply a voltage to the TL431, in practice, without any modification in the code... is it not.

  • @omkarkhade4602
    @omkarkhade4602 4 роки тому

    Good tutorial 👍

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

    it would be better if you show stability for a minute.

  • @payongtzy
    @payongtzy 5 років тому

    Thanks Buddy!

  • @pushparathod8696
    @pushparathod8696 5 років тому

    Superb

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

    If the Rs is 90 ohm why are we using 1kohm which is very great than what we got

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

      R1 value is determined by the current requirement of the load. In this case the current needed by the ARef pin which is very low (~ 1mA). 90 Ohm is the lowest you can go without damaging the TL431. The 1K will give us about 2.5 mA (since the output of TL431 2.5V not 9V) which is plenty and that will also prevent the TL431 from sinking too much current which will make it hot and lower its life.

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

      @@nestedloop80 thanks you sir

  • @PaulWheelerjr
    @PaulWheelerjr 6 років тому +1

    Arduino noob here, so If I want to measure 0-10V or 0-5V on A0 would the AREF voltage need to be 10 or 5V ? or does it not matter as long as its constant?

    • @nestedloop80
      @nestedloop80  6 років тому

      No, it does not matter as long as it is constant, but ideally is should match with the max voltage you plan to input via the analog pins to get the most dynamic range. Also ensure that the input on the analog pins is less than Vcc. You can scale down the input voltage using a voltage divider.

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

    What you're saying about incorrect reading is true if and only if the Arduino is NOT fed from the same source as the rest of the circuit.
    And even then, it would make more sense to derive the AREF voltage directly from the Vcc of the external circuit - because who knows if your external circuit's Vcc might droop under load like the regulator on the Arduino does?
    I.e. if you feed your Arduino and your circuit from an external 5V source there is no need for a voltage reference.
    Also if your external circuit is fed from the Arduino board there is no need for an external voltage reference either.
    Please be more accurate in describing the exact setting in which using a voltage reference makes sense.
    You make people think they just need to use a voltage reference and will then receive correct analog readings - and this is simply not true.

  • @jugnu361
    @jugnu361 8 років тому

    Great

  • @capt_fruit
    @capt_fruit 8 років тому +1

    Hi!

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

    after all you used a maped function....this is campared function not a measuring method
    sir..

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

      What are you talking about? The map statement maps (0 to 1023) adc counts into (0....2516) milli volts.

  • @AmitIka
    @AmitIka 7 років тому

    Why is the voltage reading alternating between ~1300 and ~500?

    • @AmitIka
      @AmitIka 7 років тому

      Oh okay I see. You printed out both values. Thanks for the vid. Very helpful.