- On sale!

Reference: DWM14042301
Spring antenna is specialized for wireless data transmission. This antenna with good performance of V.S.W.R, small size design, easily installation, stable performance and good anti-shock and anti-aged compatible for Hoperf Modules.
Reference: DWM14032902
SMA rf antenna connector is pallets copper gold andexternal thread needle sma pallets plate rf connector.
Reference: DWM14032102
Whip antenna for sub-1 GHz, 433MHz,868MHz and 915MHz with SMA male connectors.it's used with wireless module recommanded by Hoperf .
Reference: DWM14042401
SMA RG178 extension female cable for GPS, GSM antenna,RF module, SMA cable,IPEX to SMA jumper cable.
Reference: DWM18032302
USD3.0/pcs MOQ100pcs LoRa Antenna designed for Lora application which required for outdoor waterproof highgain and work at ISM free band like 433MHz /868MHz /915MHz SMA Male Whip antenna.
Reference: DWM16121503
DWM-TLB-3.0QB SUB-1GHz / 2.4GHz Whip antenna with a Collapsible SMA male connectors.Which are available for 433MHz,868MHz.915MHz and 2.4GHz..
Reference: DWM15101001
Brand: Semtech
RFM50 module series’ design is based on the high performance RF50 SoC chip, It include a CIP-51 core‘ MCU and 100mW transceiver. It operate at 433/470/868/915 MHz ISM band, comply with FCC, ETSI regulation.
Reference: DWM15010504
Brand: Semtech
The RFM69CW /RFM69HCW are built in by SX1231and SX1231H which is ISM Free band transceiver module capable of operation over a wide frequency range, including the 433MHz,868MHz and 915MHz.
Getting started with LoRaWAN for Cypress PSoC 6 MCU based on LMiC to access to LoRaWAN TTN (The Things Network) using Dragino LoRa gateway, RFM95W.
LoRa is a relatively new physical wireless technology that allows Long Range communication with low power. It is focusing on IoT. Details can be found on the web site of the patent holder, company Semtech, https://www.semtech.com, and the community https://lora-alliance.org.
Based on LoRa technology the LoRaWAN is used globally to build up IoT networks (see Figure 1). IBM provides a free stack (LMiC) on https://github.com/mcci-catena/ibm-lmic/releases. One open source network is hosted by TTN, https://thethingsnetwork.org.
This project describes how to setup PSoC 6 MCU using LoRaWAN based on LMiC to access to TTN.
One Thing (device) consists of a PSoC 6 MCU pioneer kit (CY8CKIT-062-BLE) and an Arduino Shield (Dragino LoRa) with mounted LoRa radio module (RFM95W/RF96 = SX1276). Figure 1 shows the hardware setup. An existing Arduino LoRa project has been ported to PSoC Creator, the Hardware Abstraction Layer (HAL) has been adapted to PSoC 6 MCU, and the LoRaWAN stack was ported from IBM’s LMiC v1.6.
The following hardware is needed:
This shield is well documented and has its own website (Wiki-page) where all project details are listed: https://wiki.dragino.com/index.php
To use the shield on the PSoC 6 MCU Pioneer Kit the following jumper settings are required:
The shield uses a radio module RFM95W manufactured by HopeRF, based on Semtech SX1276.
Do not forget to mount the antenna and add the Dragino LoRa shield carefully to the PSoC 6 MCU Pioneer Kit, as shown in Figure 3.
In order to access to TheThingsNetwork a LoRa gateway must be reachable.
Whether there is a TTN LoRa Gateway nearby can be checked on the TTN website https://www.thethingsnetwork.org/. In our case, it wasn’t. So, we decided to buy a cheap Single-Channel-Gateway (Figure 4) and to realize our own gateway node connected to TTN.
The LG01-S is an open source single channel LoRa Gateway. It lets you bridge LoRa wireless network to an IP network via WiFi, Ethernet, 3G or 4G cellular.
Details are available here: https://www.dragino.com/products/lora/item/119-lg01-s.html
Note, Single-Channel-Gateways, like the LG01, have some limitations. They receive and transmit only on one channel and at one speed. Further, no downlink function is available, so it is not possible for applications to send messages (back) to a device. Not all networks will allow usage of Single-Channel-Gateways, but currently TTN does. So it was the cheapest and quickest solution to use it for the first LoRaWAN test described here.
On the Dragino website https://wiki.dragino.com/index.php?title=Connect_to_TTN it’s explained in details how to get the LG01 configured to be used on TTN.
The complete software project is attached to this project. Nevertheless, newer versions of the used stack may exist. The following section describes the used compilation:
In order to use the LMiC library for PSoC 6 MCU, respectively the PSoC Creator tools chain, several modifications have been required, one major issue was related to the usage of #defines:
Original:
#if name1 #elif name2 #endif
PSoC Creator:
#if defined(name1) #elif defined(name2) #endif
Overview about all changes done within LMiC v1.6:
hal.h:
#include "oslmic.h"
void hal_ticks_inc(void);
lmic.c
#if defined(name1) #elif defined(name2) #endif
lorabase.h
#include "oslmic.h"
oslmic.h
#ifndef OSTICKS_PER_SEC #define OSTICKS_PER_SEC 32768 #endif #if OSTICKS_PER_SEC < 10000 || OSTICKS_PER_SEC > 64516 #error Illegal OSTICKS_PER_SEC - must be … #endif
radio.c
#if defined(name1) #elif defined(name2) #endif
And finally, the HAL.c/.h needs to be implemented using the PSoC 6 MCU peripherals and API. Hence, this module has been written from scratch related to the header file and its functional specification.
Take care of the global defines done within PSoC Creator:
The attached project includes still 22 warnings (unused variables, signedness issues, etc.) that should be solved in future but does not impact the general testing.
As no public TTN gateway was reachable we have setup our own Single-Channel-Gateway, based on Dragino LG01-S. This gateway has been registered at TheThingsNetwork and shows up in the map (Figure 5, Figure 6) whenever connected to the network.
Within the network console the user can add his device(s), monitor whenever the device is connected to TTN and observe the received data packages (Uplink).
Figure 7 shows online that the Cypress gateway is connected and was seen last time just a minute ago. More than 200 messages have already been received.
Figure 8 shows one package that has been uploaded to the TheThingsNetwork by our PSoC6 device (registered as ‘psoc6lora’). The payload “PSoC6LoRa” was received by our own gateway, and more details like frequency and spreading factor are displayed.
After the initial test worked fine to bridge approx. 10 cm (see Figure 2) using LoRa communication to our own gateway, some further tests have been done while a customer visit in the Netherlands, what is a leading country in term of LoRa. From the hotel, approx. 6.7 km have been bridged to the next gateway as shown by Figure 9 and the gateway details in Figure 10.
While returning from the customer visit, driving through the Netherlands, the PSoC 6 MCU LoRa device was running in the car, and connected to several gateways next to the highway A12.
The PSoC 6 MCU with LoRaWAN software stack has entered successfully to the TheThingsNetwork.
This project should be taken as a very basic proof-of-concept, allowing to validate mainly the LMiC stack running on PSoC 6 MCU.
It does not claim to cover all LoRa aspects, especially related to distance range or low power considerations. Those investigations must be done within one of the next steps.
While some quick tests done in the Netherlands already external gateways in a distance of around 7 km have been reached.
Because only a Single-Channel-Gateway was available internally, not all features, like frequency hopping or downlink, could be evaluated yet. But as this is mainly part of the provided LMiC, it’s expected to work, too.
The completely ported software project is attached to this memo.
Next steps ... maybe to investigate on the low-power operation ... Stay tuned!
Usful Link:
Contact: Holger
Software: Cypress PSoC Creator
Reference: DWM16122201
The 433MHz /868MHz /915MHz Arduino LoRa Shield is a long range transceiver on a Arduino shield form factor and based on Open source library.Compatible with Arduino Leonardo, Uno, Mega, DUE.
Reference: DWM17032101
LoRa IoT Development Kit is designed to facilitate beginners and developers,The LoRa IoT kit will show how to build LoRa network, and how to use the network to send data from a LoRa sensor node to the cloud server.
Reference: DWM18110801
Build your own LoRaWAN "The Things Network" packet-forwarding gateway on Windows 10 IoT Core in native .NET code.
Reference: DWM18110901
Setting up a LoRa peer-2-peer communication by using CY8CKIT-062-BLE with Arduino Shield (Dragino LoRa, RFM95W).
Getting started with LoRaWAN for Cypress PSoC 6 MCU based on LMiC to access to LoRaWAN TTN (The Things Network) using Dragino LoRa gateway, RFM95W.