Introduction: Radar Gun With Gyroscope.

This is a speed measuring device that can calculate speed using both a linear measurement and a angular measurement.

Supplies

The material you will need include:


  1. 1 Arduino Nano
  2. 1 Ultrasonic Sensor
  3. 1 Small breadboard
  4. 1 Serial LCD (Or any display of your choice you will just have to make a slight modification to the code)
  5. 1 Gyroscope (I used a )
  6. 3D printer with filament to make the casing (optional)


Code and the .stl for the case: https://github.com/John-Alimoglu/SpeedCameraCode

Step 1:

Attach your Arduino Nano to the front of the small breadboard. Then glue the breadboard down so the USB port is accessible through the hole.

Step 2:

If required solder the pins onto your gryoscope. Make sure you use the straight pins not the 90 degree bent ones.

Step 3:

Install your Gyroscope next to your Arduino

Step 4:

Wire up the power pins on the gyroscope. Then wire SCL to A5 and SDA to A4. This allows us to receive info from the gyro.

Step 5:

Solder 4 wires on to your ultrasonic sensor then wire the ground one to ground, vcc to 5v, trig to pin 2 and echo to pin 3.

Step 6:

Push the ultrasonic sensor into its slot.

Step 7:

Wires the displays power pins then wire the RX pin to the Arduino Nanos TX pin

Step 8:

Use some wire, string or whatever you like to attach the screen to the box.

Step 9:

Add your switch into the slot in the lid and wire it to pin 4 and 5v.

Step 10:

Simply add the lid and run the code.