4 ms·
25% of car accidents in the US are caused by texting and driving. Although I think the “real solution” is self driving cars or some other great technology, I wa
by nik12795 5y ago
25% of car accidents in the US are caused by texting and driving. Although I think the “real solution” is self driving cars or some other great technology, I wanted to run an experiment where, every time you look down to text and drive, you get shocked.
The video explains some of the technical details and you get to see the hilarious experiment I ran but I'll highlight a few other key points.
- I thought a lot about different ways to detect when I look down. Originally this was just a solution for pausing the TV when I look down to eat so I don’t miss my show (lol), so I thought about using a camera to track my eyes. I started to go down this path but quickly aborted to avoid high costs and an over engineered solution.
- I eventually used the MetaMotionC sensor from Mbientlab which has an accelerator and gyroscope, among other things (more info here: https://mbientlab.com/store/metamotionc/ https://mbientlab.com/store/metamotionc/). Their documentation wasn’t great so it took some time to get the sensor working with the Raspberry Pi. The sensor clips onto my glasses, so it was pretty simple to tweak the sensitivity settings and change it from detecting when you eat food to when you look down to text.
- Out of curiosity, does anyone have other use cases for what this glasses sensor could be useful for?
- I thought about using the Pi to send a signal to the collar to trigger the shock. This seemed pretty daunting to reverse engineer. I know I’d need some sort of transmitter to send the signal, but how else might I go about reverse engineering it to send the correct signal to the collar? Any tools, tutorials, etc that people recommend I look into? Might be useful for a future project but for this one, I used a solenoid to press the button on the remote.
- Using a solenoid to press the TV remote/shock collar remote buttons was trivial for me since I recently built a robot that plays Guitar Hero (powered by solenoids). I had struggled and learned a lot in that project so there weren't any surprises this time around.
- The actual texting and driving experiment only took about 30 minutes to run. But making the device, setting up the driving course, filming, editing, etc, made this all take about 6-7 weeks. Similar to my Guitar Hero robot which was on here a while ago (https://news.ycombinator.com/item?id=26843838 https://news.ycombinator.com/item?id=26843838), it probably cost around $1,000 for everything (traffic cones are super expensive plus smaller costs like Raspberry Pi, shock collar, and misc tech parts).
- tgv 5y ago> every time you look down to text and drive, you get shocked Wouldn't that be even more dangerous?
- _Wintermute 5y agoI think the idea is you would stop texting while driving, rather than keep getting shocked...
- weird-eye-issue 5y agoYes especially if it kills you by causing an accident. I guess the question is just how distracting the shock itself is
- snet0 5y agoAh yes but, with the threat of being shocked and causing an accident, you will be less likely to text while driving, because you don't want to do things that might get you into an accident oh hold on a second.. "I wanted to stop smoking, so I got an implant that, when I inhale cigarette smoke, releases carcinogens into my lungs."
- giantg2 5y agoExcept there are safer alternatives, like charging a fee from the user everytime instead of supplying the shock. I'd imagine that would be more lucrative too.
- Rumudiez 5y agoSounds like something FAANG could really turn a profit with. Update Foogle Maps to prompt for reroutes more often, charge them for dismissing the prompt. Rinse and repeat…
- nik12795 5y agoWe answer that in the video! You should check it out :)