Blind Spot Detection Sensor



I was wanting to make a blind spot sensor for a car. Older cars do not come with that safety feature, which would be nice to have. I made this so that way I could have it in my car just by plugging it into my car charger.
Supplies
Here are the materials that were used for this project. Everything listed below should be all that is needed to make this.
Setup

I made a mock up of how it would look to picture what it would look like. I then started to plug in the wires. Here is what was pugged into the ports.
Ultrasound Sensor
- VCC - Plug into the 5V port
- Trig - Plug into the #13 pin
- Echo - Plug into the #12 pin
- GND - Plug into any GND pin
LED Light
- R - Plug into the #2 pin
- G - Plug into the #3 pin
- GND - Plug into any GND pin
You can use any color wire to plug into the pins, but I used Red for power on the sensor because that is the positive, black as the GND for negative, Trig was purple, Echo was green, R was red for red light, and G was green for the green light.
Assembly

3D print the files that are attached to the setup section. Follow the settings in the link. You will have to change the orientation on the top part for the Arduino case, because it will not print correctly.
LED Wiring


Plug in the green wire into the G pin on the light, and the 12 port on the board, then the red wire on the R pin on the light and the 13 port on the board, lastly plug in the black wire into the GND pin to the GND port.
Ultrasound Sensor Wiring


Plug the red wire to the 5V port and the VCC pin on the sensor, then the Green echo wire into port #2 and the echo pin on the sensor. Plug the purple Trig wire into the #3 port and the trig pin on the sensor, and the black GND wire into any GND port and the GND pin on the sensor.
Code

Use this code in the Arduino IDE program for the ultrasound sensor and light to know what they are doing. Once you fill out this code then you will verify it on the checkmark on the top left, then import it into the Arduino with it plugged into the computer that you use to code.
Setup in Vehicle
You can set up as you want or need. You will need velcro strips to adhere it to what ever surface you are trying to put it on. I put it under my sideview mirror to and the light next to the media center on my car as the wires cannot reach to far away from the Arduino.
Congrats!
I had a lot of fun learning how to do this project, as I have never worked with Arduino and code with actually using it on a tool. You may have to tweak it a little with the angles, but I got it to work relatively reliably by adjusting as needed.