Hi Antti, this is a brilliant design. I got inspired by your video some years ago and built a similar setup using 2 diversity receivers. The Quanum RC 540R does the guidance job with two 16-turn helical antennas. I added a small SD-card reader/writer for data logging and could fit it into the Quanum as well. The 2nd receiver, placed about 10 inches besides the Quanum, is an FR632 with one identical 16-turn antenna, pointing exactly in between the two guidance antennas, and a 4-leaf antenna for close range reception. I didn't care for vertical guidance. My construction is quite heavy and therefore using a big servo. Both diversity receivers feed their best signal into an Eagle Eyes FPV Station by Eagle Tree and the station outputs the better image of the two receivers for viewing/recording. Obviously, this is for long range operations. Your software was of great help and a good starting point. I adapted and expanded it a lot, up to the memory limits of the arduino. This works like a charm. Good image on 5.8 GHz up to a distance of 15.1 km (9.4 miles). This was the battery range limit of my small styrofoam model aircraft. Using a running average for the RSSI signals gave me very precise antenna guidance even at very low signal strengths.
@AnttiVainik Жыл бұрын
Wow sounds pretty serious and awesome :D Do you have videos of your setup? Also it would be interesting to check what you have done in the code, have you published it somewhere?
@VodooFeed Жыл бұрын
@@AnttiVainik I had a big thread about the project on a German speaking forum, which unfortunately was closed down, loosing all contents. But you can find an image of the tracker and my version of your Arduino software by going to the 'euroconnection' URL with the TLD (Top level domain) for Switzerland.
@hassanhamdyseddik9446 Жыл бұрын
i need to see your work thats good
@Brazonthefly4 жыл бұрын
Thanks for putting this YT video together, I have built one and it works pretty good
@changeagent2285 жыл бұрын
If we could increase the servo speed then you could use 15 turn helical antenna to track precisely with really narrow sensitivity.
@jackd61346 жыл бұрын
Antti. How would you update this tracker in 2019?
@TheZolon4 жыл бұрын
Or 2020 now as I can't find that receiver.
@markwood97514 жыл бұрын
@@TheZolon Given the Git hasn't been touched in 4 years, i'd say there are no planned updates either XD
@nilsantropow63064 жыл бұрын
@@TheZolon using for example the realacc rx5808 you can easily find the rssi pin.
@chemistt4 жыл бұрын
@@TheZolon you can recreate this by getting just plain receivers....power them...and set your quad copter VTX to those RX default channel...if you want to spend more time on this then you need secondary Arduino which will search for signal using RSSi....its not hard...just time consuming
@johanmeijer857 жыл бұрын
Wow, awesome and cheap solution for an antenna tracker. I was looking for a good diversity receiver, when I stumbled upon your video. It made the decision much easier! Bought this receiver and built the antenna tracker with the components you mentioned. Works like a charm! Changed the code a bit to my likings, but it's basically your idea. Thanks man!
@bondebos34785 жыл бұрын
Johan Meijer What did you change? And could i use those codes?? Thanks!
@captainKts4 жыл бұрын
I'm gonna need that code cowboy
@johanmeijer854 жыл бұрын
Sorry for the late reply, but here it is: www.dropbox.com/s/l0u19iy3yhyqd2k/AntennaTracker.ino?dl=0
@johanmeijer854 жыл бұрын
@@captainKts photos.app.goo.gl/fZ4noDLT8fdmpufT9
@tekkeysodan4 жыл бұрын
@@johanmeijer85 hi bro, can u help me edit this code to using the 360 degree servo, thanks. plz
@seanbittner71366 жыл бұрын
Oh great, just what I need, another project to fuel my antisocial tendencies as of late. Good job guys!
@ailehorten6 жыл бұрын
Super Tracker !! I use it with one FR632 Diversity receiver. I have found MAX_RSSI=240 and MIN_RSSI=120 okay for FR632. I have also modified the SERVO_DIRECTION= -1 for my servo (an old HITEC HS-300). The servo is mounted verticaly and above, a plate with onboard the FR632 and the box containing the Arduino Leonardo and the step down converter (12V to 5V). Thank you very much for the arduino code.
@emmanuelgoncalves83325 жыл бұрын
ailehorten how did you measured the max and min rssi for your rx?
@hassanhamdyseddik94468 ай бұрын
@@emmanuelgoncalves8332 do you know now?
@billybones13086 жыл бұрын
Hello Antti I built your antenna tracker and it is fantastic. I will be adding a second Rx. and a third antenna in the center. If I adjust the outside antenna the one in the middle will be on the aircraft all the time. It is absolutely amazing and so simple to build with all of your instructions and even included the sketch code. I modified the code slightly to suit my needs. Billy Bones
@AnttiVainik6 жыл бұрын
Well done mate! I'm very happy to hear of your success. OpenSource rules! If you ever record a video, please share the link, so I can put it in the description.
@billybones13086 жыл бұрын
I will make a video when I add the third antenna. Will let you know when I do. Billy Bones
@drifter19497 жыл бұрын
Hi Antti, I made two of them, one for the Quanum540 which worked first go and one for the FR632 which needed calibrating and is now working. Thanks for your work. Robert
@AnttiVainik7 жыл бұрын
Cool! And good work! If you ever film them in action, It would be interesting to see it.
@yusufusayd31514 жыл бұрын
Hey Robert, greetings...if i can trouble you can you help me with doing this with the FR632 reciever please. What kind of tuning did you have to do?
@tothehilt5 жыл бұрын
Thanks for this vid, very helpful on the build layout. If you had completed this how to with a piece on the Arduino setup it would have been perfect. Many people are left with questions if they are new to Arduino. Setting rssi min/max for example, serial monitor shows servo output, not rssi, so i've hit a wall with that.
@anjolasboy6 жыл бұрын
Works amazing.. Now waiting for the tilt :P
@Pretparry7 жыл бұрын
I have built this tracker and it works very well. Thank you so much for this!!!!
@AnttiVainik7 жыл бұрын
I'm very glad to hear. It would be interesting to see a video or a photo of your version, please share if you take any.
@solmag80766 жыл бұрын
Hi, do you still fly with this? Have you encountered any problem so far? I want to build one for my long range setup and I want to know if it's reliable. Thanks
@antoniosilver62245 жыл бұрын
I dont understand one detail, the servo that you use rotate only 180º then you dont cover never the 360º. Its right this?
@Patty-qy8qh5 жыл бұрын
I am not into antenna trackers, but there is one thing you can do to every servo: open it up and remove the pin, that blocks is from turning 360°/infinite. Same way you can use a servo as a winch on a truck. But I have no idea of this will work with the controller on the tracker.
@wayneiona6 жыл бұрын
What happens if the signal drops out ,does the tracker go crazy trying to find the signal ? Cheers
@MrAnatolyvizitiu7 жыл бұрын
Is vertical axis tracking coming anytime soon? Would be interested in that update.
@jujucattys1563 жыл бұрын
what other resiver use this discontinued
@halilsar9905Ай бұрын
Hello, can you tell me the maximum range to follow the drone for the antenna tracker?
@n8zfpv4 жыл бұрын
I'm new to fpv. Wow. Nice. I was also thinking about making a diverity 5 helix antenna . This can be my backup :) Great work.
@johnlannigan9831 Жыл бұрын
I have been looking at this idea very closely and its very good. Do you have a schematic that shows the analogue circuitry for the RSSI? It appears as if the RC540r uses a receiver very similar to the common RX5808 found in a lot of FPV receivers but the one in the RC540r is slightly different, maybe a custom module? I would like to see the circuit and see if it can be used with the RX5808 receiver module. Can you help?
@dobosatti643 жыл бұрын
How can I put the code on the arduino board? It always indicates a wrong translation to me!
@Chris-vc1dh Жыл бұрын
I want to try to make one really but what type of the board should I get?
@timothysmith54537 жыл бұрын
I'm just in the process of building this and have a comment about uploading the file to the Arduino. For several hours I have been trying to get this working on a Windows 10 PC with no experience of Arduino. So for the uninitiated, after you install the software (It seems Arduino doesn't like the software installed in the default installation path, I ended up only getting it to work when installing it in the root of the hard disk eg c:\arduino) you have to upload the timer library into the libraries folder under that. You also can't have odd characters like - in the folder or name. So in other words, extract the timer-master zip file into a folder named timer under arduino\libraries.
@TheTorgehal7 жыл бұрын
Terve, Antti! Great solution 👍Thanks for sharing it with us. I hope you get to develop it further with tilt function as well (in between your new parenting "hobby" tasks ☺). In my FPV plane I have two VTX transmitters. One with LHCP and the other with RHCP antennas at opposite 45" angle. Giving a better omnidirectional TX coverage. VTX frequencies are individual/different. The Quanum diversity RX supports individual frequencies. I intend to use two of the Quanum Diversity reciever for my ground station. Do you have a suggestion on how to potentially modify your solution to track dual VTX in the plane. Including tilt of antenna tracker. I think such a solution (dual VTX) will have a significant boost to video quality and stability. Especially when low TX power (25mW). I hope you will find some time for the RC and FPV hobby again, but good luck with the parental role ☺ Kind regards, Torgeir
@AnttiVainik7 жыл бұрын
Hi Torgeir, and thanks Which Quanum diversity RX do you mean, the RC540? About tracking dual frequencies, I think current code might work unmodified. A potential problem might be having 2 different nullpoints (and in general 2 different of everything, vtx antenna etc). Imagine this situation, you are in a turn and one antenna reaches nullpoint -> rssi drops, the other antenna is at 90° and has perfect allignment -> very good rssi. Now tracker thinks the plane is moving left/right and starts wondering off. This situation is kind of comparable to multipathing, but in this case, one of the channels could "stay down" for a long time, which gives time for tracker to wonder off. Multipathing interference is much faster, and can be dealt with filtering. Anyways I'm just guessing here. This should be tested in practice.
@AnttiVainik7 жыл бұрын
How to deal with all those problems? One way is to use 2 or 3 rx for aiming and one just for reception. But now you end up with 5 video receivers + antennas and its not so super simple anymore :/
@TheTorgehal7 жыл бұрын
Antti Vainik Hi Antti! Thanks for your reply. Yes, I have the 40ch (32+8) version. I have thought of using one to track the plane as you do (on one frequency) and use the other diversity receiver for video (on two different frequencies). What I then miss is a receiver for omnidirectional antenna when flying near or over the groundstation. I see your point related to potentially issue tracking on two different frequencies with your current setup. Anyhow - I'm curious to test your setup but need to order the components. Looking forward to learn more of your progress with your solutoons. Hope you will get some time for this hobby inbetween parrenting ☺
@Ruben-fk7zz7 жыл бұрын
Have you thought about using the half overlord for a pan and tilt system? If the rssi and antenna setup would overlap enough it could probably maintain a strong signal without breakups and stay close to the mainlope even while crossing the station. I would like to build a similar systems like yours in the future with the half-ol, am just not solid yet in programming... Thanks for your design!
@leoponce82ponce3 жыл бұрын
So, how do you find the RRSI pin in the RECEIVER module? how did u know it was the 4th pin?
@yang.64288 жыл бұрын
Very cool and look forward to a more perfect design.
@justinbledsoe82525 жыл бұрын
I am new to electronics but I assume the 5v regulator connects to the power and ground on the Arduino?
@captainKts4 жыл бұрын
I have a Boscam RX-LCD5800 diversity video receiver, it has very similar electronic components to yours, almost identical actually. Do you think the rssi solder pad is the same pin as yours? Is there any way I could know?
@AnttiVainik4 жыл бұрын
Many receivers use same/similar receiver modules. Open your receiver and see if there's a module inside. You can then do a google image search "5.8ghz receiver module". There are plenty of images that show the RSSI pin.
@captainKts4 жыл бұрын
@@AnttiVainik ok I've got my rssi pins covered, but I can't flash the Arduino for the life of me. I'm not sure what I'm doing wrong. "An error occurred while uploading the sketch" any help will be much appreciated. The KZbin videos are not very helpful. Edit: Arduino flashed with timer.h Last question, what's powering the Arduino during use? The regulator out arduino and servo power are soldered together at the board?
@dragon1219787 жыл бұрын
Awesome mate just in the process of building one so you have to same antennas on both receivers or could you have a helical and a clover leaf or say a 3 turn helical and a 5 turn one
@AnttiVainik7 жыл бұрын
You must have two directional antennas. Cloverleaf is omnidirectional, it has same amplification in every direction, with clover the tracker wont be able to tell which direction your vtx is.
@TheWinnieston6 жыл бұрын
hmmm...I could add another diversity receiver, put it in a rocket, and have an anti-fpv rocket.... sounds like a project!
@dennisstockwell94447 жыл бұрын
Looks great, but would have been more impressive if you had mounted the video camera on top of the tracker.
@AnttiVainik7 жыл бұрын
Dennis Stockwell Great idea! I have a zoomable lens, that should look good.
@TheJergoswiler7 жыл бұрын
Wow, well done. I love taht thing you built. Thanks for sharing! I think that tracker would work a lot better with 3 antennas. I'm not sure if the tilt is really needed then... For that you would need 5 antennas.
@Surferant6666 жыл бұрын
Good video... Btw Why havent you got another servo for vertical track?
@qyitonefpv6551 Жыл бұрын
Will this work with non diversity receiver?
@funaro137 жыл бұрын
got a. D58-4 it has Tracker output, do I only need the Arduino board for mounting?
@ferp0096 жыл бұрын
Very nice!!congratulation!! Its possible to put the receiver in a vertical position and the antennas with different tilt angle? I think you will have a better result if not have tilt movement. Its correct? Thanks and sorry for my bad English
@thrilleex6 жыл бұрын
Can you just build two of these , mount one sideways and then create/print a contraption for each servo so they move the whole device ?
@sebastianwilliamnee19986 жыл бұрын
thrilleex at this point you might as well get a 4 way diversity receiver. With 3 patch antennas you should be able to get your left-right and up-down tilts, and with the fourth you could put a cloverleaf for proximity
@sirhaugen10256 жыл бұрын
Will this work on my 1.3GHZ receiver from readymaderc as well? As long as I know where the RSSI pin is?
@rrenegadoo7 жыл бұрын
excellent video thank you....I know you are busy, but I hope you post a new video with the Tilt function... Good work .... keep it up.
@flighttherapybullisticfpv1336 жыл бұрын
I LOVE this idea man thank you so much! I was wondering if one could use a small stepper instead of a servo to get better longevity and full 360 degree coverage by the antenna?
@hassanhamdyseddik9446 Жыл бұрын
Have you done anything about this matter?
@megadork96 жыл бұрын
Did you have to use a longer screw for your servo? I dont really understand how the servo attaches to the GoPro style bottom plate.
@AnttiVainik6 жыл бұрын
It's a normal servo screw. Do you know those round servo "arms" that come with every servo, basically it's the same thing.
@tyeung05718 жыл бұрын
Cool project. As configured, how would the tracking behave if you were to fly a complete circle around your antenna?
@AnttiVainik8 жыл бұрын
Currently I'm using regular 180 degrees servo, naturally that rules out the other 180 degrees. It's possible to use 360 deg servo, but I was in a hurry and wanted to test current setup asap. Say you're flying clock wise in a circle starting from 12 o'clock. Servo hits its limit at 3 o'clock, you continue to 6 o'clock, 9 o'clock now tracker could swing 180 degrees, but it really doesn't know where the target is. I would imagine it would pick up direction again when your quad is closing 12 o'clock. Google for "helical antenna radiation pattern" you will see that helical antenna has quite erratic pattern towards back and sides, so I really don't know how it's going to behave. I'll try that the next time I go flying.
@RubinGrolsch8 жыл бұрын
Antti Vainik you could also use a stepper motor. They are just as easy to program using an arduino
@AnttiVainik8 жыл бұрын
True. Also tracking with steppers would be very precise. Servos are easier, everybody has them and everybody knows how they work. Just wanted to keep it simple.
@philaell6 жыл бұрын
I want to use this with 2 1.3ghz rx. There shouldn't be an issue as long as I can wire the Rssi to the arduino correct. Also would I be able to use a brushed/brushless motor instead of a servo? Thanks again for posting this.
@TheodorosBako6 жыл бұрын
Great Work!! Trying to build one myself. Thank you
@andreasvieweg96106 жыл бұрын
great and good working! I also made one with your code and two helical antennas. it works quite well. only problem I have is tracking close to the receiver. it starts moving away from the drone. Do you have an idea what to do?
@truog2003brasilia4 жыл бұрын
These tracker work with another receiver? Like RC832?
@ahmednasr99775 ай бұрын
hi antti .. my graduation project discussion will be tomorrow and i have a problem .. when i use 2 helical antennas the values of rssi never change .. i test the 2 helical and they work ..but when i use 2 omnidirectional the rssi values change ... i use RD945 diversity receiver and i can't find a solution .. I'd be grateful if you help me.
@AnttiVainik5 ай бұрын
Hard to say without seing your project, but one dumm mistake i've done is mix sma and rp-sma connectors. If there is absolutely no signal from one antenna, that could be the case.
@ChristianMixLocutor7 жыл бұрын
Very good project, but I have a doubt, I can do with 2 rx of video or it has to be the diversity? I understood that the logic would have to be diversity because in it has the signal that says to the board which antenna is stronger, and from what it has given to understand is that it is exactly that signal that informs the board the best atena that you use for tell arduino how the signal is, but I do not understand how he knows which way to go, when you answer here I buy the receiver, because I depend on your answer if I can use 2 simple receivers or it has to be really diversity. Thank you.
@AnttiVainik7 жыл бұрын
I just want to clarify one thing. Diversity is a way of choosing better signal and switching it to the (video)output. For RSSI tracking you don't need video diversity, you just need two video receivers with RSSI output (Arduino has nothing to do with video). All Arduino is doing here, is measuring two RSSI voltages from two receivers and turning servo towards better one. That being said, you can take two identical receivers, connect their RSSI pins to Arduino and start tracking. Now you connect the display to one of the receivers, and all you see is video from that receiver, there won't be diversity swithing. Is that a problem? Not necessarily. You have to keep in mind that usually you have one directional antenna and one omnidirectional. When you fly out of directional beam, diversity switches to omnidirectional antenna. But in our case you have two directional antennas which are constantly pointing at the VTX, so video signal is almost equally good (or bad) on both channels, no need to switch around. Of course this is in ideal conditions only. Sorry long explanation, I hope it answers your question.
@GodsLittlegizmoguy966 жыл бұрын
Nice tracker! I am also building a tracker with both right/left and up/down tracking for a senior design project. However, I've been running into some electrical noise issues. I've been reading about 0.4 volts with no signal source. Do you know what your RSSI voltage is when no signal source is present?
@AnttiVainik6 жыл бұрын
Actually yes, if you look at my arduino source you'll find RSSI_MAX=400 and RSSI_MIN=120. On a 5V arduino it means (400/1024)*5=1.95V at max rssi and (120/1024)*5V=0.59V at min rssi (plus minus some offset)
@GodsLittlegizmoguy966 жыл бұрын
Ok thanks for the reply! I think I'll probably go with an averaging filter, subtract out biases, and implement a threshold voltage in order to get as clean and accurate a signal as possible.
@FPV420.4 жыл бұрын
Awesome. Could you please advise me how did you find out RSSI_MIN and RSSI_MAX values in the arduino code?
@arielalvarez764 жыл бұрын
Following... My servo keeps on turning, my RSSI_MIN is 120 & MAX is 400. I tried different values from 0-50, 60-200 etc. but still the same... I am using RD945 diversity receiver.
@hassanhamdyseddik94468 ай бұрын
@@arielalvarez76 i also use RD945 what is the RSSI_MIN &RSSI_MAX you use ?
@hassanhamdyseddik94468 ай бұрын
@@arielalvarez76 Bro is RSSI Pin is 4th from right?
@ghostlyfrog95216 жыл бұрын
Can anyone help I'm trying to wire this together and the power comes from the xt60 up through the 5v step down, then where does it go connect directly to the servo connectors? How does the power connect into the arduino?
@dragon1219785 жыл бұрын
Hi well done awesome project, have you made any updates to the Arduino code or is their just this one the original one? It works really good I found if it looses me, it struggles to search/find me again, in the code is it suppose to search left to right if the signal is lost to search for the signal again? Is it possible to add that in Thankyou
@niedertron75437 жыл бұрын
Could someone please confirm that the required arduino model does have to be flashed prior to use? Thank you!
@AnttiVainik7 жыл бұрын
Yes, you need to flash it. The instructions are in github (link in the description). This project uses Timer.h, you will need to download this library from github as well and import it in Arduino IDE (links and instructions in github README.md)
@mikesmith12906 жыл бұрын
Just a quick question. I tried this on the quanum 2.4 version, and I'm not sure if the RSSI pins are the same as this one. How would you tell which one is for the RSSI signal?
@RubensCampello6 жыл бұрын
The rssi 2.4 pins are arranged laterally, not the same as the 5.8 (4th pin), just pick up the RX name written on it and find the datasheet. I did and it worked with these same code parameters but I will try to refine the settings. Good luck.
@airplanegeorge7 жыл бұрын
the replacement camera for the 110 says it is 12v, I measured the voltage at the camera connector and got 4.5. What voltage camera should I use for an upgrade. any camera you would recommend? I measured that voltage with the camera unplugged, is that ok, didn't seem to blow anything up. thanks for all the info, I ordered a couple of those cloverleaf antennas last week, would like to do both antena and camera mods, couldn't figure out how to adjust the focus till just now watching your video, so thanks for too. i'll try focusing it first but my main problem is picture breakup and those flashing colors you spoke of. that little 110 sure flies good though don't it?
@AnttiVainik7 жыл бұрын
Camera, cloverleaf? I'm guessing you commented on wrong video.
@airplanegeorge7 жыл бұрын
don't know how that could happen. guess I didn't notice the video had changed. your tracker is pretty cool though, saved your video for a future project. (after I get my camera working)
@AnttiVainik7 жыл бұрын
No problems, just thought to tell so you could get the answer to your question eventually :)
@ikerblancorodriguez8679 Жыл бұрын
Can I use fat shark receiver?
@spunashell6 жыл бұрын
You could build this with any diversity receiver right? As long as you can get the RSSI out of it? I am thinking of building it with 5808-based diversity receiver.
@AnttiVainik6 жыл бұрын
Pretty much yes. You need 2 separate receivers and 2 rssi signals, the you can do it.
@NOXFPV4 жыл бұрын
Can this be done with a non diversity rx?
@bawfpv5 жыл бұрын
hello antti, my tracker position is reversing, it should be left and right, but my drone moves to the left to the right tracker and vice versa. how to solve that problem ...
@AnttiVainik5 жыл бұрын
In the source code there is #define SERVO_DIRECTION 1, just change it to -1. It will reverse servo direction, simple as that.
@AnttiVainik5 жыл бұрын
If you are too lazy to modify the source code, you can just bend the antennas pointing inwards (cross eyed) or flip the receiver upside down, this should have same effect.
@bawfpv5 жыл бұрын
amazing...thank you antti ... it worked. Good luck. I'm waiting for the next video
@bawfpv5 жыл бұрын
@@AnttiVainik RSSI_OFFSET_RIGHT and RSSI_OFFSET_LEFT , filled with what number.....
@AnttiVainik5 жыл бұрын
If the tracker doesn't have constant offset in either direction, you can ignore this value.
@kermets6 жыл бұрын
Hello Antti, I just order the Rx from HK as they have free shipping at the moment and tried programming a nano and it seemed to take the sketch, as i dont have the RX to test do you think theres any reason the nano wont work ? it moved the servo by touching A0 and A1 with fingers. cheers Brett
@AnttiVainik6 жыл бұрын
If the servo moves by touching analog inputs then it's working, congratulations. You could wire a couple of potentiometers to A0 and A1 to simulate RSSI signal. Then you can go and play around with #define values to understand how everything works, while waiting for the RX.
@Ahsanullah-hk9rd4 жыл бұрын
I want to track drone which can be 200 km away from me. Is it Possible to do this using RC540R diversity video receiver. Thanks
@AnttiVainik4 жыл бұрын
Absolutely NOT. This tracker is relative, it does not know where your drone is. If tracker looses lock, it may not recover. I't's only good for proximity flying.
@williamtrepp5795 жыл бұрын
Does anyone know where the pin outs are for fat shark modules cause I’m curious if you could do this with rapid fire or true d or a combination of both!
@netmonk5 жыл бұрын
What's your pid for your tracker ? :)
@jameswebb81625 жыл бұрын
Killer video! Taking notes, thxs!!
@TopperDanny6 жыл бұрын
Hi, Got the set up all built and looking forward to using the idea. Only have had one issue so far which is that the servo isnt responding. I have it set on pin5 and powered from 5v. Ive tried a couple of different servos with no luck. Ive included the timer and servo libraries....any ideas???
@TopperDanny6 жыл бұрын
By no response I mean it just slowly ticks round to its max position then binds...
@AnttiVainik6 жыл бұрын
Hi. If it slowly ticks to max position it means that, arduino is working and performing calculations, analog measurements are measuring rssi values that are very close to each other (slow movement). I'm assuming you have vtx on an rx is set to corresponding channel. The next thing I would do, is check out debugging information via serial monitor (Tools/Serial Monitor in the IDE while everything is on and connected) Is it possible, you soldered RSSI measurements to wrong pins in vtx? If you cant figure it out, contact me at firstname.lastname at gmail.com
@zxrd27536 жыл бұрын
@@TopperDanny¿Resolviste el problema? lo mismo me pasa a mi
@Minerillo_FPV6 жыл бұрын
@@zxrd2753 Buenas, lo has resuelto tu? Yo estoy igual jajajaja, no se mueve el servo pero en el monitor veo que va variando poco a poco de un lado a otro...
@zxrd27536 жыл бұрын
@@Minerillo_FPV estoy a la espera de probarlo en el campo, en casa no funciona, pero mi servo si se mueve muy despacio hacia la antena dominante hasta que llega a los 180 grados y ahí se queda. si tapo la antena con la mano si gira al lado contrario, yo tengo el fr632, estoy seguro que es algún problema de calibración de los offsets o algún otro.
@josemezaferrada55607 жыл бұрын
if I use two video receptor of diversity, can i do the tracking in pan and tilt using the same program? can i use an arduino uno and a servo of 20 kg/cm?
@AnttiVainik7 жыл бұрын
Sure Arduino Uno will work, and I think pinout should be the same. 20kg/cm is ok, even though its quite big, I'm using 1.8kg/cm. Make sure your 5V regulator can supply enough current for your servo. Funny, I never thought you could use two diversity receivers, but it should work :D just turn one of them 90° for tilt. Cool!
@philaell8 жыл бұрын
Could you use any diversity reciever for this or does it have to be this one specifically? great job by the way.
@AnttiVainik8 жыл бұрын
Basically any receiver will do. All you need is 2 measurable RSSI outputs. The voltage range might be different than of RC540R, but that is easily compensated in code. I heard someone is using FR632 and Yang (in comments below) is using D58-2 receiver.
@captainKts4 жыл бұрын
@@AnttiVainik how do you know what pin is rssi output on the RX?
@igorg91505 ай бұрын
Why you stopped doing videos? Hope you are well.
@AnttiVainik5 ай бұрын
I got 2 small biological drones, they have endless batteries, never stop buzzing and require 24/7 maintenance. The last project I did took 2 years to complete (3d modeling, printing, arduinos, rf-modules and writing code) Every time I had a couple of hours, it took 1 hour to remember what I was doing. I've noticed that some other rc guys on youtube have experienced same fate. So I'm doing well, just taking care of my little drones. Best wishes to you.
@diystuff56288 жыл бұрын
suuper!!! dont forget to post the tilt addon !!! ;)
@AnttiVainik7 жыл бұрын
DIY stuff I was planning to, but now I have new hobby called parenting :D. Might take a week or a year or so ;)
@justinbledsoe82525 жыл бұрын
And the power and ground leads from the servos connect to the power and ground on the Arduino?
@captainKts4 жыл бұрын
Did you ever get the answer to this question?
@billybones13086 жыл бұрын
Hello Antti your antenna tracker looks fantastic. I will be putting one together. I have the sketch code that you used but need to know which library file that you used for the Arduino. Have you continued with the development by adding pitch yet?
@AnttiVainik6 жыл бұрын
I haven't had the time to develop pitch tracking, also partially because tracker works "fine" with horizontal only, unless you fly really really high. If you are referring to Timer.h the download link and installation instruction are mentioned in README.md
@billybones13086 жыл бұрын
Thanks for the quick reply Antti. I have the software ready to program the Arduino. Where did you connect the power lead and ground for the servos? Almost ready to start the build. Thanks Bill
@AnttiVainik6 жыл бұрын
Both, servo and arduino are fed from the 5V regulator. I soldered servo +5V and GND to the arduino, which in turn is soldered to the reg.
@kwaaaa7 жыл бұрын
Any adjustment in code or calibration needed to use the FR632 instead? I think max voltage for best RSSI is 1v for the FR632.
@AnttiVainik7 жыл бұрын
Yes, you need to find #define RSSI_MAX/MIN values. Uncomment debug section in code, and use serial monitor to find raw values. I think RC540 max rssi voltage is around 2V. // raw rssi values, use these for RSSI_MIN and RSSI_MAX //Serial.print("RAW RSSI: ");
@kwaaaa7 жыл бұрын
Excellent! Thanks a lot for sharing.
@NunoFlyer6 жыл бұрын
Hi, what is the values that you find to fr632? Can you share?
@NunoFlyer6 жыл бұрын
I checked in serial with FR632, RSSI% 5 , 44
@SzymekCRX7 жыл бұрын
wow, this is do simple yet ingenious ;-)
@jackhammell19266 жыл бұрын
Wow super cool You make it look so easy. So then could this work with other rx possibly?
@nic.h6 ай бұрын
As long as you can get two RSSI values. All it's doing is comparing those strengths and moving accordingly
@junsal46 жыл бұрын
Hello Antti, can I use a ATmega328P Nano? How do I wire it? It doesn't have 5, etc. Instead it has D2 to D13.
@TheWinnieston6 жыл бұрын
Don Sales yes, the pins are the same mostly. Just look up a pinout
@MrRampage456 жыл бұрын
Question????? Is the timmer file the only file i have to compile and up load this os my first arduino project.. please anyone
@sfersystem7 жыл бұрын
Great sharing !! Must we use two directional antenna or one cloverleaf for fly over and behind is possible ? thank you.
@AnttiVainik7 жыл бұрын
You'll need two directional antennas! As the name suggests Omnidirectional antenna can't tell which way stroner signal is. Current setup & firmware are good for flying in "front" of you, not behind or above.
@sfersystem7 жыл бұрын
With the second servo for tilt, it will be a real good solution, hope the software become compatible soon. Thanks for the fast reply and this good job.
@bondebos34785 жыл бұрын
Could i use patch antenna’s?
@kelleysislander7 жыл бұрын
I watched the video of how to include an Arduino library... So if I understand, we have ONE "Timer" library which has everything we need for the Arduio part of the project. The Arduino will run ONE library at a time, that being the one that is loaded, correct? So that once the Timer library is loaded the Aruino is then all set? Thanks, Bill
@AnttiVainik7 жыл бұрын
Hi Bill. Once the Timer library is loaded the Arduino is all set, correct! If you look at the code you will see lines like #include and #include those are all libraries and you can have as many as you need. With #include we tell our project to use a library. Before you can do that you need *import* the library into IDE (downloading a .ZIP file). Now all your projects can use that library. I hope this clears things up.
@kelleysislander7 жыл бұрын
Thanks for that, it really helps. And it`s great to now have that essential *obvious* step explained, that the libraries have to be imported first, so that timer.h can build correctly.
@AnttiVainik7 жыл бұрын
No problem. After you have uploaded the sketch, the next thing is to calibrate rssi min and max values. Dont hesitate to contact me.
@kelleysislander7 жыл бұрын
Thanks... OK, so to calibrate the RSSI values, first of all, where do we see the values displayed? Then, do we iteratively edit the values and recompile and upload the sketch, then repeat as necessary? Thanks, Bill
@AnttiVainik7 жыл бұрын
Sorry for the delay. In simple-rssi-antenna-tracker.ino sketch uncomment (remove //) //Serial.print("RAW RSSI: "); //Serial.print(avgLeft); //Serial.print(", "); //Serial.print(avgRight); Then upload the sketch and open /Tools/Serial monitor or press CTRL+SHIFT+M. Now you should see RAW RSSI values. See what they are with video transmitter off and on and assign those values to RSSI_MAX and RSSI_MIN.
@vannozRC-MTBvideo7 жыл бұрын
hello Andrey, one question: on the code I don't see any info in how about to set the channel where to take the RSSI
@AnttiVainik7 жыл бұрын
Hi, what do you mean by channel? Do you mean Arduino pin?
@vannozRC-MTBvideo7 жыл бұрын
hello!! I mean the VRX channel and band
@AnttiVainik7 жыл бұрын
Arduino doesn't do that. You set channel manually from vrx menus. Arduino doesn't need to know what channel you are on, it just monitors rssi levels and turns servo left or right. Does this answer your question?
@vannozRC-MTBvideo7 жыл бұрын
yes sure...i started from your code to built one tracker using two RX5805 modules...so now I shall understand how to set the channel on the VRX...thanks a lot
@AnttiVainik7 жыл бұрын
Okay now I understand :) well done! There is no support for changing channels at the moment. But it should be pretty easy, just connect some pins from Arduino to vrx ch1, ch2 and ch3 and set them in code. What kind of interface are you using to interface with arduino, buttons?
@huyle-868 жыл бұрын
Hello! I have some issues about RSSI. Follow your instruction, I used fr632 to out rssi RFA (left) and rssi RFB (right). But the raw value of rssi RFA is alway low than rssi RFB, so how can I calibrate it? Thanks so much for your help
@AnttiVainik8 жыл бұрын
In the code there are RSSI_OFFSET_LEFT and RSSI_OFFSET_RIGHT. Assign positive offset value to RSSI_OFFSET_LEFT, find value where A and B are equal.
@huyle-868 жыл бұрын
Thanks so much for your help! It's work fine. I cannot wait until the weekend to test it :)
@josemezaferrada55607 жыл бұрын
Hello Huy Le, when you used fr632, did you need to change the value rssi max and rssi min in the code?
@AnttiVainik7 жыл бұрын
I heard from another guy that FR632 RSSI_MAX is about half of default value. You can see raw value by uncommenting //Serial.print("RAW RSSI: "); section in the code and turn on serial monitor.
@josemezaferrada55607 жыл бұрын
and rssi min?
@icarusix87507 жыл бұрын
If I disconnect the servo potentiometer to make the servo spin through 360degrees, will the arduino code still work? Am trying to build it right now, just figuring out how to arduinoify for the first time
@AnttiVainik7 жыл бұрын
It won't work. Sorry it's not that simple. 1. Servo.h library will limit motion to 0-180deg. 2. You really need a servo that is ment to move 360deg. 3. You would need to do some changes in tracker code.
@icarusix87506 жыл бұрын
Antti Vainik thanks for the reply- its been a while but Ive decided to add a separate servo pot which is geared down so that it turns through 360° and your code still works. Thanks for your work, the setup has been working great for the past 7 or 8 months or so by the way!
@claudio25786 жыл бұрын
hi, i'm really interested about this 360 mod, do you have some photo? and if you want to share the code will be very appreciated =)
@villehammar31668 жыл бұрын
Nice!!! Really good video quality
@jester32656 жыл бұрын
Sorry this is an old video but there is not a lot of information on this diversity unit. What diversity lovely do you have set and what diversity time please? My thanks in advance.
@AnttiVainik6 жыл бұрын
Hi, DIVERSITY_TIME=1 and DIVERSITY_LVL=1. I got my values from RCModelRevievs. Cheers.
@jester32656 жыл бұрын
Antti Vainik Hiya, I couldn't find the field test with rcmodels However thats fantastic to see some figures, thank you so very much for taking time to reply. I will enter those figures asap and start to enjoy flying using diversity. Respect. .
@huyle-868 жыл бұрын
Nice project! Today I will do as your explained above. Hope it will be success! :)
@AnttiVainik8 жыл бұрын
Glad to hear! Link us a video when you get it working.
@droneman17993 жыл бұрын
Awesome project,,can you make video on how you program the arduino,i need full details,,make video on full tutorial,i see this video but its not complete,can you please make video to how program the arduino? Thanks for making the video
@TheGtech832 жыл бұрын
Such clean video, wow
@dutchflyingwings58627 жыл бұрын
Hi there Antti. Do you have any adea about the range of this setup? Cheers Arthur
@AnttiVainik7 жыл бұрын
Hi Arthur Ironically I never tested max range. Back then I didn't have anything with RTH. Now I have a Z-84 with iNav, but i'ts winter again, and flying is really challenging.
@dutchflyingwings58627 жыл бұрын
Looking forward to your experiment with the Z-84. Good choice for a wing :)
@isaacg.72886 жыл бұрын
So cool. Thank you for sharing
@arielalvarez764 жыл бұрын
Could you kindly add TILT function in the code?
@kwaaaa8 жыл бұрын
Very cool!! Are you adding tilt support soon?
@AnttiVainik8 жыл бұрын
Tilt is not as critical as pan, unless you fly 1km high, right above your head. I'd say you could get good reception kilometers away just by bending antennas slightly upward. Adding tilt with only 2 antennas is going to be tricky, I didn't think it thought initially, but I'm going to try. Is it going to happen soon, I don't know. Its winter time here in Finland, it gets dark around 4pm and its cold. I'm hoping people will pick up this project and do more testing.
@henryhartl8 жыл бұрын
Antti Vainik hi, maybe you try with Second diversity. With 3x helix and 1 cloverleaf. Use only 3 helix for rssi tracking.
@Ruben-fk7zz7 жыл бұрын
Does the pan and tilt funktion need more than two rssi values?
@AnttiVainik7 жыл бұрын
Preferably yes. With 3 rssi values pan & tilt is quite straight forward, no trickery required. With 2 rssi values pan is easy but for tilt you would have to move the tracker up, take a measurement, move down take a measurement, then compare which one was better and move back that way again. So that would make tilt tracking slower. Still I think its doable.
@Ruben-fk7zz7 жыл бұрын
Thanks!
@kwaaaa7 жыл бұрын
Just an idea, but I think some pilots fly higher altitude (long range) and some mostly horizontal speed (fpv racing). So there is some tracking speed priority either in tilt or pan, depending on how they fly, so maybe they can configure the antenna to match their flying style and configure it in the software as such. So, even though double sampling might make the tracker slower but usually only one axis is priority, at least in my experience.
@kelleysislander7 жыл бұрын
Hi, very cool tracker. I want to build one but the arduino source code link is dead and the HK servo link is dead. So cannot build one since no Arduino code. Can you re-post please?
@AnttiVainik7 жыл бұрын
Hi, I just checked all links and they are all valid! Can you google for "simple-rssi-antenna-tracker" at the moment, Github link is 3rd from the top.
@kelleysislander7 жыл бұрын
Thanks for that! I was using my iPhone and for some reason the link was giving a 404, but now in the actual browser it works ;)
@sukrukizil6 жыл бұрын
what about servo 360 degree or ??
@mukhdi805 жыл бұрын
If I use 360 servo will it spin
@BadWallaby7 жыл бұрын
AWESOME!! Will it go 360 degrees? If you fly behind it will it turn all the way around? or because the servo will only go left and right limited distances?
@AnttiVainik7 жыл бұрын
This one uses regular 180 degree servo, so it won't go around.
@Ammothief417 жыл бұрын
Awesome! I know a little arduino. Gives many ideas on using a 2nd receiver to triangulate position. Thanks!
@shaunvisser81555 жыл бұрын
Yes, it will, but you'll need 2 receivers on the servo. I'll be building one in the next few months, and try to get a 3rd receiver to put a third antenna above them, which could be used to tilt up. I'll need stronger servos as there will be quite a bit of weight on them. Seems like an interesting project, should be fun
@shamimmoohebati8 жыл бұрын
Thumbs up to you guys. this is the most easy and clean RSSI tracker I've seen here and there. Do you think I can use Nano 328? Thanks
@AnttiVainik8 жыл бұрын
Thanks Shamim! Arduino Nano is a very good choice because you can program it via USB. And probably will fit inside RC540 too.
@shamimmoohebati8 жыл бұрын
Thank you for your quick response. Actually I tried a few minutes ago but I got this error; "compilation terminated. exit status 1 Error compiling for board Arduino Nano" Any idea? I can connect the board and do some basic example like "blink" and it works with that command but I cant load or verify your codes.
@AnttiVainik8 жыл бұрын
I don't think this error is related to code. First make sure you have installed Servo and Timer libraries. After you have done that, try selecting Arduino Leonardo (or some other) as target and compile the code CTRL+R. Also you can try downloading an older version of Arduino IDE and try that. I've seen weird IDE behavior, when everything works on one computer, but not on another even IDE version is the same.
@shamimmoohebati8 жыл бұрын
Thank you for your help. I think I need to learn more about Arduino programming. I have just "simple-rssi-antenna-tracker.ino" file and I cant find libraries. Do you think you can help me through email? Really appreciate your time.
@AnttiVainik8 жыл бұрын
+Shamim Moohebati Sure mail me
@dragon1219787 жыл бұрын
Hey mate I just realised I am using the fr632 receiver what changes do I need to make in the code / programming thanks
@AnttiVainik7 жыл бұрын
No difference which one you use RC540 or RF632. In any case you will have to do the calibration: find RSSI_MIN/MAX values and RSSI_OFFSET_RIGHT/LEFT. Read the comments in the code for all #define's you'll get a picture what can you tweak.
@dragon1219787 жыл бұрын
Thanks , I'm new to arduino I don't understand the calibration etc could you explain very simply cheers
@AnttiVainik7 жыл бұрын
The video receiver outputs signal strength - RSSI as analog voltage, somewhere between 0 - 3V, Arduino converts that voltage to a numeric value between 0-1024. We need to know exactly what value represents 0% and 100% RSSI. That is #define RSSI_MAX/MIN. This is because every receiver is going to output different voltage. By changing RSSI_MAX/MIN you can find values that match your receiver. Obviously RSSI_MIN is when vtx is off and RSSI_MAX is when vtx is on, and very close. Then there is #define RSSI_OFFSET_RIGHT/LEFT. The two receivers inside your FR623 are going to be slightly different, one is going to be slightly better and it will output better RSSI all the time. This will cause the tracker to miss the target by some offset. I'm kind of repeating here what already says in the comments. How to find all these values? Connect Arduino to the computer, in the Arduino IDE open Tools/Serial monitor. A window opens where you can see left/right RSSI values etc. Now adjust RSSI_MAX/MIN in the code -> save & upload -> check Serial monitor again -> rinse and repeat. You dont really need to know much about Arduino, just read the comments in the code, change some #define values save & upload and see what happens. You'll be a programmer in no time ;)
@AnttiVainik7 жыл бұрын
Almost forgot...I made some changes in the code. Download the newest version github.com/andreiva/simple-rssi-antenna-tracker/archive/master.zip
@funaro137 жыл бұрын
Antti Vainik Is it possible to pan / tilt with this project?
@yang.64288 жыл бұрын
Thanks, I have succeeded in making the receiver using the D58-2 signal. Unfortunately, China can not find MG Servo 1.8kg TGY-9025MG steering gear, I use the GS-9025MG 9g GOTECK alternative to complete. Currently relatively stable, consult whether it can speed up the antenna rotation speed? :)
@AnttiVainik8 жыл бұрын
I'm glad to hear you have made one! It doesn't really matter which servo you use, any 9g servo is fine. To increase speed you need to change these lines. The simplest way is to assign a fixed value: // move towards stronger signal if (avgRight > avgLeft) { ang = 2 * (SERVO_DIRECTION * -1); } else { ang = 2 * (SERVO_DIRECTION); } But that will make tracker to rotate at constant speed at all times. A better way would be to use exponential curve: ang = pow(float(avgRight / avgLeft), 10) * (SERVO_DIRECTION * -1); You will have to experiment to find a good exponent value. 10 might be a good value to start with. Let me know how it goes.
@rcmodelsgr8 жыл бұрын
Nice job mate pls share the Arduino code thnx!!
@AnttiVainik8 жыл бұрын
Hi Yang, you wanted more speed. I added exponential and sigmoid tracking. Check out new code on Github.
@yang.64288 жыл бұрын
Wow! see the news, thank you for sharing. I'm going to download the update as soon as possible test results. These days after the snow to test, eager to see the effect. I am from advertising related work, before flying four axis aircraft never touched the microcontroller technology, this time without your help must not complete the production, thanks again. Expect more perfect results.
@yang.64288 жыл бұрын
In fact, many previous concerns about the RSSI device on the KZbin, this is the first time in your help to achieve production, feeling very cool, ha :)