This is the multi-page printable view of this section. Click here to print...

Return to the regular view of this page

As of 2025-07-24

Advanced Digital Transmission with Remote Control App

Use the Remote Control App to access advanced features specialized for digital signals
    By writing the firmware from Extremely Simple! Standard App (App_Twelite) to the Remote Control App (App_IO), you can access advanced features specialized for digital signals.

    Products Used

    TWELITE DIPTWELITE R2
    TWELITE Parent/ChildUSB Adapter
    Extremely Simple! Standard App-
    2 units1 unit

    Remote Control App

    Write the TWELITE firmware to the Remote Control App (App_IO), which is specialized for digital signal transmission. While the Extremely Simple! Standard App supports digital signal transmission, its I/O is limited to 4 lines. The Remote Control App expands the number of I/O and allows you to switch their combinations.

    Writing the Firmware

    Write the firmware to all Parent, Child, and other devices as follows:

    1. Install the TWELITE STAGE SDK and launch the TWELITE STAGE App
    2. Select the connected device from Serial Port Selection
    3. From the Main Menu, select 2: Firmware Write
    4. Select 1: Select from BIN and choose App_IO...
    5. Press Enter several times until writing is complete

    Try It Out

    By default, the Remote Control App is configured for one-way transmission, with the Child having 12 digital input ports and the Parent having 12 digital output ports. Let’s do the wiring.

    NameChildParentStandardDIP #
    I1/O5I1O5DI115
    I2/O6I2O6DI216
    I3/O7I3O7DI317
    I4/O8I4O8DI418
    I5/O1I5O1DO15
    I6/O2I6O2DO28
    I7/O3I7O3DO39
    I8/O4I8O4DO412
    I9/O9I9O9SCL2
    I10/O10I10O10SDA19
    I11/O11I11O11PWM14
    I12/O12I12O12PWM411

    Parent Wiring

    In the default state, the Parent can receive up to 12 digital signals.

    Parent wiring diagram

    Parent wiring diagram

    In the diagram above, DIP pin 9 (O3) is used as an output, but other Ox pins can be used similarly. To test the channel override function, which is not available in the Extremely Simple! Standard App, a tactile switch is connected to DIP pin 23 (C1).

    Child Wiring

    In the default state, the Child can send up to 12 digital signals.

    Child wiring diagram

    Child wiring diagram

    In the diagram above, DIP pin 17 (I3) is used as an input, but other Ix pins can be used similarly. Similarly, to test the channel override function, a tactile switch is connected to DIP pin 23 (C1).

    Operation Check

    • Press and release the button connected to the Child’s I3.
      • The LED connected to the Parent’s O3 will turn on and off accordingly.
    • While pressing the button connected to the Child’s C1, press and release the button on I3.
      • Communication will not occur because the Child’s frequency channel is temporarily overridden.
    • While pressing the buttons connected to both the Parent’s and Child’s C1, press and release the button connected to the Child’s I3.
      • Communication will resume because both Parent and Child frequency channels are overridden to match.

    Using Advanced Features

    Let’s try changing settings in Interactive Mode for the following scenarios:

    • Change the I/O assignment so both Child and Parent have 6 inputs and 6 outputs each
    • Reflect the Child’s input to the Parent as quickly as possible
    • Restore output signals if packets are lost
    • Use the Child as a low-power remote
    • Use the Child as a low-power remote supporting continuous transmission by long press

    Assigning 6 Inputs and 6 Outputs to Both Child and Parent

    By changing the value of Option Bits in Interactive Mode, you can select the I/O assignment from the following options:

    Child InputChild OutputParent InputParent OutputNote
    120012Default
    8448Option Bit 0x00001000
    6666Option Bit 0x00002000
    012120Option Bit 0x00003000

    Let’s set both devices to have 6 inputs and 6 outputs.

    1. Launch the TWELITE STAGE App
    2. Select the connected device from Serial Port Selection
    3. From the Main Menu, select 3: Interactive Mode
    4. Press Enter and confirm that the settings list is shown
    5. Enter o (lowercase), input the Option Bits value 00002000, and press Enter
    6. Enter S (uppercase) to save, then press ESC to exit

    Now, the assignment with both Child and Parent having 6 inputs and 6 outputs will be as follows:

    NameChildParentStandardDIP #
    I1/O5I1I1DI115
    I2/O6I2I2DI216
    I3/O7I3I3DI317
    I4/O8I4I4DI418
    I5/O1O1O1DO15
    I6/O2O2O2DO28
    I7/O3O3O3DO39
    I8/O4O4O4DO412
    I9/O9O5I5SCL2
    I10/O10O6I6SDA19
    I11/O11I5O5PWM14
    I12/O12I6O6PWM411

    Reflecting Child Input to Parent Output as Fast as Possible

    When using the Child’s continuous mode, there is usually a delay of about 30-70ms from Child input to Parent output. If you need faster response, set Option Bits 0x00000001: Low Latency Mode via Interactive Mode.

    Child Settings

    1. Launch the TWELITE STAGE App
    2. Select the connected device from Serial Port Selection
    3. From the Main Menu, select 3: Interactive Mode
    4. Press Enter and confirm that the settings list is shown
    5. Enter o (lowercase), input the Option Bits value 00000001, and press Enter
    6. Enter S (uppercase) to save, then press ESC to exit

    Restoring Output Signals When Packets Are Lost

    If radio communication is interrupted while any input is held Low, the output will remain Low even if the actual input returns to High.

    To return the signal to its original state when packets are lost, enable Remote Long Press Mode. In this mode, after the sending side input changes, the signal is sent continuously for a while. On the receiving side, if no packet indicating a Low state is received for a certain period, the output times out and returns to High.

    Child Settings

    1. Set M1/M2/M3 open, and set Child: Continuous Mode
    2. Launch the TWELITE STAGE App
    3. Select the connected device from Serial Port Selection
    4. From the Main Menu, select 3: Interactive Mode
    5. Press Enter and confirm that the settings list is shown
    6. Enter o (lowercase), input the Option Bits value 00000100 and press Enter
    7. Enter d (lowercase), input the hold/long-press target (for example, 000000001010 for I2 and I4), and press Enter
    8. Enter D (uppercase), input the hold/long-press time (the duration to continue sending after all inputs return from Low to High), and press Enter
    9. Enter S (uppercase) to save, then press ESC to exit

    Parent Settings

    1. Set M1/M2/M3 open, and set Child: Continuous Mode
    2. Launch the TWELITE STAGE App
    3. Select the connected device from Serial Port Selection
    4. From the Main Menu, select 3: Interactive Mode
    5. Press Enter and confirm that the settings list is shown
    6. Enter o (lowercase), input the Option Bits value 00000100 and press Enter
    7. Enter d (lowercase), input the hold/long-press target (for example, 000000001010 for O2 and O4), and press Enter
    8. Enter D (uppercase), input the hold/long-press time (the duration to return the output from Low to High after signal loss), and press Enter
    9. Enter S (uppercase) to save, then press ESC to exit

    Using the Child as a Low Power Remote

    If the Child is battery-powered, intermittent mode, which alternates sleep and wake, is effective. By combining Low Latency Mode and Hold Mode, the Parent’s output can be maintained for a set time when the Child’s button is pressed.

    Child Settings

    1. Connect M1/M2/M3 to GND and set Child: Intermittent 10s Mode
    2. Launch the TWELITE STAGE App
    3. Select the connected device from Serial Port Selection
    4. From the Main Menu, select 3: Interactive Mode
    5. Press Enter and confirm that the settings list is shown
    6. Enter o (lowercase), input the Option Bits value 00000001 and press Enter
    7. Enter S (uppercase) to save, then press ESC to exit

    Parent Settings

    1. Set M1/M2/M3 open, and set Child: Continuous Mode
    2. Launch the TWELITE STAGE App
    3. Select the connected device from Serial Port Selection
    4. From the Main Menu, select 3: Interactive Mode
    5. Press Enter and confirm that the settings list is shown
    6. Enter d (lowercase), input the hold/long-press target (for example, 000000001010 for O2 and O4), and press Enter
    7. Enter D (uppercase), input the hold/long-press time (hold time), and press Enter
    8. Enter S (uppercase) to save, then press ESC to exit

    Using the Child as a Low Power Remote with Long Press

    If the Child is battery-powered, intermittent mode is effective. By combining Low Latency Mode and Remote Long Press Mode, the Child can continuously send data to the Parent while a button is held. Even after the button is released, the Child continues sending for a set period, and on the Parent side, if radio packets indicating the button remains pressed are lost for a set period, the output returns to its original state. This ensures reliable delivery of the Child’s input even in low-power operation.

    Child Settings

    1. Connect M1/M2/M3 to GND and set Child: Intermittent 10s Mode
    2. Launch the TWELITE STAGE App
    3. Select the connected device from Serial Port Selection
    4. From the Main Menu, select 3: Interactive Mode
    5. Press Enter and confirm that the settings list is shown
    6. Enter o (lowercase), input the Option Bits value 00000103 (00000100+00000001+00000002), and press Enter
    7. Enter d (lowercase), input the hold/long-press target (for example, 000000001010 for I2 and I4), and press Enter
    8. Enter D (uppercase), input the hold/long-press time (the duration to continue sending after all inputs return from Low to High), and press Enter
    9. Enter S (uppercase) to save, then press ESC to exit

    Parent Settings

    1. Set M1/M2/M3 open, and set Child: Continuous Mode
    2. Launch the TWELITE STAGE App
    3. Select the connected device from Serial Port Selection
    4. From the Main Menu, select 3: Interactive Mode
    5. Press Enter and confirm that the settings list is shown
    6. Enter o (lowercase), input the Option Bits value 00000100 and press Enter
    7. Enter d (lowercase), input the hold/long-press target (for example, 000000001010 for O2 and O4), and press Enter
    8. Enter D (uppercase), input the hold/long-press time (the duration to return the output from Low to High after signal loss), and press Enter
    9. Enter S (uppercase) to save, then press ESC to exit