Displaying Sensor’s Data on Blynk App Using Raspberry Pi

Now, let's try displaying sensor's data on Blynk app

INTRODUCTION

We go a bit further in Blynk app and Raspberry Pi. Now I will share with you on how to display sensor’s data (in this case I’m using temperature and humidity sensor) on Blynk app.

VIDEO

This video shows how to display sensor’s data on Blynk app using Raspberry Pi and Maker pHAT. For substitle, please click on CC button.

HARDWARE PREPARATION

Connection between DHT22 sensor and Raspberry Pi

DHT22 SensorRaspberry Pi
DATGPIO 17
VCC3.3V
GNDGND

Sample Code

This sample code will read DHT22 sensor and update the readings to Blynk app every ~3 seconds.

Thank You

References

  1. blynk-library-python from vshymanskyy
  2. Adafruit_Python_DHT from Adafruit

Thanks for reading this tutorial. If you have any technical inquiry, please post at Cytron Technical Forum.

4 thoughts on “Displaying Sensor’s Data on Blynk App Using Raspberry Pi”

  1. Hi affat, you can try edit Adafruit_DHT.DHT22 to Adafruit_DHT.DHT11 in coding. Thanks.

  2. may I know how about dht11? is it the same coding for sample code dht22 but change the type of sensor to dht11?

Leave a Comment

Your email address will not be published.

Share this Tutorial

Share on facebook
Share on whatsapp
Share on email
Share on print
Share on twitter
Share on pinterest
Share on facebook
Share on whatsapp
Share on email
Share on print
Share on twitter
Share on pinterest

Latest Tutorail

Control Servo With Gesture Using ESP32 and Arduino
Send Sensor’s Data to ThingSpeak Using ESP32
Basic Usage of iMAX B6AC LiPo Charger
Colourful Bed Lamp Using Tilt Sensor on Maker UNO
Dot Matrix Clock With NTP Server Using ESP32
Scroll to Top