From 7a05d3f9a94c487023c3ef698524eab7bc2bab44 Mon Sep 17 00:00:00 2001
From: Max Unander <maxunander@hotmail.com>
Date: Tue, 1 Nov 2016 12:33:43 +0100
Subject: [PATCH] added sonar part

---
 hardware/hardware.tex | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/hardware/hardware.tex b/hardware/hardware.tex
index f77ec20..9c7f1ae 100644
--- a/hardware/hardware.tex
+++ b/hardware/hardware.tex
@@ -43,4 +43,7 @@
 		
 		We decided to mount our ultrasonic sensors on the carbon fiber arms outside of the motor mounts so that the sensors would protrude beyond the tips of the propellers. This configuration means that the sensors don't have any wasted range and also that if something goes wrong the propeller is not the first thing to hit an obstacle. We originally planed on having the sensors between the propellers witch is a 45 degree shift we had to change the configuration of our copter from an "X" to a "+", but this was easily done in Cleanflight. 
 		
+		\subsection{Sonar}
+		
+		We got the sonar up and running easily by it self with good values, but when we put it on the copter we started getting missed values especially when revving up the motors. To filter out some disturbances series resistors of 1k\Omega was added to the echo and trigger line for the sonar but this also meant that the sonar wouldn't trigger with a 3.3 volt input, this was solved with a transistor switch to pull the trigger to 5 volt.
 		
-- 
GitLab