Bukit Mertajam, Penang

Displaying Sensor’s Data on Blynk App Using Raspberry Pi

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.

Leave a comment