TVShow S02E12X55 Arduino Water Boarding
A lie is the sin man tells in fear. To seek the truth, we must aide the sinner in crossing a threshold to find deliverance. Problem is, I am binge watching Ally McBeal Season 4, so allow us to automate the process. Attach sensors to said victim...er...suspect and allow our computer (Jacob) and an Arduino Uno to decipher if they are telling the truth or require some, inspiration.


A notation; the quality of this video is sub-par because I often shoot on poverty driven video equipment, namely an elderly Droid Razr. Forgive the potato.

Arduino Linguistics
// Arduino Water Board @TVMiller

#include <Servo.h>

Servo spigot;
Servo rightarm;

// Servo Position
int spigpos = 45;
int armpos = 15;

// Resting State
float lieset = 0;
int lierec = 0;
int lietotal = 0;
int lieavg = 0;
int lienew = 0;
// Variance
int spvar = 20;
int liepin = A0;

// Valve
int valve = 8;

// LEDs
int blue = 13;
int green = 12;
int red = 11;

void setup() {

spigot.attach(9); // Spigot
rightarm.attach(10); // Rag Arm

pinMode(valve, OUTPUT);
pinMode(blue, OUTPUT);
pinMode(green, OUTPUT);
pinMode(red, OUTPUT);

Serial.begin(9600);

// Reset Position
spigot.write(45);
delay(1500);
rightarm.write(15);
digitalWrite(valve, LOW);

// Obtain Resting State -- Calibration
for (int x = 0; x < 100; x++) {
lieavg = analogRead(liepin);
lietotal = lietotal + lieavg;
}
lieset = round(lietotal / 100);
}

void loop() {

Serial.println(analogRead(liepin));

digitalWrite(red, LOW);
digitalWrite(green, LOW);
digitalWrite(blue, HIGH);

// Jacob Communication
if (Serial.available()) {
char ser = Serial.read();
switch (ser) {
case '1':
detect();
break;
}
}

delay(20);
}

void detect() {

// Query GV Response
for (int x = 0; x < 50; x++) {
lieavg = analogRead(liepin);
lietotal = lietotal + lieavg;
Serial.println(analogRead(liepin));
delay(2);
}
lienew = round(lietotal / 50);

// Lie or Truth?
// Jacob Polls Serial Response
if (lienew + spvar > lieset || lienew - spvar > lieset) {
Serial.println("Lie");
torture();
}
else if (lieset > lienew + spvar || lieset > lienew - spvar) {
Serial.println("Truth");
truth();
}
else {
Serial.println("Unclear")
detect();
}
}

void torture() {

digitalWrite(red, HIGH);
digitalWrite(green, LOW);
digitalWrite(blue, LOW);

for (armpos = 15; armpos <= 85; armpos += 1) {
rightarm.write(armpos);
delay(15);
}
for (spigpos = 45; spigpos <= 90; spigpos += 1) {
spigot.write(spigpos);
delay(15);
}
delay(1500);
digitalWrite(valve, HIGH);
delay(10000);
digitalWrite(valve, LOW);
spigot.write(45);
delay(1500);
rightarm.write(15);
}

void truth() {

digitalWrite(red, LOW);
digitalWrite(green, HIGH);
digitalWrite(blue, LOW);

}

Archive
HackADay.io - https://hackaday.io/project/14813-arduino-water-boarding
Maker Rage
Never firsts. Never is the man or woman leveraged slot A in to slot B with such perfection as to stand nobly after, nod, and immediately envision a future where every hand confidently holds their creation. A more astute reality of invention is the tongue pressing against clenched teeth, eyes closed with a breath counted as a tool or unseated component is firmly set upon a table -- or floor depending on the passing hour or day invested.

Unspoken, as consequence of a more emotionally vain culture, is the anxiety one inevitably and innately encounters when fabricating from scratch. Never firsts, as working through our impatience and frustrations are several incarnations of failure, incongruity and incompatibility.

Such is salvation when discovering the simplicity of a loose wire, and while we under breath scorn our selves for such an uninspired error, it is elation to ease our discomfort from the maker-rage that swelled with in.

Modern conditioning has us damning the man or woman who shows crazed temperament as though it were not an intuitive biological plucking of strands. Never first were you to be looked upon with unease as you squabbled with sudden incarnations of persons who as well have no answer as to the over sight. Betrayed by your own imagination, it is then in this moment of grief you take note of your surroundings, hoping that no one took notice of your momentary fancy.

Well it is them who should be damned. History is littered with the fanatical who birthed inventions that ushered mankind in to new eras of reason. Glancing at documents or hearing dictum on great innovators like Leonardo da Vinci, neglect the unwritten moments of pacing and discontent. It is not unnatural to unearth rage by the very principle that rage exists. It is the wisest of us who embrace it.

As your blood pressure elevates, your brain becomes more oxygenated, neurons hasten in abundance and muscles tense and relieve. Succulent with this higher state, you are refined. Researchers at the University of British Columbia has found that aerobic exercise proliferates the size of the hippocampus (http://www.health.harvard.edu/blog/regu ... 1404097110). Managed tension in the conditions of making are no less than micro-exertions.

No longer rebuff your self from extinguishing that tool or fracturing that formed part, for the very defiance and resistance of this natural progression of making is knowingly unhealthy. Never first were you to shatter objects as an undertaking to achievement. The very endeavour it's self has become an employer's prescription. (http://www.dailymail.co.uk/news/article ... nwind.html)

Maker-rage is inescapable. Apply it with confidence. The fearlessness that drove you to the state to create the unseen must be pure and absolute other wise your methodology becomes polluted with platitudes. Wrong is what chauffeurs reason to right.

Archive
HackADay.io - Maker Rage
TVShow S02E10X53 Arduino Licorice Launcher
Voice Activated
Room Tracking
Catapult Launching
Magazine Reloading
Arduino Licorice Launcher



NATO Red Vines Original Standard Issue

Arduino Cuhode
// Arduino Licorice Launcher @TVMiller
// RF Tracking @ Warner K. robowarner.com

#include <EEPROM.h>
#include <Servo.h>

// Centering
// Too small adjusts too frequently
// Too large will pass over signal
#define buffering 26
// Output Pin
#define ANT_WAVEFORM_OUT 8
// Input Pin
#define SPEAKER_FROM_WALKIETALKIE A1
// Calibration Pin
#define CALIBRATE_IN 11

// Variables
uint16_t caliset = 0;
uint16_t voltage = 0;
int state = 1;

// Servo Assignment
Servo turn;
int turnpin = 6;
Servo loader;
int loaderpin = 9;
Servo fire;
int firepin = 10;
Servo arm;
int arm = 11;

// LED Pins
int red = 3;
int blue = 4;

void setup() {

analogReference(DEFAULT);

turn.attach(turnpin);
loader.attach(loaderpin);
fire.attach(firepin);
arm.attach(armpin);

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

digitalWrite(red, LOW);
digitalWrite(blue, LOW);

Serial.begin(9600);

delay(6000); // Allow Power Up

pinMode(ANT_WAVEFORM_OUT, OUTPUT);
pinMode(SPEAKER_FROM_WALKIETALKIE, INPUT);
pinMode(CALIBRATE_IN, INPUT);
digitalWrite(CALIBRATE_IN, HIGH);

// Read EEPROM
byte HByte = EEPROM.read(1);
byte LByte = EEPROM.read(2);
caliset = word(HByte, LByte);
Serial.print("EEPROM Calibration number: ");
Serial.println(caliset);

// Calibration Check and Delay
// Aim Receiver and Clear Area
if (digitalRead(CALIBRATE_IN) == LOW) {
delay(10000);
}
}

void loop() {

if (state == 1) {
// Engage Licorice Weapon
digitalWrite(red, HIGH);
// Trigger Position Open
fire.write(45);
delay(1000);
// Arm Launcher
arm.write(180);
delay(1500);
// Lock Trigger
fire.write(90);
// Load Launcher
loader.write(180);
delay(330);
// Stall Position
loader.write(88);
// Remove Arm
arm.write(40);
// Licorice Launcher is Hot
digitalWrite(red, LOW);
digitalWrite(blue, HIGH);
state = 2;

} else {
// Hold for Command from JACOB
if (Serial.available()) {
char ser = Serial.read();
switch (ser) {
case 'L':
load();
break;
case 'F':
fire();
break;
}
}
}
}

void load() {
// Load Launcher
loader.write(180);
delay(330);
loader.write(88);
}

void fire() {

// Antenna Switching Waveform
digitalWrite(ANT_WAVEFORM_OUT, HIGH);
delay(1);
digitalWrite(ANT_WAVEFORM_OUT, LOW);
delay(1);
digitalWrite(ANT_WAVEFORM_OUT, HIGH);
delay(1);
digitalWrite(ANT_WAVEFORM_OUT, LOW);
delay(1);
digitalWrite(ANT_WAVEFORM_OUT, HIGH);
delay(1);
digitalWrite(ANT_WAVEFORM_OUT, LOW);
delay(1);
digitalWrite(ANT_WAVEFORM_OUT, HIGH);
delay(1);
digitalWrite(ANT_WAVEFORM_OUT, LOW);
delay(1);

// Read Speaker Voltage
voltage = analogRead(SPEAKER_FROM_WALKIETALKIE);

// If in Calibration Mode
// Store to EEPROM
if (digitalRead(CALIBRATE_IN) == LOW) {
caliset = voltage;
byte HByte = highByte(caliset);
byte LByte = lowByte(caliset);
EEPROM.write(1, HByte);
EEPROM.write(2, LByte);
delay(5000);
endprogram();
}

// Stall Turning
if (voltage > (caliset - buffering) && voltage < (caliset + buffering)) {
// Fire
launch();
}
// Turn Left
if (voltage > (caliset + buffering)) {
turn.write(180);
delay(15);
Serial.print("In, Cal\t");
Serial.print(voltage);
Serial.print("\t");
Serial.println(caliset);
// Return Cycle
fire();
}
// Turn Right
if (voltage < (caliset - buffering)) {
turn.write(0);
delay(15);
Serial.print("In, Cal\t");
Serial.print(voltage);
Serial.print("\t");
Serial.println(caliset);
// Return Cycle
fire();
}

delay(5);
Serial.print("In, Cal\t");
Serial.print(voltage);
Serial.print("\t");
Serial.println(caliset);
}

void launch() {
// Release Trigger
fire.write(45);
delay(1000);
// Reset
state = 1;
break;
}

void endprogram() {
Serial.print("Calibrated to: ");
Serial.print(caliset);
loopy:
goto loopy;
}

Notable thanks to hackerspace @MakerBar in Hoboken, New Jersey.

Additional notable thanks to @RoboWarner for the RF tracking schematics and code.

Notation
Indeed, this should have implemented a WIFI module how ever at the moment I did not have a MKR1000 on premises, thus the resulted Uno and PC connected USB. Should a MKR1000 be made available, it would be altered to suit. In conclusion, pft.

Archive
HackADay - Licorice Launcher Locks on to your Voice
HackADay.io - Arduino Licorice Launcher
HackerSpace - MakerBar.com
RF Tracking - Radio Homing Robot DIY by RoboWarner
Personalized Golf Tees

Collaborating a small gift for the parental units, experimenting with golf tee variables and exploiting a 3D printer I had abandoned because, CNC, am I right?!, and...no, no that is it.

Two of the first set of tees are initials while the third is an experiment of a pointer tee. There are numerous more designs that will be added as we go along, including the obligatory HackADay golf tee. Stay tuned.


Archive
HackADay.io - Personalized Golf Tees
Camera Spy Ring
One must ponder as to why smart phone camera lenses are not placed in the most user ergonomic position. The temporary novelty solution? Camera Spy Ring from Hasbro (not from Hasbro). Sneak a snap in style. As a side, this was in reality a test print on the SeeMeCNC Delta Orion 3D Printer for which I have had little experience with, prior to developing pending project parts.




Archive
HackADay.io - Camera Spy Ring
A Fair Public Summation of TVMiller
Realm of Gauhd - Tribunal Round (Concept)


Merely as a time consuming notation to self, this sliced-sketched concept idealizes the eventual place of public discourse, invitation only, publicly televised, for the Realm of Gauhd monarchy to hold a tribunal-in-the-round where the King or Queen is addressed above by the citizens and officials of the realm to where one conveys issues of importance and resolves matters brought to question. The structure is a concave arena hovering over a grass flooring, standing room only. Natural light, natural elements and structural acoustics to preserve a more intimate non-electric form of communication. Missing are the stairwells; no elevators and rest rooms are exterior of the premises.
Resistance Theory - Thought Provoking
All too (far too) often we have been faced with hobbling down time, which while frustrating, has allowed the mind to wander in to dissection of the great riddles of our existence. Resistance Theory has been modeled during such inactivity and all too (far too) often it instigates an even more troubling cerebral dialog. For some time, we have been hindered by an unaccounted thought that boggles both the Standard Model (theory) and Resistance Theory's refinement.

Imagine you are standing on a street corner. Across the street is your friend. He is a piece of shit but that matters little in this thought experiment...but he is. As you look diagonally across the street, you see the opposite corner occupied by a light post, fire hydrant and stop sign. Light has refracted from these objects (Standard Model...sigh) and traveled in all directions and especially to with in your eye. The minute path is remarkable alone, to have been emitted by a point as consequence of an incoming point (Standard Model...blech) to then illuminate this object to both you and your friend across the street. Engaging this notion, if you were to stand at any point from where you stood to directly before the object, you would receive the same information, thus between where you currently stand and the object is an occupied space of particle/wave of that object.


Simultaneously, your friend is peering across the street at objects similar. In the same premise, these objects occupy a space in every atomic distance between the object and his piece of shit self. Based on the similar perpendicular positions of you relative to your friend, the transmission of information must collide. On a grander scale, the object observable in all directions then must collide with any and all opposing observations.

This is where some one who argues such things in their mind begins to feel churning in their stomach, acid frothing, teeth clenching -- how can there be such an abundance of material transmitted that chance passage through gaps allows vision of these objects, which is then contradicted by the very necessity for an abundance of material -- or how can two diverging points retain the information to dictate a reliable reproduction, requiring a third point to absorb and resubmit several simultaneous pieces of information -- or how does a wave (Resistance Theory...eh) of varying degrees occupy several states to also permit the travel of several relative states -- or et cetera.


Sight is where I find the greatest divergence of allowance for the Standard Model or similar obscure theorems...though I may not lay claim to any solution with any assurances, either. The next time you observe a spot light from a mile away, pointing towards the sky, ponder how that minute stream of light arrives upon your location and then expound the realization that it does so in every direction, in all directions. The volume of altered material occupying a space is unfathomable from one mere point, disregarding the unmeasurable volume of points perpendicular to this path.
Botany Bay II Mongolian BBQ
Setl Hotel - Exterior (1)