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.
The data come from PredictWise and show the predicted outcome of the 2016 presidential election.
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.
It's easy to build on of your own!
- 1 Adafruit Feather Huzzah
- 1 Adafruit 80mm P252 analog panel
- 1 56k resistor
- A printout of the included meter face
- 1 USB cord + charger
Optional
- 1 lipo battery
- Some double-stick foam tape to stick things together
- 1 APA102 (or similar) RGB LED to indicate Wifi status
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.
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