Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; AntiBotCaptcha has a deprecated constructor in /homepages/8/d680172117/htdocs/QA/qa-plugin/q2a-captcha-antibot-master/AntiBotCaptcha.php on line 22
Arduino transmitter turn off motors when losing signal? - Electronoobs Q&A

Welcome to Electronoobs Q&A, where you can ask questions and receive answers from other members of the community.


PCBWay Ad

Categories


+1 vote

So far the arduino transmitter and receiver are working great but I'm thinking about using it for a FPV drone.

The only problem is that when the signal is lost (receiver out of range or transmitter power fail) the receiver signals will stay in the same position. For example: when I fly up and the signal fails the drone will go straight to the moon! devilcheeky

So is there a way I can change the code so when the transmitter-receiver signal is lost the receiver will turn of the motors?

asked in Arduino by (370 points)

1 Answer

+1 vote
 
Best answer
Yes, try this new code (version 2.0) with reset after 1 second of lost signal

https://www.electronoobs.com/eng_arduino_tut25_code4.php

or PPM if you want: https://www.electronoobs.com/eng_arduino_tut25_code5.php
answered by (28.2k points)
Receiver always resetting after 1 sec
...