Search found 1 match
- Fri Jul 24, 2015 7:16 pm
- Forum: Shields, boards and sensors
- Topic: Using an Ultrasonic sensor to constrain pitch/roll/throttle.
- Replies: 5
- Views: 3253
Re: Using an Ultrasonic sensor to constrain pitch/roll/throt
5 sensors simultaneously working could cause the crash. Each sensor will be sampling (for distance) at the same time and this will cause delay on the total reaction time of your quad. For each sensor you must use an interrupt pin or else all code is stopped and will wait for pulsein(). You could try...