Final Project: Silent Alert

The idea in mind that I had was for the ESP2688 to detect whomever came into my house. The sensor would pick up any movement that was near my door and would send an IFTTT message to my phone via Adafruit IO. The idea is that when someone comes through the door, and I was in my room, I would know if someone came in through the house via text message. (Sorry for the ugly look, didn’t have the resources to make a nice-looking case). To mount this near my front door, I had some adhesive 3M strips and a small battery to hook up the board to in order for it to have power.

 

When trying to develop the Wifi integration, I ran into a slew of issues. Firstly, I could connect everything together and make sure everything was working in terms of software. I could not figure out how to set the parameters of the Sensor feed from 0 to 1 since that would trigger the alert on my phone.

The main issue of the project was the PIR sensor itself. No matter what, I could not get it to be consistent with detecting movement. It can and has detected movement, but won’t do so accurately and coherently. On top of this, the only time I was able to get it to work is by re-uploading the code each time I saw that the serial monitor showed no signs of movement.

As you can see here, the sensor would rapidly detect movement. I thoughts at first it was the sensitivity of the sensors, but that was proven to be wrong as the Serial monitor would only sometimes show a rapid-fire of movement detection.

The code listed below was helped on by Dom and advice given from Professor Fitzgerald.

There was also another tab with an Adafruit IO key and username that I will not share for privacy sake.

Overall, I am disappointed that I wasn’t able to get this to work. I have about 3/4ths of the project complete. The only thing I need to finish up on is the integration between IO and IFTTT. For some reason, I can’t get IFTTT to work no matter what I do. I think better time management and preparation for this project would have put me in a much better position. I am glad to have gotten this far in my project, given how inexperienced I am with connecting devices via Wifi.

Final Project Proposal

 

https://www.microcenter.com/product/476340/pir-motion-sensor-for-arduino

Image result for herbivore packet sniffer(Not My Picture)

For my final project, I wanted to create a motion-sensor packet sniffer. I plan on buying a sensor from Microcenter (Best store ever), to track the movement of anything nearby. After motion is detected, I want the Arduino to use Herbivore to see what devices were in the area. Think of this as like a packet sniffer mine. The “mine” triggers and gives me the device information in the given area. I thought it would be really cool to do this project since it’s very interactive and gives a lot of data (Based on how I want it to turn out).

Youtube Video Randomizer/Finder

Originally, my plan was to create an IP blocker where it would block specific websites using the Arduino as a hub. Think of it as an EMP for specific websites (YouTube, Crunchyroll, Facebook, Reddit, etc). However, I had way too many complications with this sort of build, as the Arduino is commanded using C++ in the IDE. The code would have required some form of Python that I am not accustomed to so I decided to scrap the idea.The next plan was to create a timer to prevent my problem with Procrastination. I eventually scrapped that plan as . I ended up trying to design a board that would randomize YouTube links each time I press a button. YouTube is my daily media source, so I thought this project would be nice to play around with.

(Excuse the messy wiring.) This is the breadboard that ended up as the final product. The hardware side of this project was the most simplest part of the project as a whole. Unfortunately, I was not able to get it work the way I wanted with the code that I had written. I got the micro controller to connect to the internet and post a website, however I wasn’t able to figure out how to randomize different YouTube links. I will try and figure out how to do so, but am not able to provide code at this particular moment.

If you would like an idea of what I was going for, I found a website with the exact idea in mind: https://ytroulette.com/