Connecting peripherals and onboarding the ESP32

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:
  1. Connecting the Soil Moisture Sensor:
    • Connect the 3.3V pin of the ESP32 to the VCC pin of the soil moisture sensor.
    • Connect the GND pin of the ESP32 to the GND pin of the soil moisture sensor.
    • Connect the D34 pin of the ESP32 to the S (signal) pin of the soil moisture sensor.
    • Attach the soil moisture sensor probe to the sensor.
  1. Connecting the Water Pump via a 5V Relay:
    • Connect the VIN pin of the ESP32 to the VCC pin of the relay.
    • Connect the GND pin of the ESP32 to the GND pin of the relay.
    • Connect the D26 pin of the ESP32 to the LV1 (Low Voltage) pin of the Logic Level Controller.
    • Connect the HV1 (High Voltage) pin of the Logic Level Controller to the IN pin of the relay.
    • Connect the 3.3V pin of the ESP32 to the LV pin of the Logic Level Controller.
    • Connect the HV pin of the Logic Level Controller to the VCC pin of the relay.
    • Ensure the GND pin of the ESP32 is connected to the GND pin of the Logic Level Controller, and the GND pin of the Logic Level Controller is connected to the GND pin of the relay.
    • Connect the Water Pump to the Relay

With the setup complete, you can now create a device in the Zoho IOT application for the ESP32.

Onboarding the ESP32

After the program from the Zoho IOT Arduino SDK is uploaded to the ESP32 and the sensors, relays, pump, probe and logic controller are connected to the ESP32, power it on. The ESP32 to will connect to the internet and push the data to the Zoho IOT application.



    Access your files securely from anywhere

      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

                                                                                                              • Onboarding a device

                                                                                                                Establishing a connection between the Zoho IoT Application and the real world device is called onboarding. This document outlines how to onboard devices based on each protocol. MQTT HTTPS LoRaWAN via LoRaDatastream Prerequisite: Before onboarding a ...
                                                                                                              • 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 ...
                                                                                                              • 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 ...
                                                                                                              • Onboarding Devices - Troubleshooting

                                                                                                                Content for this help document is currently being developed to ensure you receive the most accurate and helpful information. Please check back soon for updates. If you need immediate assistance, feel free to contact support@zohoiot.com.
                                                                                                              • User Onboarding - FAQ

                                                                                                                1. What are referred to as Zoho IOT Homepage and Zoho IOT Application's Homepage? Zoho IOT Homepage : zoho.com/iot - Accessing this URL will display the home page of the Zoho IOT Product. Zoho IOT Application's Homepage: iot.zoho.com/ - Accessing ...
                                                                                                                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