Remove usage of feature() from rx driver code so that driver code does
[betaflight.git] / docs / Sonar.md
blobf708a0ef9070048be63f4446276f055ee34a8de1
1 # Sonar
3 A sonar sensor can be used to measure altitude for use with BARO and SONAR altitude
4 hold modes.
6 The sonar sensor is used instead of the pressure sensor (barometer) at low altitudes.
7 The sonar sensor is only used when the aircraft inclination angle is small.
9  
10 ## Hardware
12 Currently the only supported sensor is the HCSR04 sensor.
14 ## Connections
16 ### Naze/Flip32+
18 | Mode          | Trigger       | Echo          | Inline 1k resistors |
19 | ------------- | ------------- | ------------- | ------------------- |
20 | Parallel PWM  | PB8 / Motor 5 | PB9 / Motor 6 | NO (5v tolerant)    |
21 | PPM/Serial RX | PB0 / RC7     | PB1 / RC8     | YES (3.3v input)    |
23 Current meter cannot be used in conjunction with Parallel PWM and Sonar.
25 ### Olimexino
27 | Trigger       | Echo          | Inline 1k resistors |
28 | ------------- | ------------- | ------------------- |
29 | PB0 / RC7     | PB1 / RC8     | YES (3.3v input)    |
31 Current meter cannot be used in conjunction sonar.