Raspberry Pi Pico with DS18B20 1M sensors with Micropython
This was the first time I used a DS18B20 temperature sensor or the one-wire protocol. With micro python it was fairly straightforward. This series will continue with micro python, and after we have a working prototype and the hardware is set, I will attempt to use C/C++ to rewrite the code.
I will clean up and optimize the code towards the end of the project. I think it would be best to dedicate one video to code cleanup / optimization.
When I said pin header I meant jumper wire.
Again I apologize for the audio
⬇️⬇️⬇️Subscribe to our channel for more Videos!⬇️⬇️⬇️
👉https://www.youtube.com/channel/UCpWcbuBcTjHm8X6W0pySi5A?sub_confirmation=1
Contents:
00:00 - intro
00:30 - update since last video
03:20 - jumper wire - reset/breakout
04:00 - connecting the sensor
07:15 - the micropython code
16:15 - what happens when I don’t pay attention. (left the gpio-0 in the low position)
19:40 - future videos in this series
22:45 - closing
The sensor used:
https://www.amazon.com/dp/B07MB1J43W?psc=1&ref=ppx_yo2ov_dt_b_product_details
Pibits.net page on how to use onewire:
http://www.pibits.net/code/raspberry-pi-pico-and-ds18b20-thermometer-using-micropython.php
Rp2040 Datasheet:
https://datasheets.raspberrypi.com/rp2040/rp2040-datasheet.pdf
Raspberry Pi Pico Datasheet:
https://datasheets.raspberrypi.com/pico/pico-datasheet.pdf
Raspberry Pi Pico pinout diagram:
https://datasheets.raspberrypi.com/pico/Pico-R3-A4-Pinout.pdf
rshell:
https://github.com/dhylands/rshell
Samples & Tests: Blog:
https://qwerty12134.blogspot.com/
Samples & Tests git:
https://github.com/transvidium/samplesandtests
Samples & Tests website:
https://transvidium.com/samplesandtests/
Playlist: https://www.youtube.com/watch?v=A6IFsDK65OY&list=PLGBh5bnttFWtnPfSYysLVLjYUkeRF1-qH
where to get a pico: https://www.microcenter.com/product/632771/raspberry-pi-pico-microcontroller-development-board
https://www.amazon.com/dp/B09QKDTWCD?ref=ppx_yo2ov_dt_b_product_details&th=1
🔴Business inquiries:⬇️⬇️⬇️
https://docs.google.com/forms/d/e/1FAIpQLSfEiKjMGrgo3DcJRBRyuqIgPMpuI02c6UNhcxHDzupq69J7kg/viewform
🔴Affiliate Links: ⬇️⬇️⬇️
Namecheap Domains:
https://www.tkqlhce.com/click-100638314-12892698
Rexing wifi Dashcam:
https://www.anrdoezrs.net/click-100638314-13999325
RVT RV Finder:
https://www.anrdoezrs.net/click-100638314-10676664
Creality3D Printers:
https://www.tkqlhce.com/click-100638312-14476734
Adagio Teas:
https://www.jdoqocy.com/click-100638312-10405733
Signs on the cheap:
https://www.anrdoezrs.net/click-100638312-11312833
Filippa Marketplace:
https://www.jdoqocy.com/click-100638312-15232687
Holiday Autos:
https://www.anrdoezrs.net/click-100638314-12363666
Hushed (Telephone app):
https://www.tkqlhce.com/click-100638314-14417030
Vonage:
https://www.tkqlhce.com/click-100638314-15024364
RX Safety (Glasses):
https://www.tkqlhce.com/click-100638314-15138183
Segway (free shipping on orders over $99):
https://www.jdoqocy.com/click-100638314-15349390
AAA Auto Club:
https://www.anrdoezrs.net/click-100638314-15371181
Checks in the Mail:
https://www.anrdoezrs.net/click-100638314-13333421
Crystal Travel:
https://www.jdoqocy.com/click-100638314-13280458
🔴Affiliate Disclaimer :
The channel Samples & Tests is a channel dedicated to providing sample tests for various purposes. The channel is not affiliated with any particular testing organization. The channel provides sample tests for informational purposes only. The channel does not provide any guarantee of accuracy or completeness of any of the tests provided.
🔴Disclaimer :
This channel is all about samples and tests of technical projects. Any information provided in these videos is for educational and informational purposes only. I am not responsible for any actions you take as a result of watching any of my videos.
#raspberrypipico #micropython #tempreture #temperature #pico