Arduino Mega 2560
RF 2.4 GHz Transceivers are capable to transmit or receive radio frequency signals. The NRF24L01 transceiver IC is a stable choice for 2.4 GHz communication thanks to it's reliable architecture and CRC function. You simply need to wire the IC board to your microcontroller as you can see on the wiring diagram. The transceiver board communicates with the microcontroller using SPI. Wireless communication can be established between two microcontrollers by loading the code to both of them.
Required hardware
- Arduino Mega 2560
- NRF24L01
- NRF24L01 Adapter Module Board
- Voltage Regulator Module for 5V to 3.3V Conversion
Before you upload this code to your Arduino, please format the EEPROM...
RF 2,4 GHz receiver source code to install on controller
#include <OzIDManager.h> #include <OzRF24Transceiver.h> OzIDManager* manager; OzRF24Transceiver* RF24Transceiver; void setup(){ Serial.begin(115200); manager = new OzIDManager; manager->_sendACK = true; manager->_checksum = true; OzCommunication::setIDManager(manager); RF24Transceiver = new OzRF24Transceiver(7,8); int x = 1; manager->sendLinkSetup(); manager->PrintWelcomeLine(RF24Transceiver, x++, "MyRF24"); } void loop(){ OzCommunication::communicate(); RF24Transceiver->ownLoop(); }
RF 2,4 GHz transmitter source code to install on controller
This is the detailed description of Pac Man.