Make a Weather Station Using Environmental Sensor

On a daily basis, people use weather forecasts to determine what to wear on a given day or to plan travel or events

However, it only tells temperature in a relatively large range. Sometimes we need environmental parameters in a specific place like a fishpond, greenhouse, an open field, etc. Here I want to know the exact temperatures during a day on my terrace. So I decide to make a weather monitoring station that outputs the real-time data I need.

I got this environmental sensor from DFRobot that can measure temperature, humidity, pressure, ambient light, and UV, which is well suitable for this project.

This summer is much hotter than previous ones, and many places got record-breaking temperatures of over 40℃. For the sake of convenience, I add a UART fiber optic transceiver module in the project for data transmission, so I don't need to go outside to view data all the time.

image image

The relevant information is uploaded on our YouTube channel

HARDWARE LIST

  • 2x ESP32-E IoT Microcontroller
  • 1x Gravity: High Accuracy Temperature, Humidity, Pressure, Ambient Light and UV Sensor
  • 1x OLED Transparent Display
  • 2x UART Fiber Optic Transceiver Module
  • 1x SC-SC Single Mode Duplex Fiber Jumper (50m)
  • 1x Lithium Battery Charger
  • 2x 3.7V Battery

Hardware Connection

Display End: image

Sensor End: image

Test

Now we place the tripod holding the sensor end outside. image

Connect the sensor end to the display end with optic-fiber cable. image

Then we can view the real-time temperature and humidity data at the display end. image

FAQ

why can't I obtain data?
If there is no data shown on your display, try exchanging pins TX and RX of one end.

With the multi-functional environmental sensor, the weather station can also measure air pressure, ambient light and UV intensity besides temperature and humidity, so we can use our brains to make the most of it. For example, we can apply it to greenhouse planting monitoring, fishpond status view, laboratory experiments, etc. But we need to take good care of the display lest a backlight bleed may occur at the damaged corner and thus affect display effect.

Thank

Thanks for reading, feel free to leave your comments if you have any other good ideas!