Arduino Pro Mini node compatible with nRF24Things (Android Things)
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
RF24Mesh
fritzing
.gitignore
LICENSE
README.md
arduino_nrf2401l+.fzz

README.md

nrf24amini

Arduino Pro Mini node compatible with nRF24Things (Android Things)

Requirements

Hardware

Software

Preview

nrf24amini

Connection

WiPy 3.0, MPU6055 & Micro Servo 9g
Fig. 1: FTDI-1232, Arduino Mini Pro (3.3V) & NRF24L01+

Please check that the Arduino Mini Pro is a 3.3V compatible version. The NRF24L01+ does not support 5V. If you use an Arduino 5V version, you need to not only supply the nrf24l01+ with 3.3V but also the signals (CE, CSN, MOSI, MISO) should be 3.3V too. The FTDI1232 board muss work with 3.3V too. The board that I linked in the section hardware has a jumper to set its voltage to 3.3V.

Instructions

  1. Connect the boards as described in the Connection section. Check voltage jumpers!
  2. Install the Arduino Ide and open it.
  3. Connect the FTDI1232 to your computer.
  4. Go to the menu "Tools" > "Programmer" and select "AVRISP mkII".
  5. Go to the menu "Board" and select "Arduino Pro or Pro Mini".
  6. Go to the menu "Processor" and select "ATMega328P (3.3V, 8MHz)".
  7. Go to the menu "Sketch" > "Include Library" and open "Manage Libraries"
    • Search for RF24 and install the following libraries:
      • RF24 by TMRh20 Version 1.3.1
      • RF24Network by TMRh20 Version 1.0.8
      • RF24Mesh by TMRh20 Version 1.0.51
  8. Go to the folder where the libraries were installed (on Windows - C:\Users\<user>\Documents\Arduino\libraries and edit the following files:
    • RF24Mesh\RF24Mesh_config.h [line 13]
      • #define MESH_DEFAULT_CHANNEL 76
    • RF24Network\RF24Network.cpp [line 1247-1248]
      • static uint8_t address_translation[] = { 0xc3,0x3c,0x33,0xce,0x3e,0xe3,0xec }
      • uint64_t result = 0xCCCCCCCCCCL;
  9. Upload the code with the Upload button, and have fun!

Credits

Libraries from TMRh20 and maniacbug:

Licenses

Licenses include, but are not limited to the following (check respective files):

  • GNU
  • Apache 2.0
  • etc...