Thread Tools
This thread is privately moderated by kallend, who may elect to delete unwanted replies.
Feb 28, 2014, 08:08 PM
Flying R/C since 1964
kallend's Avatar
Thread OP
Discussion

Using a DX9 to "strobe" LED lights


I have LED strips on my F550 with NAZA M. The attached spm file uses the DX9 sequencer to produce a strobe-like effect with the LEDs. The sequencer produces the "flash" effect and the mixer adds this to the selected output channel (AUX3 in my case). The mixer also adds in a value from one of the 3-way switches (I used switch D), so that the overall result is, depending on the switch position, that the LEDS are "off", "strobe", or "on".

The Rx AUX3 output drives the LEDs through an electronic on-off switch such as this http://hobbyking.com/hobbyking/store...ed_Switch.html

You may need to reverse the channel output depending on whether switch you use is active low or active high.

Edited to add: Whatever channel you choose to drive the lights needs to be assigned to INH in Channel Assign, so that the sequencer or switch can then be used to drive that channel using the MIXER function. I had the mixer set up to be controlled by Switch D. When Switch D is in the "2" position, it sends its own value (interpreted as "off") to the light control. In the "1" position it sends the sequencer strobe to the lights, and in the "0" position it sends its own value ("on") to the lights.
Last edited by kallend; Aug 11, 2015 at 09:35 AM.
Sign up now
to remove ads between posts
Oct 11, 2016, 05:15 AM
Landings are not optional!
W0WG's Avatar
Jul 24, 2017, 01:51 PM
Registered User
the Swamp Fox's Avatar
How's the surface finish ?
May 11, 2019, 07:39 AM
400' + is where fun starts.
Martin Y's Avatar
Nice idea do you have a video of how it looks.
Jul 22, 2019, 05:39 AM
ancora imparo
jj604's Avatar
Kallend that looks exactly what I was trying to do.

I will have a look at the .spm file.

I assume it is only this bit I will need.

<sequencer>
*Index= 0
conditionID= 240
activePositions=%0001
activePositionsRev=%00E4
speed= 512
speedDown= 512
textA="Strobe"
shortA="STR"
textB="Switch"
shortB="XXX"
sqPos: 0 1632 3264 16032 16368 16368 16368 16368
sqTargetA: -1023 -1023 1023 -1023 -1023 -1023 1023 1023
sqTargetB: -1023 -1023 -1023 -1023 1023 1023 -1023 -1023
sqPosRev: 0 1632 3264 16192 16368 16368 16368 16368
sqTargetARev: -1023 -1023 1023 -1023 -1023 -1023 1023 1023
sqTargetBRev: -1023 1023 1023 1023 1023 1023 -1023 -1023
sqStateOut: 0 1 2 3 4 4 4 4
sqStateOutRev: 0 1 2 3 4 4 4 4
sqStepsActive= 5
outMode_a= 1
outMode_b= 1
tripLow= -341
tripHigh= 341
</sequencer>

However it is probably simpler for me to load the whole file, ignore all the rest of it and manually transfer the Sequencer screen to my existing model.

Many thanks for this.

John


Quote:
Originally Posted by kallend
I have LED strips on my F550 with NAZA M. The attached spm file uses the DX9 sequencer to produce a strobe-like effect with the LEDs. The sequencer produces the "flash" effect and the mixer adds this to the selected output channel (AUX3 in my case). The mixer also adds in a value from one of the 3-way switches (I used switch D), so that the overall result is, depending on the switch position, that the LEDS are "off", "strobe", or "on".

The Rx AUX3 output drives the LEDs through an electronic on-off switch such as this http://hobbyking.com/hobbyking/store...ed_Switch.html

You may need to reverse the channel output depending on whether switch you use is active low or active high.

Edited to add: Whatever channel you choose to drive the lights needs to be assigned to INH in Channel Assign, so that the sequencer or switch can then be used to drive that channel using the MIXER function. I had the mixer set up to be controlled by Switch D. When Switch D is in the "2" position, it sends its own value (interpreted as "off") to the light control. In the "1" position it sends the sequencer strobe to the lights, and in the "0" position it sends its own value ("on") to the lights.
Jul 22, 2019, 02:57 PM
Flying R/C since 1964
kallend's Avatar
Thread OP
Made a "double-barrelled" one for my FMS F/A -18, to even out the off-axis illumination.
Jul 22, 2019, 07:16 PM
ancora imparo
jj604's Avatar
I just loaded your .spm file and had a look at the sequencer screens on the Tx. It's so much easier to understand when you have a working version and can follow the logic.

Many thanks for this.

However I cannot help comparing exactly the same solution in Airware and OpenTX.

John
Jul 22, 2019, 07:43 PM
If it flies, I can crash it.
rocketsled666's Avatar
I have red and blue high intensity LEDs on the right and left arms of my modified F550 (now closer to 650mm). Red facing back, blue facing forward. I have them rigged to turn on when the landing gear is retracted. But I like the idea of flashing. I probably would have rigged it with an Arduino, wouldn't have thought to use the sequencer for this. Nice...


Quick Reply
Message:
Thread Tools