Arduino Radio Control  Arduino Radio Control
http://www.reseau.org/arduinorc

HomePage

.

Selecting a model

The software manages 9 data sets, each one contains the settings for a distinct model.
Among these 9 models, only one is "active". The active model is the one which settings are used to compute the PPM signal.
The LED flashes continuously the active model number when the Tx is in Transmission mode.
The buzzer plays this code 3 times.

There are 2 ways to select a model:

  • if the transmitter is connected to a PC: typing the MODEL command
  • if the transmitter is disconnected (you are on the field): using the Model switch

The MODEL command:
You select a model by typing MODEL and the desired number. Once selected, this model becomes the "active" model. For instance, to select model #2:

1>MODEL 2
2>

Notice that the figure before the ">" is now 2. This is the active model, this number is stored in the CDS (Current Data Set) global variable.

The Model switch:
The way this switch works depends on the MODEL_SWITCH_BEHAVIOUR constant defined in arduinotx_config.h

1. MODEL_SWITCH_BEHAVIOUR = MODEL_SWITCH_SIMPLE
This was the default until version 1.4.0. The switch has 2 stable positions and you can switch between 2 models:
  • When the Model switch is opened, the active model number is given by the CDS global variable.
    You set this variable with the MODEL command above.
  • When the Model switch is closed, the active model number is given by the ADS (Alternate Data Set) global variable.
    You set this variable with the usual assignement command: ADS=m where "m" is the model number.
    Example of Model switch configuration: here we'll activate model #2 when the switch is opened and model #5 when the switch is closed:
1>MODEL 2
2>ADS=5
2>
  • The switch works in Transmission mode.
2. MODEL_SWITCH_BEHAVIOUR = MODEL_SWITCH_STEPPING
This is the default since version 1.5.5. The switch is a push-button:
  • switch to Command mode (no need to connect a PC)
  • press the Model switch briefly: each time you press it, the active model is incremented. When model #9 is reached it restarts from 1.
  • switch back to Transmission mode, and check that you selected the right model with the morse code flashed on the LED.
  • moving this switch while in Transmission mode has no effect.
3. MODEL_SWITCH_BEHAVIOUR = MODEL_SWITCH_ROTATING
The switch is a 10-positions rotating switch with a chicken head knob:
  • switch to Command mode (no need to connect a PC)
  • turn the knob to the position corresponding to your model
  • switch back to Transmission mode, and check that you selected the right model with the morse code flashed on the LED.
  • moving this switch while in Transmission mode has no effect.
 
Return to index of Command mode
 
Page last modified on June 08, 2014, at 04:31 PM