Here you can find several demo programs and instructions for using the RFLeo.
To use the RFLeo, you can either use the Arduino IDE or Atmel Studio.
We recommend the Arduino IDE for its ease of use and simplicity, but feel free to use any text-editor you prefer.
Here's an image of the RFLeo connected to the ICSP programmer. The programmer uses a 10-to-6 pin adapter to interface with the header on the device.
Here's an image of this setup:
Install the driver for the ISP programmer using Zadig (Windows only). This step is not needed on MacOS. Download the tool, and connect the ICSP cable. You will need the USBasp driver.
Open Zadig:
- Select
Options > List All Devices
to ensure you see your device - Choose
USBASP
from the dropdown - Select
WinUSB
driver and pressInstall Driver
Your driver will be installed and you can use the USBasp programmer!
The installation should look like this
Installing The Arduino Bootloader: Using the Arduino IDE:
- Select
Tools > Board > Arduino Leonardo
- Select
Tools > Programmer > USBAsp
- Select
Tools > Burn Bootloader
The burning process should take no longer than a minute. Once complete, restart the Arduino IDE, especially if you plan to bootload additional devices.
The RFLeo uses the Optimized High Speed NRF24L01 Driver (RF24) to communicate with the nRF24l01 tranceiver module. You can install it with the arduino IDE.
- Select
Tools > Manage Libraries
- Select
Type > All
- Select
Topic > Communication
- Type into the filter box
RF24
- Select the library entitled
RF24 by TMRh20
You are recommended to view the documentation for the library here.
Some important things to note when using the library:
- The maximum payload size is 32-bytes.