Home - gralin/nrf24l01 GitHub Wiki

Sample application

Here are the steps to create a sample application that will run on 3 different FEZ devices. All boards will be communicating with each other wirelessly. The goal is to create a token passing system. One board is dedicated to generate a token (int) and pass it to next board. The board that received the packet performs custom operation on token (incrementation) and passes it to next board. If the board that created the token doesn't receive it within some specified time, it will create another one. If the next board is not available the sending board will keep repeating until it succeeds in delivering the packet. Along side with the token a delay value is sent in the packet. After receiving a packet and before sending to another board a delay is performed acording to the received value. The delay value is generated from reading a variable resistor connected to one of the boards.

  1. Choose/buy boards
  2. Choose/buy modules
  3. Wire modules to boards
  4. Download source code
  5. Deploy
  6. Test