DIY Anemometer with Weather Displays

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ส.ค. 2024
  • A DIY anemometer, generating 8 pulses/revolution via an OPL550A/red LED/optical chopper combination, hard wired over a 30 meter cable to an internal Base Station.
    See • Real Time Wind Speed M... for a blustery day video.
    The Base Station has the following features:
    1) Powers the anemometer with 12V @ upto 0.2A (the majority of this current is consumed by the manually enabled/disabled anemometer heater which turns on at below 2 Celsius).
    2) Converts the 8 pulses/revolution anemometer output to a 0.5 mph resolution wind speed at a 3Hz update rate, displaying the current and (manually resettable) maximum wind speeds on two 7-segment displays.
    3) Receives temperature data every 90 seconds from an outside transmitter comprising of an ATmega328, MCP9700A, and 433MHz transmitter.
    4) Uploads wind and temperature data to ThingSpeak and Weather Underground websites via an ESP8266.
    5) Transmits every 90 seconds wind and temperature data via a 433MHz transmitter to a display unit housed in a miniature lantern. This auto-dimming 'lantern' display, showing time and inside temperature on a 7-segment display (in an alternating fashion), shows 24 hour wind speed and outside temperature data on two graphs on a 2.2" ILI9341 TFT screen. A third graph shows 24 hour pressure history based on values from a BMP280 sensor. The auto-scaling graphs are based on code (in the comments section) from:
    • График на OLED дисплее
    6) Transmits at a 3Hz frequency wind speed data via an NRF24L01 to a real-time wind speed display housed in an Ikea Ribba photo frame. The photo frame display shows current and historical wind speed data on ten 7-segment displays, together with a configurable 160 LED bargraph display taken from:
    www.hobbielekt...
    The outside Current/High/Low temperature (received from the 433MHz Base Station transmitter) is also alternately displayed on eight of the ten 7-segment displays for a 2.5 seconds duration every 12 seconds.
    The large font lcd clock display is based on code from
    • Video
    A 0.96" SSD1306 OLED/ATmega328 displays real-time wind speed (26 seconds history) on an auto-scaling scrolling graph based again on code (in the comments section) from:
    • График на OLED дисплее
    The OLED display also has 3 manually selectable screensaver modes (to extend the life of the display):
    a) A blank screen
    b) A starfield based on code from:
    • Starfield simulation
    c) A 'bouncing' text value of the outside temperature
    7) Outputs the raw anemometer pulses via an optocoupler such that they can be fed into an Arduino linked to a Raspberry Pi via USB (an alternative is to feed the anemometer pulses directly into a GPIO pin on the Raspberry Pi). A WebSocket server is run on the Raspberry Pi to stream real-time wind speeds to any modern web browser following the tutorial at:
    www.perrygeo.co...
    Thanks to Josh and Dennis for their help.

ความคิดเห็น • 9