Many thanks to randofo and his twittering office chair from which some, or almost all, of this was based.
Or if you just want to see the tweets, go here:
note: this is for April Fools Day. After that, moving on from toilets!
Step 1: What's to Report?
The other information that we can get is from the toilet paper usage. Available data from here is the # of times it was used in a session and the total # of squares used in a session. From this we can get a pretty good idea of what happened.
All right, so how to get the data? Magnets, baby.
Step 2: A Certain Attraction
Less and less toilet paper is on the roll after each turn so the # of squares of toilet paper that each revolution represents will go down in increments. On our rolls of toilet paper there are 3.4 squares in a revolution in the beginning and 1.5 at the end. There are about 200 revolutions in the rolls. A simple bit of math and we have a good idea for how many are on each revolution.
r2 = new rotation count
r1 = previous rotation count
so, squares used in current session = (3.4 - r2 * .00475) * r2 - (3.4 - r1 * .00475) * r1
Step 3: Timing Out and Adding Up
Step 4: Reset!
After a full roll has gone through, a message is sent to my own twitter account (I'm not telling) letting me know. When I can I sneak back in, place a new roll with a magnet inside and hit the reset button to start the value for each revolution all over again.
This sounds awful, but there's only about a dozen people in my office. It's not that bad and I'm only doing this for a day or two.
Step 5: Values!
This is easiest to show in a table. Wherever the session lands in this table, that's the message that gets pushed to twitter.
Here's an early version of the table for comments to be matched up with the data. This will likely change soon.
Step 6: Notes: Stuff
- SquidbeeTX/RX pair
- reed switch
- neodymium magnets
- hookup wire
- momentary switch
- twitter account (free!)