Weather Station Using Arduino Uno R4 Wifi & Visuino

Photo of Ron

Made by Ron

About the project

Learn how to make a simple weather station using the Arduino UNO R4 WiFi board & Visuino to display Temperature & Humidity.

Project info

Difficulty: Easy

Platforms: ArduinoDFRobotVisuino

Estimated time: 1 hour

License: GNU General Public License, version 3 or later (GPL3+)

Items used in this project

Hardware components

Jumper wires (generic) Jumper wires (generic) x 1
DFRobot Gravity: DHT11 Temperature Humidity Sensor For Arduino DFRobot Gravity: DHT11 Temperature Humidity Sensor For Arduino x 1
Arduino UNO R4 WiFi Arduino UNO R4 WiFi x 1

Software apps and online services

Arduino IDE Arduino IDE
Visuino Visuino

Story

Step 1: What You Will Need

1 / 4

Step 2: The Circuit

  • Connect DHT11 Sensor pin (VCC +) to Arduino pin [+5V]
  • Connect DHT11 Sensor pin (GND -) to Arduino pin [GND]
  • Connect DHT11 Sensor pin (S) to Arduino pin digital (2)

Step 3: Start Visuino, and Select the Arduino UNO R4 WiFi Board Type

1 / 2

Start Visuino as shown in the first picture Click on the "Tools" button on the Arduino component (Picture 1) in Visuino When the dialog appears, select "Arduino UNO R4 WiFi" as shown on Picture 2

Step 4: In Visuino Add Components

  • Add "DHT11" component
  • Add "Pulse Generator" component
  • Add "Analog Toggle Switch" component

Step 5: In Visuino Set Components

  • Select ArduinoUNO R4 WiFi board and in the properties window expand Modules>Display and select Elements and click on the 3 dots button, in the Elements window drag "Text Field" to the left side and in the properties window set "Wrap" to False
  • Close the Elements window
  • Select "PulseGenerator1" and in the properties window set "Frequency" to 0.1

Step 6: In Visuino Connect Components

1 / 3

  • Connect "HumidityThermometer1" pin [Temperature] to "ToggleSwitch1" pin [False]
  • Connect "HumidityThermometer1" pin [Humidity] to "ToggleSwitch1" pin [True]
  • Connect "HumidityThermometer1" pin [Sensor] to Arduino digital pin [2]
  • Connect "PulseGenerator1" pin [Out] to "ToggleSwitch1" pin [Select]
  • Connect "ToggleSwitch1" pin [Out] to ArduinoUNO R4 WiFi > Display > "Text Field1" pin [In]

Step 7: Generate, Compile, and Upload the Arduino Code

In Visuino, at the bottom click on the "Build" Tab, make sure the correct port is selected, then click on the "Compile/Build and Upload" button.

Step 8: Play

If you power the Arduino module the LEDs on the Arduino Display will start to display the Temperature and Humidity values.

Congratulations! You have completed your project with Visuino. Also attached is the Visuino project, that I created for this tutorial, you can download it and open it in Visuino: https://www.visuino.com

Schematics, diagrams and documents

Visuino File

Code

Visuino File

Credits

Photo of Ron

Ron

Arduino Developer

   

Leave your feedback...