How to Use the Temperature Sensor on the Raspberry Pi Pico in C

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

КОМЕНТАРІ • 21

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

    Thanks for the video. I used Circuitpython and the adafruit libraries for Onewire and DS18x20 to read temp. from a DS18B20

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

    Hello. Before your videos, I thought that I was cold in the room =) is it really 8 degrees there? =))
    Thank you so much for the videos, good job. Thank you. Good luck and success in this matter)) 🙂

  • @gregoriodaluzz
    @gregoriodaluzz 3 роки тому +2

    Nice video! Could you do a video showing how to implement the same procedure with just ? I know it would be harder, but it would be cool to learn more about the microcontroller.

    • @LearnEmbeddedSystems
      @LearnEmbeddedSystems  3 роки тому +2

      Great suggestion, I will consider this or similar for a future video! Will probably continue using the Pico c/c++ SDK for more basic tutorials but will at some point move to more low-level programming tutorials!

  • @skf957
    @skf957 3 роки тому +1

    Nice tutorial, thank you.
    Please take this for the genuine feedback that it is: Could you please increase the font size on your VSC. My old eyes just can't keep up!

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

      Already fixed in later videos! But I appreciate your feedback, it helps make my videos better for everyone thank you.

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

    Great work, thanks. Can you make another one showing his to connect LCD and show the temperature on it? Thanks

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

    Great video! I actually postet a question about this problem on Github in the pico-sdk. You helped me now realizing, how badly calibrated the sensor actually is. For me it's the other direction, sitting in a cold winter while my pico is telling me is 40 deg! I'll try and see, if I can calibrate it a little, but an external sensor is of course the better option.

  • @georgelynntone5886
    @georgelynntone5886 3 роки тому +1

    Good video.

  • @schlingelgen
    @schlingelgen 3 роки тому +1

    Why is the conversion rate while using python 3.3 / 1

  • @Morkiller
    @Morkiller 3 роки тому +1

    I have seen all your videos, thanks for making learning this easy!
    By the way, I have been looking for some information about using some kind of module like the MCP2515 for read messages from can bus via the SPI pins from the pico or using the pico as a "keyboard", Could you make a video showing something like that? just as a petition.

    • @LearnEmbeddedSystems
      @LearnEmbeddedSystems  3 роки тому +1

      I am glad you are finding my videos helpful! I could certainly do a video regarding CAN communication, I am not sure if I have that exact chip but I can have a look around. This video will most likely be come after my SPI communication video.
      Could you please clarify what you mean by using the pico as a keyboard?

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

      ​@@LearnEmbeddedSystems what I meant whit the "keyboard" is something like on the ESP32, where you can write an script with key commands, and it automatically execute the orders once you plug on a PC. Waiting for your next video!!

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

    doesnt the pico ADC scale raw 12bit data to 16bit? in the while loop, your raw variable is uint16_t, yet when you convert it, you use the 12bit value.

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

    thanks for your efforts, with regards to calibration (this sensor or another): would it be just a formula: value +/- the delta or much more complicated? in fact even BMP280 that I have attached to SPI requires "face tuning" I believe vs. reference sensor, thx

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

    CTRL+SHIFT++

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

    Its too fast to see. The file “pico_sdk_import.cmake” must be in the projects directory.
    I copied from pico-examples. Thank you.

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

    I cant tell you how long I scratched my head over this until I found adc_set_temp_sensor_enabled(1); because I kept getting odd values. Nice video. Check out my source code for a SSD1306 oled at my github/jbud