How to Make a Wind Vane

by cristinepotu7171 in Circuits > Arduino

1008 Views, 3 Favorites, 0 Comments

How to Make a Wind Vane

How To Make A Wind Vane!
IMG_20211129_132438.jpg
A simple project for beginners, displaying the wind direction on an oled display and Arduino board



What You Will Need

1k-ohm-resistor__05927.1532890549.jpg
download.jpg
1490-03.jpg
alb-128X64-0-96-inch-OLED-LCD-LED-Display-Modul-pentru-Arduino-250x250.jpg
senzor-potentiometru-rotativ-continuu-10k.jpg
downloadV.png

1x1k resistor

1xArduino nano (or any oder Arduino board)

1xpush button

1xoLed display

1xrotary potentiometer

Visuino software

or

IDE for Arduino

Wirring Diagram

arduino-nano223333444.jpg
Make the connections of the components according to the diagram below


Start Visuino Software or Arduino IDE and Upload the Code

snapshot8.png
snapshot9.png
snapshot10.png
snapshot18.png
  The code is generated in the Visuino software, but you can find it below in IDE format for Arduino.Upload the code to the Arduino board'  To start programming the Arduino, you will need to have the Arduino IDE installed from here: https://www.arduino.cc/.    For Visuino download here:https://www.visuino.eu 


Project Testing, Execution Ideas

snapshot11.png
snapshot12.png
snapshot13.png
snapshot14.png
snapshot15.png
At this point, tests are done and assembly in the housing


Play Project

snapshot16.png
snapshot17.png
If you power the Arduino board,the circle with the cardinal points and the indicator arrow will appear on the screen, which will indicate the wind direction depending on the position of the potentiometer.
Thank you for following me here. I hope you like my project, there will be other interesting ones. Good luck with your projects!