Shop OBEX P1 Docs P2 Docs Learn Events
nRF24L01+ 2.4GHz radio tranceiver chip - driver ready — Parallax Forums

nRF24L01+ 2.4GHz radio tranceiver chip - driver ready

I have over the last few weeks enjoyed the challenge of making an SPI driver that I am happy with, and then a driver for the fabolus and cheap nRF24L01+ radio chip.
It is incredible how gratifying it can be to see 'Hello wireless world!' pop up on the screen, after being transmitted from one prop&nRF to another prop&nRF.
It has been a bit of a bumpy ride; one example is that some of the register bits wants to have a '1' written to it - when you want to reset it to '0'. Crazy.

Enjoy http://obex.parallax.com/object/829
Erlend

Comments

  • Nice work on both your new objects!
  • Thanks!
  • Make that three! new objects.
  • Erland, thanks for a great object. I'm glad Propeller users are paying attention to the nrf24L01 modules. Arduino users have a large library of code for it. There hasn't been much for Propeller users.
    I especially like that you wrote a method for frequency hopping. That should be very useful.
  • lardomlardom Posts: 1,659
    edited 2015-12-07 18:33
    (Typo that I coudn't delete)
  • Erland, I modified your DEMO (Erlands PTX) to increment a value without requiring keyboard input. (I also changed it to transmit and receive on channel 7 instead of channel 113.)
    In the "Transmitter" method "Bit_Count" increments but none of the 'IF" statements returned.
    I modified the DEMO a second time for (ErlandsPRX) but it does not appear to respond to the PTX. What am I missing?
  • If you want to transmit 1 byte, change nrf.SetPayloadWidth(0, 32) otherwise it will expect 31 more bytes.

    Erlend
  • Erlend,
    Thanks your development and sharing your work on the nRF24L01+ radio chip.
    I look forward to experimenting with the system.
  • Erland, I just noticed that I didn't change the pin numbers for my breadboards. Oops! It's working. Great object and well written. Thanks.
Sign In or Register to comment.