atbetaflight/docs/Sonar.md

32 lines
975 B
Markdown
Raw Normal View History

2014-09-15 15:40:17 -07:00
# Sonar
2014-10-15 01:32:57 -07:00
A sonar sensor can be used to measure altitude for use with BARO and SONAR altitude
hold modes.
The sonar sensor is used instead of the pressure sensor (barometer) at low altitudes.
The sonar sensor is only used when the aircraft inclination angle is small.
2014-09-15 15:40:17 -07:00
## Hardware
Currently the only supported sensor is the HCSR04 sensor.
## Connections
### Naze/Flip32+
| Mode | Trigger | Echo | Inline 1k resistors |
| ------------- | ------------- | ------------- | ------------------- |
| Parallel PWM | PB8 / Motor 5 | PB9 / Motor 6 | NO (5v tolerant) |
| PPM/Serial RX | PB0 / RC7 | PB1 / RC8 | YES (3.3v input) |
Current meter cannot be used in conjunction with Parallel PWM and Sonar.
### Olimexino
| Trigger | Echo | Inline 1k resistors |
| ------------- | ------------- | ------------------- |
| PB0 / RC7 | PB1 / RC8 | YES (3.3v input) |
Current meter cannot be used in conjunction sonar.