Random brain dumps

Part 3 demonstrated how to communicate with the wind speed sensor. The next step is to create modules for reading from both sensors, and automatically repeating this task at a set interval. You will notice two project names in the details below, Lake Effect and Thunder Snow. These are the project names for the code running on the weather station (Lake Effect) and the code that will be running the API/UI for display (Thunder Snow). ... Read More
Part 2 ended without us being able to read the wind speed, let’s fix that! Communicating via SPI bus To communicate with the wind speed sensor, a binary payload must be sent to the MCP3008 chip over the SPI bus. The elixir_ale library will be used, as it supports SPI. The first step was to determine what channel the wind speed sensor is wired to. For my setup, that is channel 0, indicated by the top left most pin being used on the chip. ... Read More
Life happens but I am back with a part 2 update for the Raspberry Pi weather station powered by Elixir/Nerves! An analog mistake After the parts arrived, I began to pour over the schematics for each device. Only then did I realized the wind sensor was analog, but the Raspberry Pi did not support analog inputs. Digital vs analog is a topic I never thought of, being niave in the hardware world, but it was an easy fix. ... Read More
I’ve been using Nanobox for months now on my side projects, it is an amazing tool for dev(s)/teams that are solo or want to avoid devops work. One item that I miss from my devops days, was the ability to deploy based on a git tag. Being able to checkout the code that currently lives on production, at any time, saves a lot of headaches when it hits the fan. ... Read More
My house is at the top of a hill, and no weather stations are close enough to accurately determine the wind speeds. Being the nerd that I am, knowing the current and historical wind speeds is something I would love to play with. I am most interested in the wind speeds during storms. Being able to use Elixir to build this project makes it even more fun! Parts List I sourced parts from Adafruit and Amazon. ... Read More