TVShow S01E09 Prong Saver



Written, Directed and Squelched by TVMiller
Filmed Through Malaise and Droid Razr

Archive
HackADay - Act Now and Receive the Prong Saver for Only 0.00$
HackADay.io - Prong Saver
Imgur - Vacuum Prong Saver
Dr. Jack and Mr. O'Lantern



While carving a pleasant little pumpkin for the children to find glee and adulation, I accidentally swallowed a pumpkin seed. Laced with Nature's poison, I succumbed to it's decay as neurons tangled, my skin tensed, my blood boiled, I changed. I awoke much later to find this wretched thing before me, unaware of how I built it or why. I am cursed...or...

A rushed build for All Hallows Eve which left improvements like a more generous smoke tray, refined blower, water pump, ambient sound and FLAMES, aborted.

// Dr. Jack Mr. O'Lantern
// TVMiller

#include <Servo.h>
Servo jack;
Servo pour;

const int red = 4;
const int blue = 5;
const int fan = 2;

const int sensor = A0;
// Trigger Distance in CM
const int dist = 90;

void setup() {
jack.attach(7);
jack.write(0);
pour.attach(3);
pour.write(10);

pinMode(red, OUTPUT);
pinMode(blue, OUTPUT);
pinMode(fan, OUTPUT);

Serial.begin(9600);

digitalWrite(red, HIGH);
digitalWrite(blue, LOW);
delay(2500);
digitalWrite(red, LOW);
digitalWrite(blue, HIGH);
delay(2500);
}

void loop() {

jack.write(0);
pour.write(10);
digitalWrite(red, HIGH);
digitalWrite(blue, LOW);
digitalWrite(fan, LOW);
delay(20);
digitalWrite(red, LOW);
delay(40);
digitalWrite(red, HIGH);

long prox, proxcm;
pinMode(sensor, OUTPUT);
digitalWrite(sensor, HIGH);
delayMicroseconds(6);
digitalWrite(sensor, LOW);
pinMode(sensor, INPUT);
prox = pulseIn(sensor, HIGH);
proxcm = mtc(prox);
Serial.println(proxcm);

if (proxcm < dist) {
digitalWrite(red, LOW);
pour.write(75);
jack.write(130);
delay(100);
digitalWrite(fan, HIGH);
delay(2000);
digitalWrite(blue, HIGH);
delay(10000);
}

delay(100);
}

long mtc(long ms) {
return ms / 29 / 2;
}

Archive
HackADay.io - Dr. Jack and Mr. O'Lantern
HackADay.io - Halloween Hack List
Imgur - HackOWeen - Dr. Jack and Mr. O'Lantern
FollowTV (1)
Frequently shifting position in my laboratory viewing solution utilizing (3) ultrasonic sensors, (3) servos, an Arduino Uno and an excessive amount of averaging (see below) to lessen interference.
(Advice) Never buy HC-SR04 sensors, blech, double blech.



// FollowTV
// TVMiller

#include <Servo.h>

const int atpin = 2;
const int aepin = 3;
const int btpin = 4;
const int bepin = 5;
const int ctpin = 6;
const int cepin = 7;

// For Cycle
const int num = 15;
int i = 0;
// Limit Distance
const int limit = 5500;
int hold = 500;

long adur, atot, afix;
long bdur, btot, bfix;
long cdur, ctot, cfix;

Servo lfs; // Left Front Speaker
const int lfsout = 69;
const int lfsin = 92;

Servo mon; // Monitor
const int monl = 145;
const int monc = 91;
const int monr = 45;

Servo rfs; // Right Front Speaker
const int rfsin = 63;
const int rfsout = 78;

void setup() {
Serial.begin(9600);

pinMode(atpin, OUTPUT);
pinMode(aepin, INPUT);
pinMode(btpin, OUTPUT);
pinMode(bepin, INPUT);
pinMode(ctpin, OUTPUT);
pinMode(cepin, INPUT);

lfs.attach(8);
mon.attach(9);
rfs.attach(10);

digitalWrite(atpin, LOW);
digitalWrite(btpin, LOW);
digitalWrite(ctpin, LOW);

lfs.write(lfsin);
mon.write(monc);
rfs.write(rfsin);

}

void loop() {

atot = 0;
for (i=0; i <= num; i++){
digitalWrite(atpin, HIGH);
delayMicroseconds(10);
digitalWrite(atpin, LOW);
adur = pulseIn(aepin, HIGH);
if (adur > limit) {
adur = limit;
}
atot = atot + adur;
}
afix = atot / num;

btot = 0;
for (i=0; i <= num; i++){
digitalWrite(btpin, HIGH);
delayMicroseconds(10);
digitalWrite(btpin, LOW);
bdur = pulseIn(bepin, HIGH);
if (bdur > limit) {
bdur = limit;
}
btot = btot + bdur;
}
bfix = btot / num;

ctot = 0;
for (i=0; i <= num; i++){
digitalWrite(ctpin, HIGH);
delayMicroseconds(10);
digitalWrite(ctpin, LOW);
cdur = pulseIn(cepin, HIGH);
if (cdur > limit) {
cdur = limit;
}
ctot = ctot + cdur;
}
cfix = ctot / num;

Serial.print(afix);
Serial.print(" ");
Serial.print(bfix);
Serial.print(" ");
Serial.println(cfix);

if (afix < bfix && afix < cfix) {
// Position 2
lfs.write(lfsout);
mon.write(monl);
rfs.write(rfsin);
}
else if (bfix < afix && bfix < cfix) {
// Position 1 and 3
lfs.write(lfsin);
mon.write(monc);
rfs.write(rfsin);
}
else if (cfix < afix && cfix < bfix) {
// Position 4
lfs.write(lfsin);
mon.write(monr);
rfs.write(rfsout);
}
else if (afix == limit && bfix == limit && cfix == limit) {
// Position Open
lfs.write(lfsout);
mon.write(monc);
rfs.write(rfsout);
}

delay(hold);
}

Archive
HackADay.io - FollowTV
Imgur - imgur.com/gallery/XbKaLmx
@HackADay - twitter.com/hackaday/status/652597228264161280
Imgur Mouse
Coke Shot
Addictions are absolute. How perverse they are can depend on your character. Alcohol, heroin, feet. We here at TVMiller prefer the unhealthy consumption of Coca~Cola. When delving deeper in to methodology, we all quickly learn two superior qualities; the aluminum can and the short brief intensity (the ahh) of an initial taste. We attempted to confine those elements in to a machine that sources three methods of activation; a button, a remote control and Jacob, our developing artificial intelligence.





// CokeShot
// TVMiller

#include <IRremote.h>

int RECV_PIN = 11;
IRrecv irrecv(RECV_PIN);
decode_results results;

int red = 8;
int green = 9;
int pour = 10;

int timepour = 10000;
int timeend = 3000;

void setup() {

Serial.begin(9600);

pinMode(red, OUTPUT);
pinMode(green, OUTPUT);
pinMode(pour, OUTPUT);

irrecv.enableIRIn();

}

void loop() {

digitalWrite(red, LOW);
digitalWrite(green, LOW);
digitalWrite(pour, LOW);

// Jacob
if (Serial.available()) {
char ser = Serial.read();
switch (ser) {
case 'C':
coke();
break;
}
}
// Remote (Any)
else if (irrecv.decode(&results)) {
coke();
irrecv.resume();
}

}

void coke() {
digitalWrite(pour, HIGH);
digitalWrite(green, HIGH);
delay(timepour);
digitalWrite(pour, LOW);
digitalWrite(green, LOW);
digitalWrite(red, HIGH);
delay(timeend);
}

Archive
HackADay.io - Coke Shot
Github - Arduino IRRemote Library
Resistance Theory - Wave Cube


Miscellaneous > Resistance Theory
Kama Sutra (ish) - Mongolian BBQ Position
Any Way Door (1/12 Scale)
Imagine a door with out boundaries. Subtly architectural fluff, this scaled down due to poverty Any Way Door allows the opener the discretion of direction. This featured premise model utilized a series of 22 gauge wound electromagnets sequenced through a Seeed Studio Relay Shield atop an Arduino Uno triggered by capacitive sensors allowing for locking and unlocking.


Archive
HackADay - Making A Door That Opens Both Ways
HackADay.io - Any Way Door
Arduino - Capacitive Sensor Library
Entity Tax
The United States of America internal revenue code has become an incomprehensible lesion on any class' wallets. Numerous dynamics over lapped upon another levy fees upon the same dollar several fold while in the same owner's possession. Alternatives such as the much hailed flat tax is scorned by public officials as inadequate. It is not when both government spending is best regulated and when it is applied equally upon the citizen.

A commonly perceived flat tax (for example; 15% of income) would not be of equal application. Say a middle income male, gets up in the morning, drinks coffee, drives to work in a 35 minute commute, takes lunch, departs work, dines in a moderate restaurant, returns home and dozes off before the television. Another male of an upper bracket of income, gets up the morning, drinks coffee, drives to work in a 35 minute commute, takes lunch, departs work, dines in a higher end restaurant, returns home and goes to bed with a reasonably priced prostitute. The middle income male's monthly income is 2,500$ while the upper income male earns 5,000$. Subsequently, the middle income male would pay 375$ in taxes while the other, 750$ for the very same experience and utilization of government taxed resources. Why should a person with a greater skill or means, who has earned more, simply pay more because they have more wealth? That is a penalty for success.

Here we propose a point based system called the Entity Tax, with a flat tax fundamental as to tax only income. The notion is that taxes are applied to resources a citizen utilizes and should be comparative to the amount of these resources utilized by the citizen. In the chart below, you will see how each classification earns a specific percentage point based on the parameters followed.




All classifications are defined and cataloged based on the departments of registration governing the said classification. Aside from business ownership (Department of Commerce DOC), all other categories of data is collected by the Department of Registry (DOR) and vetted by the Department of Treasury (DOT). Employers, investment holders or business registrants are responsible for segregating and submitting taxes of employees or owners upon release of income. Updated Entity Tax points can be obtained by submitting a request to the DOR. The unemployed are not responsible for taxes during this time yet will be reviewed after every 100 days delinquent if DOR shows entity values (points). Penalties for failure for submitting incorrect or missing taxes will result in point penalties upon the business owner and/or tax payer for a defined time period.




A hidden attribute to the modeled point distribution is to discourage excess. Auditing of income may be suggested at any time by the DOT. Foreign workers will be predesignated with 10 points during the extend of their stay while employed. The proposed Entity Tax above is a preliminary concept and is subject to alterations.
Resistance Theory - (2D Rendering) Conveyance