
VMA322
V. 02 – 08/05/2019
3
©Velleman nv
5.
Overview
VMA322
This module based on Nordic nRF24L01, highly integrated, ultra-low power (ULP) 2 Mbps RF transceiver for
the 2.4 GHz ISM (Industrial, Scientific and Medical) band. Nordic n integrates a complete 2.4 GHz
RF transceiver, RF synthesizer, and baseband logic including the Enhanced ShockBurst™ hardware protocol
accelerator supporting a high-speed SPI interface for the application controller.
power supply: 1.9 to 3.6 V
IO port working voltage: 0-3.3 V
transmitting rate: +7 dB
receiving sensitivity: < 90 dB
transmission range: 250 m in open area
dimensions: 15 x 29 mm
6.
Example
You will need two Arduino
®
boards and at least two RF modules, one to transmit and the other to receive. If
you use a standard Arduino
®
board, you should use the Arduino
®
board’s 3.3 V pin (VDD3V3) to provide power
(the nRF24L01 module has 1.9-3.6 V power voltage level). Please note: do not use 5 V pin (VDD5V) to provide
power as this may destroy the module.
VMA322
VMA100
GND
GND
VCC
3.3V
CS
D8
CSN
D9
SCK
D10
MOSI
D11
MISO
D12
IRQ
D13
Download the code below into the TX Arduino
®
(transmit). This code will drive the nRF24L01 module to send
out data form 0×00 to 0xFF.
// Code Begin
#include "NRF24L01.h"
//***************************************************
#define TX_ADR_WIDTH 5 // 5 unsigned chars TX(RX) address width
#define TX_PLOAD_WIDTH 32 // 32 unsigned chars TX payload
unsigned char TX_ADDRESS[TX_ADR_WIDTH] =
{
0x34,0x43,0x10,0x10,0x01
}; // Define a static TX address
unsigned char rx_buf[TX_PLOAD_WIDTH] = {0}; // initialize value
unsigned char tx_buf[TX_PLOAD_WIDTH] = {0};
//***************************************************
void setup()
{