Raspberry Pi Pico with DS18B20 1M sensors with Micropython

Опубликовано: 02 Июнь 2022
на канале: Samples & Tests
2,371
25

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.

 ⬇️⬇️⬇️Subscribe to our channel for more Videos!⬇️⬇️⬇️
👉   / @samplesandtests  

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?...


Pibits.net page on how to use onewire:
http://www.pibits.net/code/raspberry-...


Rp2040 Datasheet:
https://datasheets.raspberrypi.com/rp...

Raspberry Pi Pico Datasheet:
https://datasheets.raspberrypi.com/pi...

Raspberry Pi Pico pinout diagram:
https://datasheets.raspberrypi.com/pi...

rshell:
https://github.com/dhylands/rshell

Samples & Tests: Blog:
https://qwerty12134.blogspot.com/

 Samples & Tests git:
https://github.com/transvidium/sample...


Samples & Tests website:
https://transvidium.com/samplesandtests/

Playlist:    • Raspberry Pi Pico  

where to get a pico: https://www.microcenter.com/product/6...
https://www.amazon.com/dp/B09QKDTWCD?...


🔴Business inquiries:⬇️⬇️⬇️
https://docs.google.com/forms/d/e/1FA...

🔴Affiliate Links: ⬇️⬇️⬇️

Namecheap Domains:
https://www.tkqlhce.com/click-1006383...

Rexing wifi Dashcam:
https://www.anrdoezrs.net/click-10063...

RVT RV Finder:
https://www.anrdoezrs.net/click-10063...

Adagio Teas:
https://www.jdoqocy.com/click-1006383...

Signs on the cheap:
https://www.anrdoezrs.net/click-10063...

Filippa Marketplace:
https://www.jdoqocy.com/click-1006383...

Holiday Autos:
https://www.anrdoezrs.net/click-10063...

Hushed (Telephone app):
https://www.tkqlhce.com/click-1006383...

Vonage:
https://www.tkqlhce.com/click-1006383...

RX Safety (Glasses):
https://www.tkqlhce.com/click-1006383...

Segway (free shipping on orders over $99):
https://www.jdoqocy.com/click-1006383...

Checks in the Mail:
https://www.anrdoezrs.net/click-10063...

Crystal Travel:
https://www.jdoqocy.com/click-1006383...

Phrozen 3D Printers
https://www.tkqlhce.com/click-1006383...

Char-Broil Smokers
https://www.tkqlhce.com/click-1006383...

Linux Foundation (Training and Certification) – 40% off SITEWIDE Use code PRIME23 at checkout.
https://www.dpbolvw.net/click-1006383...

Full Compass systems (audio & video accessories )
https://www.dpbolvw.net/click-1006383...

Nature-Made (vitamins , supplements , etc) - 25% OFF
https://www.dpbolvw.net/click-1006383...

Temu
https://www.anrdoezrs.net/click-10063...

OneStream
https://www.tkqlhce.com/click-1006383...


 🔴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