Raspberry Pi Pico with DS18B20 1M using C++

Subscribers:
802
Published on ● Video Link: https://www.youtube.com/watch?v=1vxrf6v4dRc



Duration: 18:40
805 views
12


This is continuing the raspberry pi pico temperature project. I am now rewriting the code in C++.
I plan on continuing to use the same format as i did with the micropython version. that being:
1) the temperature probe (this video).

2) a video on the code for the 8 segment displays,

3) a video to convert the values
4) a video bringing it all together



and yes i plan on having pin headers soldered on before the next video



for that checkout my live stream scheduled for 17-AUG-2022 time TBD
come back because i will update the time as we get closer.



instructions for installing the one-wire module/api (on a linux machine)


after you create your project with the project generator
create a folder called modules (mkdir modules)
in the modules folder run:
git clone https://github.com/adamboardman/pico-onewire.git


in the CMakelist.txt file add/modify these two line:


add_subdirectory(modules/pico-onewire)
target_link_libraries( ... pico_one_wire)







 Contents:

00:00 - intro
01:09 - how everything is connected
02:25 - the C++ code
10:28 - compiling
11:44 - loading the compiled binary to the raspberry pi pico
12:20 - warning on micro-USB connector
13:50 - running the code/program
15:44 - benefits of c++
16:20 - future videos in this series
17:55 - closing


The sensor used:
https://www.amazon.com/dp/B07MB1J43W?psc=1&ref=ppx_yo2ov_dt_b_product_details


the github for the one-wire module
https://github.com/adamboardman/pico-onewire


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




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.jdoqocy.com/click-100638312-10676664

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

Creality3D Printers:
https://www.tkqlhce.com/click-100638312-14476734

Adagio Teas:
https://www.jdoqocy.com/click-100638312-10405733







Tags:
raspberry pi ds18b20 temperature sensor tutorial
ds18b20 sensor raspberry pi
raspberry pi ds18b20 sensor
sensor ds18b20 raspberry
raspberry pi temperature sensor
ds18b20 temperature sensor raspberry pi
raspberry pi ds18b20 temperature sensor
raspberry pi
raspberry pi (computer)
ds18b20 raspberry pi
raspberry pi ds18b20 mqtt
ds18b20 temperature sensor tutorial
raspberry pi pico
c++
1-wire
one-wire
rp2040
micropython
python
#pico
#raspberrypipico
#ds18b20