Weather Station Using Arduino UNO R4 WiFi & Visuino

by RonFrtek in Circuits > Arduino

124 Views, 2 Favorites, 0 Comments

Weather Station Using Arduino UNO R4 WiFi & Visuino

Weather Station Using Arduino UNO R4 WiFi & Visuino

In this tutorial we will learn how to make a simple weather station using the Arduino UNO R4 WiFi board & Visuino to display Temperature & Humidity values on the matrix display.

Watch the video!

What You Will Need

ArduinoR4.png
VisuinoAdvrtisemenArduinoGiga_1 (1).jpg
41015728-1.jpg
jumper-wires.jpg


The Circuit

2024-06-01_21-07-49.jpg
  • 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)


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

select-board-uno.jpg
Visuino-Select-Board-UNO-R4.jpg

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

In Visuino Add Components

2024-05-31_15-38-11.jpg
2024-05-31_15-38-59.jpg
2024-05-31_15-40-10.jpg
  • Add "DHT11" component
  • Add "Pulse Generator" component
  • Add "Analog Toggle Switch" component

In Visuino Set Components

2024-05-31_15-42-59.jpg
2024-05-31_15-43-25.jpg
2024-05-11_13-04-11.jpg
2024-05-31_15-45-37.jpg
  • 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


In Visuino Connect Components

2024-05-31_15-49-02.jpg
r4-weather.png
  • 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]


Generate, Compile, and Upload the Arduino Code

Visuino-Compile-UNOR4.jpg

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.

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

Downloads