Connect pin 1 to the GPIO pin for ground (labelled GND on the AdaFruit connector). Connect pin 2 to the AdaFruit connector's GPIO pin 4 (labeled #4). Place the 4.7k resistor between the temperature sensor's pins 2 and 3. Place your finger against the sensor after turning on the Pi.
Different sensors, such as temperature sensors, light sensors, and IMUs, connect to the host MCU in different ways. I2C, SPI, and UART are the most popular techniques, and each of them requires a different number of IO pins, such as two for I2C and four for SPI.
The temperature sensor DSB18B20 features a digital output that works well with the Raspberry Pi. It has three wires and is connected with a breadboard and resistor. Temperature, humidity, and barometric pressure are all measured by the BME280 sensor. It works with both SPI and I2C.
Fortunately, the Raspberry Pi's processor includes a temperature probe that we can use. You will need terminal access to retrieve the temperature of the Raspberry Pi.
No trouble with three sensors! (On the whole.) It's basically only a matter of connecting the sensors to the right interfaces. I2C, SPI, UART, and GPIO are the four main interfaces of the Pi that are easily accessible from the 40 pin header.
Learner's Ratings
5
Overall Rating
100%
0%
0%
0%
0%
Reviews
H
Hardik Patel
5
I just learnt this course and many of my concepts are clear now about Raspberry Pi
S
Shivam
5
please give me the txt file to download the required libraries
P
Prabhat Yadav
5
Superb and amazing 😍🤩 enjoyable experience.
R
RAVAN RATHORE
5
good
H
Hemant Ramphul
5
Wow.. Thank you very much.. your explanation is so easy to understand, simple and straight forward.
R
Roshan Channe
5
you are the best...!!!
R
Rahul Singh
5
I like this course
A
Akash Rawat
5
Thank you for amazing lectures and discussions! I learned a lot and benefited from your course!
Thank you!
L
Lambodar Waghmare
5
hello.. first of all thank you so much to learn vern ... im robotics engineering student ... i was learn complete IOT ARDUINO from learnvern and made a lots of project ... now thanks for rasbp tutori
Share a personalized message with your friends.