A genius transmitter

Soundmodul für Fahrgeräusche (speziell für RC-Modelle). Der Nachfolger des USM-RC
Antworten
Leonard
Beiträge: 31
Registriert: Di 10. Jul 2012, 18:52

A genius transmitter

Beitrag von Leonard »

I have set up a FrSKY Taranis PLUS with OpenTX to be used with USM-RC-2.
The nice thing is that the transmitter can be programmed to allmost everything.
With using the EKMFA on channel 3 in Soundteacher you can control much more functions with one channel, but it is not easy to stand and count every time.
In OpenTX I have programmed the switches on the transmitter to send different counts off impulses, and with a little playing and testing it came to work.

That way I now can control much more with the switches:

SA up = Lights +
SA down = Lights -
SB up = Hazard
SB down = Front fog lights
SC up = Engine sound on/off
SC down = Sequence 1
SD ud = WAV-player on/off
SD down = WAV-player next
and while I am using a Servonaut E20 I have made it so the left stick right/left will turn on the indicators to right or left, but only then the throttle is not at the button, that is used to switch forward or backwards.

I have also made channel 4 on the Beier to be controlled with:
SH = Headlight flasher
SF = HornSchleife
SE up/down = IR Servo 2 up/down

IR Servo 1 are controlled directly with channnel 1

Must say that the idea was not mine, a have just adapted it to my model.
Feel free to answer in german, I can read it but not write it.

Leonard - DK
Benutzeravatar
BEIER-Electronic Andy
Administrator
Beiträge: 4151
Registriert: Mi 17. Dez 2008, 07:37

Re: A genius transmitter

Beitrag von BEIER-Electronic Andy »

Eine gute Idee und schön was man mit manchen Sender alles machen kann :)

Kannst Du vielleicht noch etwas genauer beschreiben, wie Du die Taranis programmiert hast?
Leonard
Beiträge: 31
Registriert: Di 10. Jul 2012, 18:52

Re: A genius transmitter

Beitrag von Leonard »

In OpenTX Companion it looks likes this:
Taranis-mixes.jpg
Taranis-mixes.jpg (70.82 KiB) 5191 mal betrachtet
Taranis-logical.jpg
Taranis-logical.jpg (169.74 KiB) 5191 mal betrachtet
Feel free to answer in german, I can read it but not write it.

Leonard - DK
Benutzeravatar
BEIER-Electronic Andy
Administrator
Beiträge: 4151
Registriert: Mi 17. Dez 2008, 07:37

Re: A genius transmitter

Beitrag von BEIER-Electronic Andy »

Danke!

Sieht zwar auf den ersten Blick etwas verwirrend aus, aber ich denke ich habe das Prinzip verstanden :D
G6SWJ
Beiträge: 8
Registriert: Do 6. Mär 2014, 11:22

Re: A genius transmitter

Beitrag von G6SWJ »

What a great solution. I am attempting to use the EKFMA trigger but sending the pwm pulses from a microcontroller (Arduino).

Do you know what the minimum pulse length can be in microseconds. I have it working but sending 15 pulses and gaps takes too long and I need to use the absolute minimum frame length. Do you know how the settings on the EKFMA page in Sound Teacher - "Activation delay" affect what I am trying to do.

Sorry lots of questions and a big thank you in advance of any info that may shed light on a solution
Regards
Jonathan
Benutzeravatar
BEIER-Electronic Andy
Administrator
Beiträge: 4151
Registriert: Mi 17. Dez 2008, 07:37

Re: A genius transmitter

Beitrag von BEIER-Electronic Andy »

Hello Jonathan,

first a question: Is your microcontroller in the radio or in the model?
G6SWJ
Beiträge: 8
Registriert: Do 6. Mär 2014, 11:22

Re: A genius transmitter

Beitrag von G6SWJ »

Hello - sorry for delay in responding.

So I have on the TX end - Touschscreen - Arduino - Frsky 2.4ghz

On the RX - FrySky RX - Arduino - USM RC2

So what is the quickest/shortest PWM frame I would need to trigger slot 3 ( 3 x in position A) for example:

from static 1500ms (mid stick)
2000ms for x ms
1500ms for y ms
2000ms for x ms
1500ms for y ms
2000ms for x ms
1500ms for y ms

What would be the values in ms for x and y? - How does the "Activation Delay" setting affect this

Thank you in advance - hope my detail makes sense!
Regards
Jonathan
Benutzeravatar
BEIER-Electronic Andy
Administrator
Beiträge: 4151
Registriert: Mi 17. Dez 2008, 07:37

Re: A genius transmitter

Beitrag von BEIER-Electronic Andy »

The standard frame rate between Tx <-> Rx is 20 ms. To ensure that every pulse hits least in one frame, the minimum pulse length (x and y) should be 30ms.

You can set the "Activation Delay" in this case to 80 ms (2 x 30 ms + 20 ms reserve). After every pulse (A or D) the "Activation Delay" time restarts in the USM-RC-2. If there are not more pulses (A or D) in this time, then the USM-RC-2 triggers the function.
Antworten