One of the more attractive options for those who are looking to buy a retractable landing gear is to invest into Tarot TL65B44 set. It is a rather reliable landing gear and performed well in numerous crashes. Even though it is called "small" the height allows to operate significant camera gimbal setups, such as HobbyKing Brushless ActionCam Gimbal.

Of course, the most straightforward method of use for this gimbal is to connect the servo leads to a receiver or a flight controller. Nevertheless, not many flight controllers at this point of time allow for sonar driven landing gear. In this article we are going to look at how to operate Tarot TL65B44 by means of the Arduino Pro Mini board and HC-SR04 sonar unit.

Arduino Pro Mini is an ATMEGA328p based. For the purpose of this article we'll consider a 5V, 16MHz version.

Arduino Pro Mini
Arduino Pro Mini

Of course, we aim at a practical utilization of the relatively cheap components. HC-SR04 Sonar Unit is a rather inexpensive solution for distance sensing. With some workarounds on the programmatic level it can reliably perform up to 2.5m. These units are normally equipped with 4 signal interface pins: 2 are used to supply 5VDC of power, while the other 2 are trigger and output signal (echo).

HC-SR04 Sonar Unit
HC-SR04 Sonar Unit

You can select several methods of assembly. I have successfully connected both units including the electronic interface and indicator LED on a prototyping board.The entire setup fits into DIY B70x41x23mm New Black Plastic Project Box Electronic Case with some simple cutouts for a solder-on pin connector, sonar unit, serial interface of the Arduino and the LED indicator.

Soldering on Prototype Board, Top View
Soldering on Prototype Board, Top View
Soldering on Prototype Board, Bottom View
Soldering on Prototype Board, Bottom View

In the following drawing you can see the schematics of electrical connections. Pay attention to pin routing between the Arduino Pro Mini board and the sonar unit.

Schematics of Electrical Connections
Schematics of Electrical Connections

A couple of comments on the code. It uses 2 libraries: Servo.h (part of the standard Arduino IDE installation), Average.h (has to be downloaded from here). Parameters:

  • trigger_altitude - Trigger altitude in centimeters. It is important to keep in mind that this sonar module does not operate reliably in altitudes above 2.5m
  • CNT 10 - the size of floating array used for mode function (averaging procedure). If the size of this array is increased, the averaging procedure will smoothen the analogue sonar input more. However, this would come at a cost of the greater latency and longer initialising delay
  • attemptsL - a number of times a low enough altitude value shall be registered in order to set the landing gear down (false positive check)
  • attemptsTO - a number of times a high enough altitude value shall be registered in order to retract the landing gear (false negative check)
  • CutOffDist - an extra filter to avoid the registering of extreme values (any value that is higher than CutOffDist won't be registered into the floating array)

 

Files:
Sonar Driven Tarot TL65B44 Landing Gear Version 2.2 2.2 HOT
(1 vote)

The original file has been upgraded to Version 2.2. This version uses a better averaging algorithm, as well as introduced a lengthy pause to perform gear retract manouver. All parameters are still adjustable, so you are more than welcome to make your changes. Please post your comments and advise of possible bugs/improvements.

License GNU/GPL Date 2016-02-19 File Size 2.34 KB Download 328 Download

Feel free to download the file. We shall appreciate if any developments to this project were advised to us, so that this article could contain the relevant links and updates.

Forum Response to This Article:
There are no forum posts on this article at the moment.
Login to reply
Comments   
0 # scr888 games 2018-10-03 02:11
[censored] widow kept demand[censored]g and ultimately wore [censored] judge down until he gave her justice.
Lessons [censored] do is submit some [censored][censored]ation and hit [censored] enter key.
[censored] hho booster is high, [censored]n, you might be OK.
Reply | Reply with quote | Quote
0 # 918kiss 2018-10-03 05:37
Truly - I can[censored] f[censored]d any drawbacks [censored] comment[censored]g.
[censored] quality of content plays an [censored]tegral role obta[censored][censored]g
high page rank. If you have found [censored] article [censored]n [censored] order [censored] obviously aware that mak[censored]g cash with a blog is possible.
Reply | Reply with quote | Quote
0 # scr888 hacker 2018-10-03 06:50
[censored]n [censored] has actually a good game, [censored] w[censored] just about be no
regrets. Aga[censored], t[censored] is def[censored]itely [censored] specific a person [censored] [censored] bet parlays, teasers or propositions.
B[censored]go games are played for fun, as no decisions have.
Reply | Reply with quote | Quote
0 # rollex11 login 2018-10-04 03:54
Every [censored] who writes [censored]b articles have [censored] common goal; [censored] make [censored]ir re[censored]ers happy.
I am go[censored]g [censored] provide you just two po[censored]rful tricks help you along [censored] way.
Reply | Reply with quote | Quote
0 # sky777 download 2018-10-04 12:04
Once [censored] gymnasts learn visualization rise a step fur[censored]r.
And when i say double fundamental payment, Ho[censored]ver it all
lap[censored]p or computer. TRUE: it is critical [censored] eat [censored] order [censored] order [censored] generally nutritious.
Reply | Reply with quote | Quote
0 # mega casino slots 2018-10-04 12:43
[censored] basic simple: every[censored] is terrified of [censored]ion of presentation. Many speakers consider gestures even [censored] important than [censored] speech itself.

Let me share along with you a few thoughts from Dr.
Reply | Reply with quote | Quote
0 # casino wiki 2018-10-05 10:38
[censored] chat is very important because it connects you with
o[censored]r players. [censored] comfort is what most of players are [censored][censored]g for
[censored] gambl[censored]g with [censored]ir favorite cas[censored]o play. Damn, but a number
of [censored] [censored] stuff is fav[censored]able!
Reply | Reply with quote | Quote
0 # m 2018-10-05 15:01
Valuable [censored][censored]ation. Lucky me I discovered [censored] site by accident, and I'm shocked why
[censored] accident did [censored] happened earlier! I
bookmarked it.
Reply | Reply with quote | Quote
0 # 3w8 2018-10-05 19:03
Give people someth[censored]g of worth for free and demonstrate that you
can [censored] good content at no [censored] cost. Once you might have [censored] niche selected might put up a rrnternet site.
Reply | Reply with quote | Quote
0 # pb 2018-10-06 16:35
Bananas have a good s[censored]ce of fiber and potassium and tend [censored] be very useful [censored] [censored] ab.
Content that is keyword rich [censored] br[censored]g [censored]
[censored] that Google and o[censored]r [censored] eng[censored]es [censored] send
[censored] [censored]n you.
Reply | Reply with quote | Quote
0 # 918kiss best game 2018-10-08 01:37
It is merely really [censored]credible that [censored] m[censored]e an impact along with us.

At least for also have been able [censored] get [censored]ir hands on [censored] game [censored] [censored] po[censored]t.
[censored] usually comes [censored] very light colors like p[censored]k and lavender.
Reply | Reply with quote | Quote
0 # ocean king hours 2018-10-10 01:11
Thanks designed for shar[censored]g such a good op[censored]ion, paragraph
is nice, thats why i have re[censored] it completely
Reply | Reply with quote | Quote
0 # 918kiss credit 2018 2018-10-11 10:10
Some[censored] necessarily help [censored]o make significantly posts I'd state.
[censored] is [censored] first [censored] I frequented [censored] [censored] page and so far?
I surprised with [censored] analysis you mawde [censored] create [censored] particular post [censored]credible.
Magnikficent job!
Reply | Reply with quote | Quote
0 # ace333 apk download 2018-10-12 06:49
Build[censored]g a flood of targeted [censored] and improv[censored]g rank[censored]g takes much [censored] work than most people [censored].
[censored] most effective SEO technique is [censored] [censored]dex [censored] pages of
new [censored]. Follow[censored]g [censored]se tips [censored] [censored] order [censored] do terribly.
Reply | Reply with quote | Quote
0 # mega888 casino 2018-10-13 14:32
Nice post. I was check[censored]g constantly [censored] blog and I am impressed!
Extremely useful [censored]fo particularly [censored] last part :) I care for such [censored]fo
a lot. I was seek[censored]g [censored] certa[censored] [censored]fo for a long [censored].
Thank you and best of luck.
Reply | Reply with quote | Quote
0 # 918 kiss 2018-10-17 09:10
Create a separate page for separate keywords, same layout and images
but different keywords. [censored]clude little extras such be[censored]g a t[censored]y bandage, a restricted food label or classroom stickers.
You want [censored] have unique [censored][censored]ation that no [censored] has.
Reply | Reply with quote | Quote
0 # j123 2018-10-17 11:45
It is always his [censored] [censored] certa[censored]ly be g[censored] through. Before enter[censored]g any tr[censored]e,
th[censored]k relat[censored]g [censored] [censored] risk. Reflect on [censored] behavior you exhibited while [censored] two [censored]dividuals [censored]re with him or her.
Reply | Reply with quote | Quote
0 # sky777 2018-10-17 13:46
[censored] lift content from ano[censored]r s[censored]ce and claim it as be[censored]g [censored] creation is [censored]dressed plagiarism.

On page - Enjsure fac[censored]r annoy[censored]g [censored] use product descriptions for
[censored] on page content.
Reply | Reply with quote | Quote
0 # sky777 apk 2018-10-17 18:38
Pretty! [censored] has been a really wonderful post. Thank you for supply[censored]g [censored] [censored]fo.
Reply | Reply with quote | Quote
0 # rollex11 login 2018-10-17 21:39
Hey t[censored] just wanted [censored] give you a quick he[censored]s up and let
you know a few of [censored] pictures aren't lo[censored][censored]g properly.
I'm [censored] sure why but I th[censored]k its a l[censored]k[censored]g issue.

I've tried it [censored] two different browsers and both show [censored] same results.
Reply | Reply with quote | Quote
0 # 918kiss download 2018-10-18 22:22
[censored] [censored] cas[censored]o games provide you with exact atmosp[censored] just [censored] tr[censored]ition cas[censored]os.
Plus, [censored]y have $5 No Deposit Bonus, 100% up [censored] $550 [censored] [censored]'s first deposit, and very much [censored]!
Reply | Reply with quote | Quote
0 # live22 download 2018-10-19 03:12
Know [censored] way [censored] capture a persons vision of [censored] target fans.
That way you can leverage period and and [censored] creativity for maximum results.
Are you seek[censored]g tips that become an effective article writer?
Reply | Reply with quote | Quote
0 # play8oy casino 2018-10-19 14:55
Very simply, healthy page gets a l[censored]k from ano[censored]r site,
that's a "vote" for [censored] personal site. [censored] posts comprise of
at least two l[censored]ks [censored] could. You want [censored] have unique [censored][censored]ation that no [censored] has.
Reply | Reply with quote | Quote
0 # mobile sex cam sites 2018-10-19 22:35
Oh my goodness! Impressive article dude! Thanks,
Ho[censored]ver I am experienc[censored]g difficulties with [censored] RSS.
I don't understand [censored] reason why I can[censored] jo[censored] it. Is t[censored] anybody
hav[censored]g identical RSS problems? Any[censored] that knows [censored] ans[censored]r [censored] you k[censored]dly respond?
Thanks!!
Reply | Reply with quote | Quote
0 # yusheng scr888 2018-10-20 09:54
Every [censored]ekend i used [censored] pay a [censored] [censored] [censored]b page,
for [censored] reason that i wish for enjoyment,
for [censored] reason that [censored] [censored] site conations actually fastidious
funny material [censored]o.
Reply | Reply with quote | Quote
0 # casino malaysia 2018-10-22 03:58
Some are paid services and also allows free submissions of URL.

Last but [censored] least, must be update should frequently with fresh and relevant content.
It [censored] so difficult [censored] earn m[censored]y from channel l[censored]k pr.
Reply | Reply with quote | Quote
0 # scr888 download 2018-10-22 11:56
[censored]se methods [censored] drive [censored] visi[censored]rs [censored] [censored] world-wide-[censored]b site.
Content is what can make or break [censored] [censored] as wll as [censored] [censored]b pages.
Ano[censored]r technique is [censored] check out [censored] for [censored]
companies provid[censored]g [censored] full agency.
Reply | Reply with quote | Quote
0 # favourite games 2018-10-23 20:21
Choos[censored]g fort color [censored] o[censored]r very crucial [censored] creat[censored]g a competent [censored].
Or did you forget [censored] article immediately and stay at [censored] [censored]?
[censored] fact, it [censored] significantly decrease
persons.
Reply | Reply with quote | Quote
0 # lpe88 apk 2018-10-24 18:34
Good [censored]ternal l[censored]k can boost [censored] hunt eng[censored]e gr[censored]e. Nuts come with
a good content of prote[censored], fatty acids and Vitam[censored] e.
And always submit any new content you publish [censored] those social cpa affiliate networks.
Reply | Reply with quote | Quote
0 # scr 888 2018-10-26 02:25
While you try [censored] fool [censored] eng[censored]es, you operate [censored] risk [censored] get banned.
Pla[censored] pastel backgrounds work [censored]ll and [censored]clude soft [censored]uches like baby fea[censored]rs and t[censored]y pearls.
On [censored] particular occasion, I kept runn[censored]g
with it.
Reply | Reply with quote | Quote
0 # scr888 2018-10-26 10:44
With[censored] visi[censored]rs you desire [censored] [censored]d [censored] keyword abbreviation. [censored] [censored]dition, [censored]y can also reduce [censored] page list[censored]g.
You need content may describe [censored] organization or society properly.
Reply | Reply with quote | Quote
0 # BestCandida 2018-10-27 02:41
I see you don't m[censored]tize [censored] page, don't waste [censored] [censored],
you can earn [censored]ditional cash every [censored]. You can use [censored] best [censored]sense alternative for any type of [censored] ([censored]y approve all [censored]s), for [censored] details simply [censored] [censored] gooogle: boorfe's tips m[censored]tize [censored] [censored]
Reply | Reply with quote | Quote
0 # live 22406 2018-10-28 16:16
After 6 or 10 m[censored]utes, come [censored] [censored] computer and pay any
[censored] thoughts possess been come for you. [censored]d a [censored] l[censored]k
back for [censored]s [censored]b site [censored] [censored] res[censored]ce w[censored]dow.
Exactly what [censored]y accomplish [censored] hide it.
Reply | Reply with quote | Quote
0 # l88 2018-10-30 07:53
How you boost [censored] risk for most on [censored] opportunity is entirely
considerably as you. It [censored]ok a little [censored] and effort but
he began mak[censored]g some decent dollars spent. CONTENT: [censored], aga[censored], is often a simple motif.
Reply | Reply with quote | Quote
0 # online casino laws 2018-11-03 08:14
Hi, just wanted [censored] tell you, I enjoyed [censored] blog post.
It was [censored]spir[censored]g. Keep on post[censored]g!
Reply | Reply with quote | Quote
0 # scr888 2018-11-04 20:25
Make absolute [censored] bold or underl[censored]e [censored] keywords with [censored] article.

[censored] [censored] event you use [censored] most effective title that corresponds with [censored]b-page.
Basically it means us[censored]g o[censored]r keywords have got [censored] same mean[censored]g.
Reply | Reply with quote | Quote
0 # rollex 11 2018-11-05 06:56
Are you hav[censored]g problems gett[censored]g quite as much targeted [censored] order [censored] [censored] site as [censored] goal
is? It is simple [censored] do right and takes little [censored].
I [censored] be able [censored] work[censored]g on SEO for a good 1 1/2 [censored] 2 years.
Reply | Reply with quote | Quote
0 # 3win8 slot 2018-11-12 10:18
List[censored]g [censored]m all would take [censored]o much space,
but among choices M.S. Don't misunderstand me [censored] - I'm all for protect[censored]g [censored] [censored]olescents.
How many shark attacks are t[censored] every ? Even Stephen K[censored]g got rejected until recently.
Reply | Reply with quote | Quote
0 # 918kiss down 2018-11-12 18:17
After you f[censored]d some that do, please checkout each [censored] cas[censored]os first deposit bonus.
Can be what [censored] cas[censored]o wants you [censored] order [censored].

Throw [censored] [censored] [censored][censored]l raise till [censored] flop?
Reply | Reply with quote | Quote
0 # Noe 2018-11-12 18:55
I do [censored] even understand how I ended up right [censored], but I assumed [censored] post was
good. I don't realize who you are but def[censored]itely you're go[censored]g [censored] a famous
blogger if you aren't alre[censored]y. Cheers!
Reply | Reply with quote | Quote
0 # joker123 net mobile 2018-11-12 21:09
Great blog! Do you have any h[censored]ts for aspir[censored]g writers?
I'm plann[censored]g [censored] start my own blog soon but I'm a little lost on everyth[censored]g.
Would you recommend start[censored]g with a free plat[censored] like Wordpress or go for a paid
[censored]ion? T[censored] are so many [censored]ions out t[censored] that I'm completely confused ..

Any suggestions? Thanks!
Reply | Reply with quote | Quote
0 # 3win8 apk 2018-11-13 09:40
So how would you get progressed [censored] [censored] squeeze net?
If you are a newbie, you might [censored] have any idea w[censored] [censored] get started with.
[censored] on that and do a [censored]b [censored] for keywords [censored] [censored] niche.
Reply | Reply with quote | Quote
Add comment

Security code
Refresh

Welcome dear user!