asebosnow.blogg.se

Pc remote receiver 5.2.3
Pc remote receiver 5.2.3















PC REMOTE RECEIVER 5.2.3 SERIAL

This information should be all that is required to write code on a computing platform of your choice, or to write a software application for a desktop machine to read transmitter channel data over a standard serial port. Binding is complete once the LED stays on constantly. Entry into binding mode is indicated by the receiver LED flashing. Figure 3 shows the sequence where the pulses are started 72mS after power up, and shows the set of eight 116uS pulses required to get the remote receiver into binding mode. Getting the remote receiver into binding mode is done by passing a set of pulses to the receiver approximately 72mS after power is applied. I abandoned my efforts to bind the remote receiver using my target hardware after I discovered this. The master and remote receivers do not have to be electrically connected for this to occur. A master receiver must be turned on in binding mode, and must be physically nearby for the binding to complete. Getting the remote receiver into binding mode is not difficult, but it will not complete the binding process with just the transmitter. As near as I can tell, these codes are passed between the master and remote receiver wirelessly after the master receiver has bound to the transmitter. Binding codes are not passed over the serial cable in binding mode, nor does the remote receiver get the codes directly from the transmitter. It is recommended that the Spektrum remote receivers be bound using the procedure outlined by Spektrum, as it is not a task that a typical target can perform. This value can range from 0 to 1023 to define a servo pulse width from approximately 0.74mS to 2.24mS. The data values range from about 170 through 853 to define a servo pulse width from 1.2mS to 1.8mS, or approximately 0.9uS/count. The channel numbers will range from 0 through 6 to define 7-channels of transmitter data. Other receivers send data in a different order such as 1, 5, 2, 3, 0, 4, and 6. Using table 3 above, the channel data can be translated to an order of Aileron, AUX1, Gear, Elevator, AUX2, Throttle, and Rudder. Notice that the channel data is sent in the order of channel 1, 5, 4, 2, 6, 0, and 3. Table 4: Example Spektrum Remote Receiver Serial Data The following example shows actual data sent from a Spektrum remote receiver: The channel number MUST be identified before its associated value can be used or stored by the target. The channel data is not sent in order, nor can the channel ordering be expected to remain constant. Table 3: Spektrum Channel Number Translation Table 2: Spektrum Transmitter Channel Data FormatĬhannel numbers are identified as follows: The 6 most significant bits of a 16-bit word identify the transmitter channel number, while the lower 10-bits contain the transmitter channel value as shown in Table 2. Table 1: Spektrum 16-byte Data Frame Format The location definitions of each byte is shown in Table 1. A closeup of the header word is shown in Figure 2. A total of 16-bytes are sent from the receiver representing the first two tossed-out bytes followed by 14-bytes defining 7 16-bit words of transmitter data. Each transmitter channel is represented by a 16-bit word where bits 0-9 represent the actual transmitter data and bits 10-15 represent the channel identifier. In my applications, I toss out the first two bytes and begin data retrieval from byte 2 (base zero). The first two bytes are usually the same for any given Spektrum remote receiver, and begin with a 0x01 or 0x03 followed by another byte that is not always the same on every receiver. In this context, a data frame is defined as a single group of 16-bytes containing a header word and all transmitter stick and position data.įigure 1: Spektrum Remote Receiver Data Frame All data is provided as a contiguous stream. The time between frames is approximately 22mS. The most significant byte is always sent first for each 16-bit word.ğigure 1 shows three data frames on the top with a closeup of the first frame on the bottom. A total of 16-bytes are sent with a 16-bit header word and seven 16-bit transmitter channel words. All data is sent at approximately 115.9K-baud. All data sent from a Spektrum receiver is sent using the familiar framed format of one start bit, 8 data bits, least significant bit first, no parity, and one stop bit. Once a Spektrum receiver is turned on, it will begin sending serial data as soon as it syncs up with the transmitter.















Pc remote receiver 5.2.3