0% found this document useful (0 votes)
130 views21 pages

Anemómetro

electrónica

Uploaded by

david reyes
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
130 views21 pages

Anemómetro

electrónica

Uploaded by

david reyes
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
Try Free PCB Prototype $0 for 1-4 layer PCB Prototype See te Interfacing Anemometer (NPN Pulse Output) with Arduino nd Speed using Arduino & Anemometer with NPN Pulse Output 02707 Minutes oad a) Nt Veit tad Table of Contents 1. Overview [Link] of Materials 3, What is Anemometer? 4, Anemometer with NPN Pulse Output 1 Features & Specifications 2 Internal Circuitry of the Sensor 3. Wiring & Pinout 5. Interfacing NPN Pulse Output Anemometer with Arduino [Link] PCB Gerber File & PCB Ordering Online 7. Source Code/Program 8, Measuring Wind Speed & Testing the Device 9. Overview Overview In this guide, we will be interfacing NPN Pulse Output Anemometer Sensor with Arduino and ‘measuring the Wind Speed. An anemometer is a device used for measuring wind speed and direction. Its also a common Weather Station instrument. In one of our previous project, we measured Wind Speed using Adafruit Anemometer sensor & also display the Wind Speed in Gauge on TFT LCD Display. But Adafruit Anemometer isan analog anemometer and requires a power of more than 7V for operation Therefore we willbe using a digital Anemometer in this project which has NPN Pulse Output. The NPN pulse output ‘anemometer result is good & are also cost-effective & they operate at SV only. In this project, we wil interface NPN Pulse Output Anemometer with Arduino & display the measured wind speed on a 16%2 LCD Display. This anemometer is capable of measuring wine speeds up to 70 m/s or 156 mph which should be adequate for our location. Bill of Materials Following are the components that we need for making this project. You can purchase all the components easily online from Amazon, Check the purchase link below. SN. COMPONENTS NAME QUANTITY PURCHASE LINKS 1 Arduino UNO Board 1 Amazon | Alitxpress 2 Anemometer Sensor NPN Pulse 1 Amazon | Aligxpress 3 RCLCD Display 1 Amazon | Aliéxpress 4 Jumper Wires 15 ‘Amazon | AliExpress 5 Breadboard 1 Amazon | AliExpress What is Anemometer? ‘An anemometeris a device used for measuring wind speed and direction. Its widely used for ‘measuring the speed of airflow in the atmosphere, in wind tunnels, and in other gas-flow applications. The term is derived from the Greek word anemos, which means wind, and is used to describe any wind speed instrument used in meteorology. ‘The most widely used Anemometer for wind-speed measurements is the revolving-cup electric ‘anemometer. The revolving cups drive an electric generator. The output of the generator operates an electric meter that is calibrated in wind speed. Three-cup anemometers are currently used as the industry standard for wind resource assessment studies & practice, ‘The cup-type anemometer consists of 3 or 4 hemispherical cups mounted on horizontal arms, which ‘were mounted on a vertical shaft, The airflow past the cups in any horizontal direction turned the shaft at a rate that was roughly proportional to the wind speed, Therefore, counting the turns of the shaft over a set time interval produced a value proportional to the average wind speed for a wide range of speeds. Anemometer with NPN Pulse Output ‘The NPN Pulse Output Anemometer Sensor is a Three-cup type anemometer that is capable of measuring wind speed up to 70m/s or 156mph. It is composed of a shell, the wind cup, and the circuit module. [ter testing many types of anemometers, we found out this NPN pulse output anemometer quality is best as wel as cost-effective. Unlike the analog output version anemometer, this anemometer ‘output pulse reflects the wind speed more accurately. Besides this anemometer is totally Waterproof, with a stable installation design, and suitable for outdoor applications [Link], ifthe anemometer turns one round in one second, the transmitter will output 20 pulses, which means the wind speed is 1.75ms Features & Specifications Power: SV~30V DC + Communication: pulse output + Resolution: 0.0875 m/s (that is, if 20 pulse detected in 1, the wind speed is 1.75 m/s, and '3.5m/s if 40 pulse detected) + Accuracy: +(0.2+0,03V)m/s ‘+ Measuring range: 0~70m/s + Output: NPN * Working environment: -20°C~60%C, O%RH~B0%RH Internal Circuitry of the Sensor aK) NPNR OUTPUT(RI out NPNR OUTPUT Wiring & Pinout The Anemometer has a special connector that has four wires of different colors. Wires Brown line Black line Green line Blue line Mark vec GND (PNP)OUTPUT (NPNRJOUTPUT Definition Power supply Grounding Pulse output Pulse output Interfacing NPN Pulse Output Anemometer with Arduino Now let us interface the NPN Pulse Output Anemometer with Arduino & measure the wind speed. Check the schematic or circuit below. ‘The Anemometer works between 5-30V DC. Therefore there is no need of any external power supply ‘as we can connect this sensor directly with Arduino. The connection between the Anemometer ‘Senor and Arduino UNO Board is given below. ‘Arduino UNO ‘Anemometer 5v VCC (Brown Wire) GND GND (Black Wire) ba (NPNR)OUTPUT (Blue Wire) For displaying the wind speed, we are using a 16x2 12C LCD Display. Connect the SDA & SCL in of LCD Display to Arduino A4 & AS Pins. Similarly, connect the VCC & GND Pin of LCD to Arduino SV & GND Pin, Project PCB Gerber File & PCB Ordering Online If you don't want to assemble the circuit on a breadboard and you want PCB for the project, then ‘ere is the PCB for you, | used EasyEDA to design the PCB, The PCB Board for Arduino Anemometer Device looks something like below. cnt ‘The Gerber File for the PCB is given below. You can simply download the Gerber File and order the PCB from [Link] Download Gerber File: Arduino Anemometer Device Now you can visit the NextPCB offical website by clicking here: hitipsi//[Link]/. So you vill be directed to NextPCB website, cruises) en CLT om -— FEY You can now upload the Gerber File to the Website and place an order. The PCB quality is superb & high. That is why most of the people trust NextPCB for PCB & PCBA Services, You can assemble the components on the PCB Board. Source Code/Program Here isa simple program for Interfacing Anemometer (NPN Pulse Output) with Arduino, The code requires a I2C LCD Library for compilation. Copy the following code and upload it to the Arduino UNO Board, IY Wii specu & roouny wie bovis ‘Once you upload the code to the Arduino Board, the LCD Display will start displaying the wind speed. When the anemometer cup is stable the LCD will show a speed of around Om/s. The speed vill vary or increase when the sensor is taken in a windy region. ‘The speed variation increases or decreases depending upon the cup rotation This is how you can make DIY Arduino Anemometer Project for measuring wind speed Watch this video on YouTube, ONLY $1 for 10PCs PCB PROTOTYPE (PCB Lead Time 24 Hours)

You might also like