KISS ESC calibration with Taranis Sbus.

Radio, Telemetry, FTDI/USB, ESCs, Motors, etc.

KISS ESC calibration with Taranis Sbus.

Postby leopold1 » Tue Jan 06, 2015 4:00 pm

I would like to know if there is a way to calibrate the KISS ESC's through Sbus with the X8R from taranis.
With AQ you need to have an invertor. All outgoing signals from the taranis TX are therefore also INV. For example, my THR channel starts high and is then inverted and proparly managed by the AQ.
Now I would like to calibrate my KISS ESC's with the same RX.
Is there a way through AQ itself?
If I want to calibrate directly in ch 3 (THR) from my receiver, the signal is INV. So to commence throttle calibration I should keep the stick low?
But If I use Sbus, can I use PWM at the same time?
leopold1
 
Posts: 311
Joined: Tue Jul 31, 2012 11:43 pm
Location: Belgium

Re: KISS ESC calibration with Taranis Sbus.

Postby leopold1 » Sun Jan 18, 2015 10:08 pm

After some tinckering arround I finally found a solution.

First of all the X8R receiver has the capability of 16ch via Sbus. Fysicaly it has 8 pwm outputs.
The X8R has the option to be paired in different modes. More info at
http://www.fpvblog.com/rctech/how-to-bind-x8r-to-the-frsky-taranis-in-different-modes

I opted to go with mode 4 where ch1-8 goes via Sbus and ch 9-16 goes through the fysical pwm outputs.
Once I trimmed the mix for the THR channel I copied it with the opentx companion software to ch16. I also didn't invert it. This gives me the possibility to calibrate the ESC's the normal way with the same trims as through the Sbus.

Also I can use the remaining 7 channels to be used directly as pwm outputs to be used as pitch and yaw control for a 3 axis gimbal or led nav control among other things. This also means I don't have to use the passthrough option of the AQ.

Hope this is usefull for the Taranis users.
leopold1
 
Posts: 311
Joined: Tue Jul 31, 2012 11:43 pm
Location: Belgium

Re: KISS ESC calibration with Taranis Sbus.

Postby kinderkram » Sun Jan 18, 2015 10:21 pm

Surely will. Thx for tinkering!
kinderkram
 
Posts: 2911
Joined: Fri Jun 22, 2012 7:47 am

Re: KISS ESC calibration with Taranis Sbus.

Postby Altix » Mon Jan 19, 2015 12:57 pm

leopold1 wrote:After some tinckering arround I finally found a solution...


This is exactly the way, I'am building my Rubina X8 with KISS ESCs an AQ6 at the moment.

I'm not 100% certain, if I understood everything correctly, and I even didn't test it, but in case, one only needs three or four PWM channels, this might be another interesting alternative: http://eleccelerator.com/frsky-x4rsb-sb ... vert-hack/ It seems, on the smaller X4R receivers, there is an internal signal inverter for the SBUS, which can be bypassed. That means, no additional external inverter is needed. Depending on which typ of X4R Rx is used, SBUS and three or four PWM channels could be available (see also http://boltrc.com/blog/x4r-sbus-mod-how-to/ )
Regards, Michael
Altix
 
Posts: 45
Joined: Tue Nov 25, 2014 6:54 am
Location: Heiligenhaus, Germany

Re: KISS ESC calibration with Taranis Sbus.

Postby leopold1 » Wed Jan 21, 2015 11:02 pm

Nice find indeed!
leopold1
 
Posts: 311
Joined: Tue Jul 31, 2012 11:43 pm
Location: Belgium

Re: KISS ESC calibration with Taranis Sbus.

Postby kinderkram » Thu Jan 22, 2015 12:06 am

Question is: can you assign the throttle to one of the PWM channels when using SBus?

If the PWMs are only extra channels ranging from -700/0/+700 instead of 0-1400 you might not be able to use them for ESC calibration.
Dunno how configurable the Taranis is...
kinderkram
 
Posts: 2911
Joined: Fri Jun 22, 2012 7:47 am

Re: KISS ESC calibration with Taranis Sbus.

Postby Max » Thu Jan 22, 2015 1:04 am

Yes, nice find Michael! One less component is always good. Those tiny X4Rs are great, full range with replaceable antennas, and full telemetry.

Norbert, you can get any Tx channel to send any PWM range you want by adjusting end points. E.g. you could use a toggle switch just as well. Even on the X4R with only first 3 channels as PWM this shouldn't be a problem.

This has nothing to do with AQ at all, except that you want to match the same range as configured for Motor Minimum and Maximum PWM settings. Which, BTW, is very conservative -- you could easily go to 900-2100 and get higher overall resolution.

I'm confused by the OP -- inverting the S-Bus signal shouldn't affect the actual channel values at all. Regardless, to calibrate ESCs you just plug the ESC into the Rx directly (or all of them at once with a splitter). No AQ involved.

I was using a Hitec HPP-21 servo programmer the other day and realized it has a test mode which outputs precise PWM pulses (via a GUI on a computer). With a variety of modes and user-defined positions and end-points. Would be perfect to calibrate ESCs or even do motor thrust calculations. < $30.

My point is that any precise servo tester with a digital pulse display should work, or any other device capable of outputting a defined PWM pulse (fairly common in the RC world ;) ).

-Max
Max
 
Posts: 2814
Joined: Mon Aug 13, 2012 9:45 pm
Location: Near Ithaca, NY, USA

Re: KISS ESC calibration with Taranis Sbus.

Postby bluuu » Thu Jan 22, 2015 2:32 am

hmm I made simple PWM sender/programmer based on arduino (no matter what MCU we using)
It can calibrate ESC in 1 shot. Other way is using some Menno's code.
bluuu
 
Posts: 1339
Joined: Mon Oct 29, 2012 8:02 pm
Location: Poland, Silesia

Re: KISS ESC calibration with Taranis Sbus.

Postby sandmen » Thu Jan 22, 2015 2:30 pm

On Taranis and Sbus receiver (X8R, X4R) you can define your PWM output for calibrating ESC's.
Configure a switch, and map it to the HW-PWM channel.
For using the Telemetry you need only Smart.Port, and a inverter (74HC04) for example, and a 1N4148.
Then you can receive the "fake Telemetry".

I will push in the next time the source, and the LUA script for telemetry screen's.
On X4R, I have already done the hack, and of course there is nothing more to do.
sandmen
 
Posts: 997
Joined: Fri Jun 22, 2012 7:25 am


Return to Connections

Who is online

Users browsing this forum: No registered users and 2 guests

cron