ExWindspeed

Sensor is available for purchase from Adafruit. If using with a Raspberry Pi a MCP3008 is required for analog -> digital conversion, also available from Adafruit.

Installation

If available in Hex, the package can be installed by adding ex_windspeed to your list of dependencies in mix.exs:

def deps do
  [
    {:ex_windspeed, "~> 0.1.0"}
  ]
end

Then add :ex_windspeed to application/0 to start the supervision tree.

def application do
  [applications: [:ex_windspeed]]
end

Wind speed sensor specifications

Wiring for use with a Raspberry Pi

Parts required:

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/ex_windspeed.