Sensor Monitoring IoT (Google Firebase and Android)

by nanobot.workshop in Circuits > Arduino

444 Views, 0 Favorites, 0 Comments

Sensor Monitoring IoT (Google Firebase and Android)

8.png

Hello everyone, Welcome to my instructables. I will share a tutorial on how to monitor sensors using Android via Google Firebase.

The sensor I use is DHT 11. DHT 11 is a sensor for detecting temperature and humidity. As for the control center I use Nodemcu

Prepare Tools and Materials

1.png
2.png
KABEL JUMPER FF.png
NODEMCU DHT11.png

The tools and materials we use are

  1. Nodemcu
  2. DHT11
  3. Jumper Cable

After we have prepared everything, now we connect nodemcu with DHT 11 according to the picture

Programming Nodemcu

6.PNG
1.PNG
7.PNG

After step 1 is complete we will now program nodemcu.

  1. Download program
  2. Fill in the Firebase URL, Firebase Token, WiFi SSID and WiFi password according to yours
  3. Upload program to Nodemcu, make sure the board and port are correct

If you want change from humidity to temperature, you must change "humidity" to "suhu"

Downloads

How to Use Application

5.PNG
3.PNG
4.PNG

Now that nodemcu has been programmed we will now move on to the application

  1. Download application
  2. Install application
  3. The first time you open the app it will show a Firebase Error. This happens because we haven't set the Firebase URL and Firebase Token
  4. Go to Setting
  5. Enter the Firebase URL and Firebase Token in the fields provided
  6. To make it easier to enter URL and Token, create URL and Token in the form of QR Code. Use this site to create a QR Code www.qr-code-generator.com, select the text section and enter the URL and Token. Insert separately (created 2 files)
  7. In this settings menu you can also change the title, sensor name, measurement unit and limit value
  8. Click save to save. Click the back button to return to the main page

FINISH

Monitoring sensor DHT 11 via Google Firebase

Turn on the Nodemcu that we programmed before, the sensor will automatically connect to the application.

You can monitor your sensor values from anywhere and anytime as long as you are connected to the Internet. If the sensor reaches the limit value then the application will pop up a notification