nRF24L01 Tranciever Class
This project has as goal to provide support for the nRF24L01 Tranciever on the .NET Micro Framework. I ordered two modules from Olimex for this. One module goes on the non-TFT Embedded Master and one on the TFT Embedded Master.
As a start how to use the nRF24L01 tranciever I found this website:
http://dev.ivanov.eu/projects/msp430-4619lcd_sample/nrf24l01_8c.html
I made a simple class for the nRF24L01. You should adapt it for you’re own project. You can use it as a starting point. Value’s for the Registers, Mnemonics and Commands are included.
I also made a test program showcasing the class. You need two .NET Micro Framework devices or you must write you’re own class for another MCU. The program works as this:
When you start the program it ask you to press the left or right key selecting the role: sender or reciever.
Sender:
- Keeps sending a counter value. On succesfull transmition it increases the counter (up to 100, then it resets).
- On error it decreases the counter.
Reciever:
- Displays the last recieved data byte
You can download the full Visual Studio 2005 solution here: NRF24L01_Sender.zip
Video showing the test program running on two Embedded Masters:
Recent Comments