The Lora is based on RN2483 an uart RF module. LoraBerry PI V 2.2 is an extension board for RaspBerry Pi. It is an Open Hardware Design. It has two functionalities: a dual band Lora module and an on board Real Time clock powered by a 12 mm battery. In the following figure is shown the Board Top View. Microchip’s RN2483 Low-Power Long Range LoRa Technology Transceiver module provides an easy to use, low-power solution for long range wireless data transmission. The advanced command interface offers rapid time to market. The RN2483 module complies with the LoRaWAN Class A protocol specifications. It integrates RF, a baseband controller, command Application Programming Interface (API) processor, making it acomplete long range solution.

Raspberry Boards Compatibility

The LORABERRY is available on our shop at a price of 50€

RF Performance declared on datasheet:

  • Low-Power Long Range Transceiver Operating in the 433 MHz and 868 MHz Frequency Bands
  • High Receiver Sensitivity: Down to -146 dBm
  • TX Power: Adjustable up to +14 dBm high Efficiency PA
  • FSK, GFSK, and LoRa Technology Modulation
  • IIP3 = -11 dBm
  • Up to 15 km Coverage at Suburban and up to 5 km Coverage at Urban Area

 

LoraBerry PI 2.2 is composed by two blocks: one Lora Modules RN2483 U1 shown in and a Real Time Clock. The RN2483 is a stand-alone LORA Module controller with a standard UART interface.

U1 is connected on UART :

  • UART RX from PIN 8 TXD
  • UART TX from PIN 10 RXD
  • RST from GPIO25
  • CTS from GPIO17 (With 0 Ω )
  • RTS from GPIO16 (With 0 Ω )

It is important don’t switch the antennas, connector RFL (RF LOW) is for 433Mhz antenna, instead the RFH (RF High) is for 868 Mhz.

Antenna 433MHz

Antenna 868-915 MHz

Raspberry connector

RTC DS3231

LoraBerry V 2.2 Schematic

LoraBerry V 2.2 CAD File

LoraBerry V 2.2 Datasheet

Software configuration

As an example to understand the software configuration and the communications of Loraberry board, the demo scripts are provided in python. To download the python scripts. There are two main python scripts: “receiver.py” and “sender.py”.You can change and adapt the two scripts for your custom application. Parameters and settings of the module are very well detailed in the scripts. For fast test of LoraBerry boards, you can simply use the two standard scripts without any modifications. To use the standard scripts , you have to decide which Loraberry board is a receiver and which one is a transmitter. Also you have to decide whether you want communicate in 433MHz band or 868MHz band. You have to set the same frequency on both receiver and transmitter. To set the frequency on the receiver board, edit the “receiver.py” script with the command:

pi@raspberrypi ~ $ sudo nano receiver.py

Go to the line where the frequency is set, then set your operating frequency and comment the frequency which is not used as specified below:

# decimal representing the frequency,
# from 433000000 to 434800000 or from 863000000 to 870000000, in Hz.
#print(’cmd> radio set freq 868100000’)
#ser.write(b’radio set freq 868100000\r\n’)
print(’cmd> radio set freq 433100000’)
ser.write(b’radio set freq 433100000\r\n’)

To set the frequency on the transmitter board, edit the “sender.py” script with the command:
pi@raspberrypi ~ $ sudo nano sender.py

Go to the line where the frequency is set, then set your operating frequency and comment the frequency which is not used as specified below:

# decimal representing the frequency,
# from 433000000 to 434800000 or from 863000000 to 870000000, in Hz.
#print(’cmd> radio set freq 868100000’)
#ser.write(b’radio set freq 868100000\r\n’)
print(’cmd> radio set freq 433100000’)
ser.write(b’radio set freq 433100000\r\n’)

After this setting you can run the two scripts on receiver and transmitter board.
Run the “receiver.py” script on the receiver board with this command:
pi@raspberrypi ~ $ sudo python receiver.py
After running the script set the serial com: “/dev/ttyAMA0”

Run the “sender.py” script on the sender board with this command:
pi@raspberrypi ~ $ sudo python sender.py
After running the script set the serial com: “/dev/ttyAMA0”


Data on transmitter


Data on receiver

The LORABERRY is available on our shop at a price of 50€

How to use RTC DS1307Z (DS3231)

 

Certification Disclaimer

 

WirelessBerry V 1.0 is an extension board for RaspBerry Pi. It is an Open Hardware Design. It has two functionalities: a RFM module and an on board Real Time clock powered by a 12 mm battery.

Raspberry Boards Compatibility

WirelessBerry V1.0

 

The RF Module is based on SI4432 a SPI controlled single chip wireless ISM transceivers. The Si4432 offers advanced radio features including continuous frequency coverage from 240–960 MHz in 156 Hz or 312 Hz steps allowing precise tuning control. Additional system features such as an automatic wake-up timer, low battery detector, 64 byte TX/RX FIFOs, automatic packet handling, and preamble detection reduce overall current consumption and allow the use of lower-cost system MCUs. The RF module installed on WirelessBerry works in the following frequency range 410-440MHZ. The real time clock is based on DS3231 with internal oscillator I2C controller. It is full compatible with linux too. The spiral antenna is present, but not welded to reduce the dimensions and cost of shipping. It is possible to connnect an external antenna on X1 RF connector in order to increase the radio coverage.

WirelessBerry_bot

Ant

It is possible to buy this board for only 24€, the antenna kit is sold separately for 10€.

Hardware implementation

WirelessBerry PI 1.0 is composed by two blocks: a RF Module, and a Real Time Clock.

si4432

 

Software examples

Download Wheezy raspbian Prerequist:

1. SPI enabled
2. wiringPi installed

The demo codes are available for download on WirelessBerry web page

WiBerry-Server Software

WiBerry-Client Software

Wiberry_server

The Si4432 porting for Raspberry Pi derives from RadioHead RF22B library for Arduino.

Download

Schematic PDF

EalgeCAD File

WirelessBerry Datasheet 

 

How to use RTC DS1307Z (DS3231)

Certification Disclaimer

LoraBerry V 1.0 is an extension board for Raspberry Pi. It is an Open Hardware Design. It has two functionalities: a RFM module and an on board Real Time clock powered by a 12 mm battery.

Raspberry Boards Compatibility

WirelessBerry V1.0

 

The RF Module is based on SX127x a SPI controlled single chip wireless ISM transceivers. The SX127x transceivers feature the LoRa long range modem that provides ultra-long range spread spectrum communication and high interference immunity whilst minimising current consumption.

The SX127x features:

    • LoRaTM Modem
    • 168 dB maximum link budget
    • +20 dBm – 100 mW constant RF output vs. V supply
    • +14 dBm high efficiency PA
    • Programmable bit rate up to 300 kbps
    • High sensitivity: down to -148 dBm
    • Bullet-proof front end: IIP3 = -11 dBm
    • Excellent blocking immunity
    • Low RX current of 9.9 mA, 200 nA register retention
    • Fully integrated synthesizer with a resolution of 61 Hz
    • FSK, GFSK, MSK, GMSK, LoRaTMand OOK modulation
    • Built-in bit synchronizer for clock recovery
    • Preamble detection
    • 127 dB Dynamic Range RSSI
    • Automatic RF Sense and CAD with ultra-fast AFC
    • Packet engine up to 256 bytes with CRC
    • Built-in temperature sensor and low battery indicator

The real time clock is based on DS3231 with internal oscillator I2C controller. It is full compatible with linux too. The spiral antenna is present, but not welded to reduce the dimensions and cost of shipping. It is possible to connnect an external antenna on X1 RF connector in order to increase the radio coverage.

LoraBerry

Ant

 

Hardware implementation

LoraBerry PI 1.0 is composed by two blocks: a RF Module, and a Real Time Clock.

lora_module

Software examples

Download Wheezy raspbian Prerequist:

1. SPI enabled
2. wiringPi installed

 

The SX127x porting for Raspberry Pi derives from RadioHead RF22B library for Arduino.

Download

Schematic PDF

EalgeCAD File

 

How to use RTC DS1307Z (DS3231)

Certification Disclaimer