nRF51 SDK - S110 SoftDevice
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Radio Transmitter Example for PCA10000 Board

The Radio Transmitter Example demonstrates how to transmit data using the NRF_RADIO peripheral. This project must be used together with the corresponding transmitter project for the PCA10001 board. A COM listener (like PUTTY) using UART, is used to command the PCA10000 board to send packets to the PCA10001 board telling it to turn on LEDs.

The example reads a character from the UART, and if it is '0' or '1' the character is placed in a one-byte payload and transmitted using the radio.

Setup

Insert the PCA10000 board in a USB slot, and find out which COM port it uses.

Testing

The Radio Transmitter Example Application can be tested as follows:

  1. Flash led_radio_example in the PCA10001 board folder to PCA10001 board.
  2. Flash led_radio_example in the PCA10000 board folder to PCA10000 board.
  3. Use a terminal program on your PC to connect to the PCA10000 board. 38400 bps, 8 data bits, 1 stop bit.
  4. Press '0' or '1' on your terminal. This will light up either LED0 or LED1 on PCA10001 board.