Skip to content

The only thing you need to watch for the upcoming presidential election

Notifications You must be signed in to change notification settings

xxv/fuckedometer

Repository files navigation

The Fuckedometer

Please see Fuckedometer.com for more details.

How fucked are we likely to be? This open source wifi-enabled IoT device tells you all you need to know about the upcoming presidential election. Keep it by your desk as a gentle reminder that (at least as of this writing) things are not yet as fucked as they could be.

Watch it in action!

a photo of the meter

The data come from PredictWise and show the predicted outcome of the 2016 presidential election.

Usage

When you first turn on your Fuckedometer, its status light should be blinking white. From your computer, connect to the Fuckedometer wifi access point. When you are connected, open a web browser and visit

http://192.168.4.1/

From there, follow the directions to select the appropriate access point and enter your wifi password. The Fuckedometer will automatically connect to this access point going forward.

Building One

It's easy to build on of your own!

Ingredients

Optional

  • 1 lipo battery
  • Some double-stick foam tape to stick things together
  • 1 APA102 (or similar) RGB LED to indicate Wifi status

Recipe

Flash the ESP8266 with software included in this repository. I used Platform.io to compile it, but you should be able to use any number of tools fairly easily.

Connect the ground of the panel to the Huzzah's ground pin.

Connect the panel's positive lead to pin 4 on the Huzzah using the resistor in series.

Connect the APA102 to the Huzzah. APA102 Clock goes to SCK (pin 14). APA102 Data goes to Huzzah MOSI (pin 14). APA102 Power goes to 3v, and ground to ground.

Depending on the resistor size, you may need to modify METER_OFFSET so that it ranges properly.

License

The software in this repository is licensed under the GPL version 3 (GPLv3).

The artwork in this repository is licensed under the Creative Commons BY-SA 4.0 license.

Donkey image CC-BY Flickr user DonkeyHotey https://www.flickr.com/photos/donkeyhotey/6262125702

About

The only thing you need to watch for the upcoming presidential election

Resources

Stars

Watchers

Forks

Packages

No packages published