Arduino MKR WiFi 1010 - Temperature Sensor
by DIYables in Circuits > Arduino
23 Views, 0 Favorites, 0 Comments
Arduino MKR WiFi 1010 - Temperature Sensor
This is a compact build guide. The full tutorial, with the wiring diagram and a line-by-line walkthrough of the code, is here: https://newbiely.com/tutorials/arduino-mkr/arduino-mkr-wifi-1010-temperature-sensor
Welcome to your complete guide on using a temperature sensor with the Arduino MKR WiFi 1010! Temperature monitoring is one of the most practical skills in electronics and IoT projects. In this comprehensive tutorial, you'll learn how to connect a DS18B20 temperature sensor to your Arduino MKR WiFi 1010 board and read accurate temperature measurements in both Celsius and Fahrenheit. The Arduino MKR WiFi 1010 is perfec
Supplies
Everything below is what the build uses. The links go to the parts we make and test.
What It Is
The DS18B20 is a digital temperature sensor that measures temperature accurately from -55°C to +125°C. It uses a special communication method called the 1-Wire protocol, which means it can send digital temperature data using just one wire! This makes wiring simple and allows you to connect multiple sensors to the same pin if needed.
Wiring
The DS18B20 has three pins:
GND pin: Connect to ground (0V)
VCC pin: Connect to power (5V or 3.3V)
DATA pin: Connect to any digital pin on your Arduino MKR WiFi 1010 for sending temperature data
Code
arduino-mkr-wifi-1010-temperature-sensor.ino - the sketch from the tutorial, unchanged.
Full Tutorial
The complete tutorial, wiring diagram and code explanation: https://newbiely.com/tutorials/arduino-mkr/arduino-mkr-wifi-1010-temperature-sensor