Read Analog Voltage with the PICO

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

КОМЕНТАРІ • 32

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

    This was excellent. As clear and concise a presentation as I have ever seen. Please keep making them
    👍

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

      Thank you very much for stopping by and for subscribing - very much appreciated. Currently there are 50+ new videos planned - most coving the PICO so hopefully I will keep you informed and entertained 🙂

  • @wangleimail
    @wangleimail 2 дні тому

    Hi, how to read bi-polar range of analog input voltage? Unless it's a temperature sensor, most of the real-world sensor output range from negative to positive voltage.

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

    Thanks for the slow and clear information....I subbed in the expectation you might have more similar content, or have previously covered them. As an older EE I never got into digital projects, but your excellent laid back style makes it easy to sit through the school level explanations.

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

      Hi Peter, Thanks for stopping by and watching the video! I am happy to hear it was of value to you. I hope to keep doing more but I got to get viewership up to help fund things. In the meantime I will keep plugging away! Thanks again for the feedback.
      Cheers!

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

      @@MakingStuffwithChrisDeHut I guess I have been using UA-cam actively since your first upload, and I only just found your channel by accident. My gut feeling is that YT is not as interested in giving smaller content providers exposure as they do for larger sites. I often would search YT for a specific subject, and a thought I have for you is connecting your content to a popular subject and all those who are searching would find your channel - for example - solar and renewable energy are on my interest list, and suspect others too. I may have found your channel years ago, if you had used a Pico to control something solar (eg charger controller, inverter, or even a power management system), I imagine there are even more popular subjects and I would hope that YT looks at the headings and places relevant results into the searchers results. I will be watching for your next video - you have a special skill in content creation which I really enjoy.

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

      @@mekuranda I believe you are correct Peter. It is hard to climb up in the UA-cam rankings and I hope to gain some ground soon.

  • @jeffschroeder4805
    @jeffschroeder4805 6 місяців тому

    A short explanation of how to "map" the readings to calibrate and limit the range would be helpful. In the comments I see questions about measuring voltages higher than 3.3V, a discussion of voltage dividers might be helpful as well. Thank you for your helpful videos!

    • @MakingStuffwithChrisDeHut
      @MakingStuffwithChrisDeHut  6 місяців тому

      Hi Jeff,
      Thanks for sharing your suggestions, both excellent ideas. I got them noted in my "future stories" document.
      Cheers!
      Chris

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

    Hey Chris! Thanks for another great video. Question for you... I will be powering my pico with a battery; how can I read the input battery voltage and display it on the screen? My lipo battery will go beyond 3.3v at a full charge, so I know I can't feed the battery input directly to a GPIO pin and measure it with the ADC. Google says I need a separate voltage divider IC or something, is that really the easiest way to go about it? I find it hard to believe that my pico isn't capable of measuring the input voltage straight from the VSYS/VBUS pins somehow, no?? Is that just the way it goes, since the whole RP2040 runs off nothing more than 3.3v, or does the PICO have some kind of clever hardware already onboard that will let me measure the proper battery input voltage?

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

    Please, how do i get stable readings from adc pin, I am getting jumping readings even tho they should be stable, do you have some idea how to help?

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

      What is connected to your ADC pin? Is that sensor providing a stable voltage?
      Unfortunately, the sensor could be outputting an unstable voltage and you won't be able to stop that. However, you can average a number of samples and use an averaged value.

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

      Due to the switching power supply noise you will encounter such problems whether you are sampling fast or slow the noise will render most ADC data useless. And, sorry to say that even averaging can't get you an assured good sample. UA-cam make GreatScott has a video showing how you can remove a resistor to the "aref" pin so that you can use an external power supply (like a battery (they have no noise at all)).
      If you measuring a DC voltage or slowly varying DC voltage try a 100nF or 1uF on the ADC input to ground.

  • @bones549
    @bones549 9 місяців тому

    Hey thought I recognized the voice. I go back to your dvd days hope you been well

    • @MakingStuffwithChrisDeHut
      @MakingStuffwithChrisDeHut  9 місяців тому

      Welcome back!!! Life is good again, it took about 5 years after the end of the Woodworking at Home Magazine to get things back on track. After about 20 years I couldn't let the woodworking videos "sit in a dusty corner" anymore so I created this channel. I can't do too much woodworking anymore (respiratory issues) so I decided to create new content following another of my passions.
      I am glad you found the channel and I hope you enjoy it!
      Cheers!
      Chris

  • @joerahhal7439
    @joerahhal7439 7 місяців тому

    can you get stable milivolt or microvolt readings with this ADC for load cell signal?

    • @MakingStuffwithChrisDeHut
      @MakingStuffwithChrisDeHut  7 місяців тому

      I have no experience trying that but I will say, you will need a VERY STABLE power supply and circuitry.
      Chris

  • @davidaustin7395
    @davidaustin7395 7 місяців тому

    I tried to read a 10k ntc thermistor with 20k to 3v3. I found the adc on the pico loads the input like about 25k to gnd. Use a voltage follower If you need accurate voltage,

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

    thanks Chris!

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

    Great video thanks

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

    How would you send those values to a program on a Pi? Thank you.

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

      I suspect you want to use the PICO to get the analog data because the PI does not have analog inputs. There is a more direct way for the pi to get analog data - see this video...ua-cam.com/video/r5SYyQB0e8w/v-deo.html
      Cheers! Chris

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

    Nice video. Would just like to point out the function you described was exponential not logarithmic. A logarithmic function would start fast and slow down as you approach bigger values :)

  • @dtpietrzak
    @dtpietrzak 8 місяців тому

    thank you sir 👍

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

    Subscribed!