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

Display Temperature and Humidity on OLED using DHT22 and Arduino
Getting Started With Teensy Using Arduino IDE
Night Light
Arduino Device Tracker Using GSM GPS SIM7600E Module
Chocolate Box with Touch Sensor and Arduino
Scroll to Top