Random brain dumps

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 Rasberry 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 Rasberry 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
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
Learning a new programming language is an investment in time and money (if you purchase learning material). Sometimes a job forces you to learn a new language in order to be productive and to do your job. My personal preference is to learn a new language without the pressures of instant productivity, this is the route I took when I wanted to learn Elixir. Attempt #1 I first attempted to learn Elixir in Q4 of 2015, but my schedule (lack there of) didn’t allow me the time I needed for deep learning. ... Read More
If you use a linux distribution which cannot install .deb or .rpm packages, Rescuetime appears to be unusable. Solus Linux cannot install either of those packages, and the developer I reached out to at Rescuetime didn’t quite know why I wanted a .tar.gz (or insert your fav compression algo here). I decided to find out if the binaries contained within the .deb file could run on a Solus Linux system. ... Read More