Main Menu

search

You are here

nRF24-1 General software configuration

[last updated: 2018-09-04]
return to nRF24 home page
-----

  • General hardware/software concept:
    • setup (bi-color) LED blinks red upon board reset, then goes solid red until setup routine is completed,
      then blinks green, then goes solid green at end of setup routine
    • red setup LED also blinks once/sec as a heartbeat.
    • xmit/rcv mode LED is red for transmit mode, green for receive.
    • Text strings are transmitted, rather then time/numbers as in orig pingpair
    • The same program is loaded into all nodes.
    • All nodes are receive nodes by default (contrary to orig code from maniacbug pingpair).
    • When PB is pressed (or potentially after any software trigger):
      • Nodes switch to transmit mode,
      • text message (currently hard-coded in sketch) is sent,
        • text message contains a header, which contains, among other things, the nodeID's of the sender and intended receiver.
      • after which, the sending node reverts to receive mode.
    • Auto ack (what I call "handshake" or HS) is enabled, for the receiver to signal to the transmitter that a message was received.
    • Programmed ack/response is also coded. Upon getting a message, the receiver will send a reply composed of the message that it received.
    • When the transmitter receives the ack/reply message from the receiver, if it matches the message it sent, then the "message-received" LED on transmit board blinks.
      if message send fails, then message fail LED on sender node comes on solid

-----------------------------------