Connecting the DHT22 Sensor

Connecting the DHT22 Sensor

Prerequisite: Make sure you have set up the raspberry pi before proceeding with this step.

With your Raspberry Pi set up you can now connect the DHT22 sensor using jumper wires. Follow the connection layout carefully to ensure the sensor is correctly linked to the Raspberry Pi:
  1. Power Connection: Connect the VCC pin of the DHT22 sensor to the 3.3V pin on the Raspberry Pi.
  2. Ground Connection: Connect the GND pin of the DHT22 sensor to a GND pin on the Raspberry Pi.
  3. Data Connection: Connect the Data pin of the DHT22 sensor to one of the GPIO pins on the Raspberry Pi (e.g., GPIO4)
Refer to the layout below.

Once you've made the connections, by running in the script in the Zoho IOT SDK you can measure the temperature and humidity data of the room. Before that you need to create a device in the application and update the credentials in the python script to send the measured values.
 
Next Step: Registering a device in the Zoho IOT application.


    Zoho CRM Training Programs

    Learn how to use the best tools for sales force automation and better customer engagement from Zoho's implementation specialists.

    Zoho CRM Training
      Redefine the way you work
      with Zoho Workplace

        Zoho DataPrep Personalized Demo

        If you'd like a personalized walk-through of our data preparation tool, please request a demo and we'll be happy to show you how to get the best out of Zoho DataPrep.

        Zoho CRM Training

          Create, share, and deliver

          beautiful slides from anywhere.

          Get Started Now


            Zoho Sign now offers specialized one-on-one training for both administrators and developers.

            BOOK A SESSION











                                        You are currently viewing the help pages of Qntrl’s earlier version. Click here to view our latest version—Qntrl 3.0's help articles.




                                            Manage your brands on social media

                                              Zoho Desk Resources

                                              • Desk Community Learning Series


                                              • Digest


                                              • Functions


                                              • Meetups


                                              • Kbase


                                              • Resources


                                              • Glossary


                                              • Desk Marketplace


                                              • MVP Corner


                                              • Word of the Day


                                                Zoho Marketing Automation

                                                  Zoho Sheet Resources

                                                   

                                                      Zoho Forms Resources


                                                        Secure your business
                                                        communication with Zoho Mail


                                                        Mail on the move with
                                                        Zoho Mail mobile application

                                                          Stay on top of your schedule
                                                          at all times


                                                          Carry your calendar with you
                                                          Anytime, anywhere




                                                                Zoho Sign Resources

                                                                  Sign, Paperless!

                                                                  Sign and send business documents on the go!

                                                                  Get Started Now




                                                                          Zoho TeamInbox Resources



                                                                                  Zoho DataPrep Resources



                                                                                    Zoho DataPrep Demo

                                                                                    Get a personalized demo or POC

                                                                                    REGISTER NOW


                                                                                      Design. Discuss. Deliver.

                                                                                      Create visually engaging stories with Zoho Show.

                                                                                      Get Started Now









                                                                                                          • Related Articles

                                                                                                          • Connecting peripherals and onboarding the ESP32

                                                                                                            With the ESP32 configured and the required program uploaded, follow the connection layout below to connect the ESP32, soil moisture sensor, and water pump, ensuring all components are correctly linked: Connecting the Soil Moisture Sensor: Connect the ...
                                                                                                          • Onboarding the Raspberry Pi

                                                                                                            Now that you've created a device in the application, you can use the device's connection credentials to establish a secure link with the Raspberry Pi. Once this connection is successfully established, the Raspberry Pi will be able to send data ...
                                                                                                          • Room Climate Monitoring

                                                                                                            In this guide, you'll learn how to connect a DHT22 sensor to your Raspberry Pi, run a python script in the Zoho IOT SDK to measure room temperature and humidity, and send this data to your Zoho IOT application using MQTT and visualize the data in the ...
                                                                                                          • Configuring fields: Device products

                                                                                                            This document provides a detailed overview of the various fields you will encounter when creating a custom device product in the Zoho IOT application. The field values specified during the configuration of a device product are not permanent ...
                                                                                                          • Remote access of a Raspberry Pi: Terminal

                                                                                                            If you don’t have a monitor, mouse, or keyboard readily available for your Raspberry Pi setup, you can easily manage your device remotely from your Mac or PC. This method is efficient and convenient, particularly for headless setups. Prerequisites ...
                                                                                                            Wherever you are is as good as
                                                                                                            your workplace

                                                                                                              Resources

                                                                                                              Videos

                                                                                                              Watch comprehensive videos on features and other important topics that will help you master Zoho CRM.



                                                                                                              eBooks

                                                                                                              Download free eBooks and access a range of topics to get deeper insight on successfully using Zoho CRM.



                                                                                                              Webinars

                                                                                                              Sign up for our webinars and learn the Zoho CRM basics, from customization to sales force automation and more.



                                                                                                              CRM Tips

                                                                                                              Make the most of Zoho CRM with these useful tips.



                                                                                                                Zoho Show Resources