The metropolitan in it's natural habitat; unaware, oblivious, purposefully deafened and subsequent prey. To increase perception thus safety, we wed an Arduino Nano and ultrasonic sensor to regulate volume to proximity to some one (thing) behind you; easily deactivated per environment (in-line slide switch) and rechargeable (3XCR2032). Beyond this proof of concept, intention for apparel or accessory (i.e. purse strap, back pack) embedding is ideal.
(Disclaimer) Vije Miller is NOT a metro-any-damn-thing!
This prototype of a prototype is a mono-version. A stereo version would merely require dual channels (pots). Aptly, imagine if you will, you plug your head phones in to your purse strap which is embedded with a Metrophone with bluetooth that streams to your smart phone...or or or you could PAY ATTENTION! Sorry not sorry.
Arduino Sketch McSketcherson
// MetroPhones // Vije Miller
#include "SPI.h"
// Chip Select Pin int csp = 10;
// Sensor Values long dur, dis; // Echo Pin int echo = 4; // Trigger Pin int trig = 5;
// Position int pos = 0;
// Centimeters // Minimum Distance int mindis = 0; // Maximum Distance int maxdis = 90; // 2.6FT
void setup() {
// Pot Com SPI.begin(); pinMode(csp, OUTPUT); // Set Chip Select LOW digitalWrite(csp, LOW);