Main Menu

search

You are here

nRF24: simplest program

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

  • After struggling with lots of iterations, I've decided to step back and write the simplest program that I can, that will successfully transmit and receive.
    To that end, I've researched a lot of options online. See links below.
    -------------------------------------------------
  • (abandoned) My first attempt used link-1 to Instructables:
    However it was written for the radiohead library, which has been replaced by the tmrh20 library.
    However it was too complicated to rewrite the instructable code to accommodate new library, because many functions were no longer used.
  • (rejected) Another option was to use the Getting Started example sketch in the Tmrh20 library itself. However I'm pretty sure I started there for the current long development I've been doing, so not much profit in repeating. Plus that example was more complicated and clever ("role" switching, etc) than what I'm looking for
  • (unsuccessful so far ...) The mechatronics link 2 looks very promising...
  • (rejected) The randomnerdtutorials link 4 also uses the radiohead library so I'll reject that one.
  • SeeedStudio link 5 looks promising ...
  • Arduino Forum link 6 also looks very promising ...
    -----------------------------------------------
  • 2020-04-12: problems getting anything to work. Discovered LNA-006 has apparently failed.
    Doing survey of things that worked:
    • Orig development:
      21c (orig dev, but rewritten at 20): works
      21d & e: don't work
      22 & 22a: rewrite attempt, don't work
      23, 23a & b: rewrite attempt, don't work
    • Mechatronics:
      26a-R program seems to be broke; no LED's light up, though ser mon says all OK...
      -----
      26c-T seems to work (except HS=0)
      26c-R receives nothing
      -----
    • Arduino Forum - 421081:
      27 T transmits repeatedly, but message does not increment
      27 R receives nothing

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

  • Links:

.

.

.

eof