"Wait, we can refuse service?!" #Starbucks, probably. #SarahSanders #RedHen
19:56:12 96 018
Miter
TVShow S02E18X61 Arduino Umpire Mask #OneDayBuild
It is time for the MLB to join the modern era by translating the often unclear umpire muttering and connecting them to the rest of us at home. In our first #OneDayBuild comes the Arduino Umpire Mask that delivers an immediate visual response to that crucial life or death call.

Not a software designer, so simply close your eyes and imagine that the Counter App is also IoT and seamlessly updating several resources.

Shout out to umpires young and old who wear these bulbous masks; holy cripes!
Shout out to Leslie Nielsen -- you are missed.



Arduino Code
// Arduino Umpire Mask
// TVMiller

#include <Adafruit_NeoPixel.h>

// Neopixel Data Pins
#define PINSTRIP 3
#define PINPIXEL 4

// LED Count and Setup
Adafruit_NeoPixel strip = Adafruit_NeoPixel(15,
PINSTRIP, NEO_GRB + NEO_KHZ800);
Adafruit_NeoPixel pixels = Adafruit_NeoPixel(6,
PINPIXEL, NEO_GRB + NEO_KHZ800);

// Strike Count
int strikes = 0;
// Ball Count
int balls = 0;

// Bluetooth Data
char call = 0;

void setup() {

Serial.begin(9600);

strip.begin();
strip.show();
pixels.begin();
colorWipe(strip.Color(255, 0, 0), 50);
}

void loop() {

// Clear Strip
colorWipe(strip.Color(0, 0, 0), 50);

if (Serial.available() > 0) {
call = Serial.read();
if (call == '1') {
colorWipe(strip.Color(255, 0, 0), 50);
strike();
delay(1000);
}
else if (call == '2') {
colorWipe(strip.Color(0, 255, 0), 50);
ball();
delay(1000);
}
else if (call == '3') {
reload();
}
}
}

void strike() {
if (strikes == 0) {
// Red Strike Count
pixels.setPixelColor(5, pixels.Color(255, 0, 0));
strikes = 1;
}
else if (strikes == 1) {
pixels.setPixelColor(4, pixels.Color(255, 0, 0));
}
pixels.show();
}

void ball() {
if (balls == 0) {
// Green Ball
pixels.setPixelColor(0, pixels.Color(0, 255, 0));
balls = 1;
}
else if (balls == 1) {
pixels.setPixelColor(1, pixels.Color(0, 255, 0));
balls = 2;
}
else if (balls == 2) {
pixels.setPixelColor(2, pixels.Color(0, 255, 0));
}
pixels.show();
}

void reload() {
colorWipe(strip.Color(255, 0, 0), 50);
pixels.setPixelColor(0, pixels.Color(0, 0, 0));
pixels.setPixelColor(1, pixels.Color(0, 0, 0));
pixels.setPixelColor(2, pixels.Color(0, 0, 0));
pixels.setPixelColor(4, pixels.Color(0, 0, 0));
pixels.setPixelColor(5, pixels.Color(0, 0, 0));
strikes = 0;
balls = 0;
pixels.show();
}

void colorWipe(uint32_t c, uint8_t wait) {
for (uint16_t i = 0; i < strip.numPixels(); i++) {
strip.setPixelColor(i, c);
strip.show();
delay(wait);
}
}

Archive
HackADay.io - Arduino Umpire Mask
TVShow S02E17X60 Home Depot
An abandoned Home Depot commercial from 2003(g)?


TVShow S02E16X59 ASMR Oncologist
Cancer is a serious diagnosis.
Allow Dr. Miller to trigger you in to a comforted demise.


The medicinal knowledge displayed is on par with other ASMR role play videos. Do not employ this method of advanced procedure to diagnosis your self.

(Notation)
Admittedly poorly paced and toned for a proper role play of an ASMR role play.

(Observation)
While constantly reminded how much it displeases me to be on camera, some lighting angles shove it in, deep, and break it off inside. I am not half asleep, merely victim to biology and misplaced fluorescence.
TVShow S02E15X58 Seagully
Clint Eastwood (Malpaso Productions) presented viewers with opposing perspectives with Flags of our Fathers and Letters From Iwo Jima. Now comes his follow up to the 2016 Tom Hanks film Sully...


TVShow S02E14X57 ASMR Wood Shop
TVShow S02E13X56 Arduino Beatdet
This 4 channel Arduino Beatdet (bidet) rocks your spots off. Select a beat on your phone and the Beatdet will jam out while it cleans you out. The Pirate Radio Bellagio of bidets. Authentic streaming music. Beatdet Pro allows you to choose any track on your phone to wipe with.



Notable thanks to MakerBar in Hoboken, New Jersey

It should be noted that this, as are most of our projects, a prototype, and surely demands several refinements; for example, superior nozzles for a more effective spray.

Arduino Speaky
// Arduino Beatdet Bidet | TVMiller
// MSGEQ7 Script | J Skoba
// WTV020-SD-16P | Diego J. Arevalo

#include <Servo.h>
#include <Wtv020sd16p.h>

// Servo
Servo sprayarm;
int pos = 45;

// Music Player
int resetPin = 14;
int clockPin = 15;
int dataPin = 16;
int busyPin = 17;
Wtv020sd16p wtv020sd16p(resetPin, clockPin, dataPin, busyPin);

// EQ Pins
int analogPin = A2;
int strobePin = 2;
int resetPin = 3;
int spectrumValue[7];

// LED Pins
int one = 8;
int two = 9;
int thr = 10;
int fou = 11;

// LED Variables
int ledone = 0;
int ledtwo = 0;
int ledthr = 0;
int ledfou = 0;

// Pump Pins
int pumpo = 4;
int pumpt = 5;
int pumph = 6;
int pumpf = 7;

// Pump Variables
int pmpone = 0;
int pmptwo = 0;
int pmpthr = 0;
int pmpfou = 0;

// BlueTeethes
char inbound = 0;

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

wtv020sd16p.reset();

sprayarm.attach(12);
sprayarm.write(pos);

pinMode(analogPin, INPUT);
pinMode(strobePin, OUTPUT);
pinMode(resetPin, OUTPUT);
analogReference(DEFAULT);

pinMode(one, OUTPUT);
pinMode(two, OUTPUT);
pinMode(thr, OUTPUT);
pinMode(fou, OUTPUT);

pinMode(pumpo, OUTPUT);
pinMode(pumpt, OUTPUT);
pinMode(pumph, OUTPUT);
pinMode(pumpf, OUTPUT);

digitalWrite(resetPin, LOW);
digitalWrite(strobePin, HIGH);
}

void loop()
{

// Clear Audio
wtv020sd16p.stopVoice();

// Wait for Track
if (Serial.available() > 0)
{
// Which Track Number
inbound = Serial.read();
if (inbound == '1') {
// Track 1
armout();
wtv020sd16p.playVoice(0);
spray();
wtv020sd16p.stopVoice();
armin();
}
else if (inbound == '2') {
// Track 2
armout();
wtv020sd16p.playVoice(1);
spray();
wtv020sd16p.stopVoice();
armin();
}
else if (inbound == '3') {
// Track 3
armout();
wtv020sd16p.playVoice(2);
spray();
wtv020sd16p.stopVoice();
armin();
}
}

}

// Arm Out
void armout() {
for (pos = 45; pos <= 97; pos += 1) {
sprayarm.write(pos);
delay(15);
}
}

// Arm In
void armin() {
for (pos = 97; pos >= 45; pos -= 1) {
sprayarm.write(pos);
delay(15);
}
}

void spray() {
// Loop 15 Seconds
for (int t = 0; t < 5000000, t++) {

// EQ Reset
digitalWrite(resetPin, HIGH);
digitalWrite(resetPin, LOW);

// EQ Store Values and Print
for (int p = 0; p < 7; p++)
{
digitalWrite(strobePin, LOW);
delayMicroseconds(30);
spectrumValue[p] = analogRead(analogPin);
// Serial.print(" ");
// Serial.print(spectrumValue[p]);
digitalWrite(strobePin, HIGH);
}
// Serial.println();

// Map Audio to LED and Pumps
ledone = spectrumValue[0];
// Constrain Required to Limit Results
ledone = constrain(ledone, 400, 600);
// Lower Power to Lower Elevation
ledone = map(ledone, 400, 600, 0, 190);
analogWrite(fou, ledone); // 0
analogWrite(pumpf, ledone); // 0
// Serial.print(ledone);
// Serial.print(" ");

ledtwo = spectrumValue[1];
ledtwo = constrain(ledtwo, 550, 600);
ledtwo = map(ledtwo, 550, 600, 0, 190);
analogWrite(one, ledtwo); // 1
analogWrite(pumpo, ledtwo); // 1
// Serial.print(ledtwo);
// Serial.print(" ");

ledthr = spectrumValue[4];
ledthr = constrain(ledthr, 130, 160);
ledthr = map(ledthr, 130, 160, 0, 190);
analogWrite(two, ledthr); // 2
analogWrite(pumpt, ledthr); // 2
// Serial.print(ledthr);
// Serial.print(" ");

ledfou = spectrumValue[6];
ledfou = constrain(ledfou, 110, 150);
ledfou = map(ledfou, 110, 150, 0, 190);
analogWrite(thr, ledfou); // 4
analogWrite(pumph, ledfou); // 4
// Serial.print(ledfou);
// Serial.println();

}
}

Archive
HackADay.io - Arduino Beatdet
DC Motor Control - https://learn.adafruit.com/adafruit-arduino-...motors/breadboard-layout
MSGEQ7 - http://nuewire.com/info-archive/msgeq7-by-j-skoba/
BlueTooth - http://www.allaboutcircuits.com/project ... our-phone/
WTV020SD Module - http://electronics.stackexchange.com/qu ... 020sd-mini
MIT App Inventor - http://ai2.appinventor.mit.edu/
MakerBar Sign
The while awaiting for the 3D printer to complete the 1 hour and 15 minute run on a series of minute nozzles for another developing project, I had decided in my final days with in the MakerBar space to create a much needed front door sign utilizing the dreaded LEDs I have come to both despise and support...because ooh and ahh. CNC MDF RGB OMG Sigh.



Featuring "I Have No Idea" by Suzy Sellout (Kathrine Becker)

Archive
HackADay.io - MakerBar Sign
MakerFaire MakerBar Arduino Candy Box
Last (last-last) minute build for the MakerBar booth at NYC MakerFaire. Swipe for candy, the closer your hand, the angrier the box becomes (vibration) then proceeds to open, revealing an unexpected robot arm (false-bottom) that presents you a with piece of candy. All materials were constructed from MDF by way of CNC.



Notation
Limited time did not permit me to complete the build. A reloading system was to be applied to the under side; it was alternatively reloaded by hand as the effect was slow regardless.

Featuring "Lois' Lament" by Suzy Sellout (Kathrine Becker)

Arduino Gibberish
// False Bottom Arduino Candy Box
// TVMiller

#include <Stepper.h>

// Stepper
const int stepsPerRevolution = 200;
Stepper myStepper(stepsPerRevolution, 8, 9, 10, 11);

// Stepper Limits
const int topstop = 6;
int topstate = 0;
const int botstop = 5;
int botstate = 0;

// Stepper State
int posstate = 0;

// Sensor Pins
const int trigPin = 4;
const int echoPin = 3;

// Vibration
int motorPin = 12;
int vibration = 0;

void setup() {
// Stepper Speed - Ugh
myStepper.setSpeed(210);

// Stepper Limiters
pinMode(topstop, INPUT);
pinMode(botstop, INPUT);

// Vibration Motor
pinMode(motorPin, OUTPUT);

Serial.begin(9600);
}

void loop() {
// Sensor Polling
long duration;
pinMode(trigPin, OUTPUT);
digitalWrite(trigPin, LOW);
delayMicroseconds(2);
digitalWrite(trigPin, HIGH);
delayMicroseconds(10);
digitalWrite(trigPin, LOW);
pinMode(echoPin, INPUT);
duration = pulseIn(echoPin, HIGH);
Serial.println(duration);

// Vibration Motor Map
vibration = map(duration, 300, 800, 255, 0);
analogWrite(motorPin, vibration);

// Trigger Candy
if (duration < 300) {
if (posstate == 1) {
up();
}
}
delay(100);
}

// Stepper To Limit
// IF button is LOW then run
// IF button is HIGH then stop
void up() {
while (botstate == LOW) {
botstate = digitalRead(botstop);
myStepper.step(-1);
posstate = 0;
}
// Delay then Return
delay(2000);
down();
}

void down() {
while (topstate == LOW) {
topstate = digitalRead(topstop);
myStepper.step(1);
posstate = 1;
}
}

Archive
HackADay.io - MakerFaire MakerBar Arduino Candy Box
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