Semtech SX1302
Semtech SX1302
EU868 (863-870 MHz)
2x SMA connectors for external antennas
1x Gigabit Ethernet port, 1x Wi-Fi (2.4 GHz)
12V DC, 1A (via power adapter)
-20C to 70C
73 mm x 43 mm x 20 mm
### LoRaWAN Performance
-142 dBm
Up to 20 dBm
SF5-SF12
125 kHz, 250 kHz, 500 kHz
BPSK, FSK
### Network
LoRaWAN 1.0.2, Wi-Fi 802.11 b/g/n, Ethernet
AES-128 encryption, secure boot
Upgradable via Ethernet or Wi-Fi
### Management and Integration
For configuration, monitoring, and debugging
Support for LoRaWAN server APIs (e.g., The Things Network, LoRaWAN Server)
Compatible with popular IoT platforms and cloud services
### Certifications and Compliance
CE/FCC/TELEC certified
Compliant with LoRaWAN 1.0.2 specification
RoHS and WEEE compliant
Applications
| The SenseCAP M2 Multi-Platform LoRaWAN Indoor Gateway (SX1302) - EU868 is suitable for various IoT applications, including |
Smart Buildings and Home Automation
Industrial IoT and Automation
Smart Cities and Infrastructure
Environmental Monitoring
Asset Tracking and Management
Resources
Available upon request
Provided with the product
Available on the manufacturer's website
The SenseCAP M2 Gateway is a reliable and versatile solution for indoor LoRaWAN applications, offering a robust and scalable platform for IoT deployments in the European region.
SenseCAP M2 Multi-Platform LoRaWAN Indoor Gateway (SX1302) - EU868 DocumentationOverviewThe SenseCAP M2 Multi-Platform LoRaWAN Indoor Gateway (SX1302) - EU868 is a high-performance, low-power LoRaWAN gateway designed for indoor use cases. It supports multiple platforms, including Raspberry Pi, Windows, and Linux, and operates on the EU868 frequency band. This gateway is ideal for IoT applications requiring reliable, long-range, and low-power wireless communication.Technical SpecificationsFrequency Band: EU868
Spreading Factor: SF7 to SF12
Bandwidth: 125 kHz to 500 kHz
Sensitivity: -137 dBm
Transmission Power: up to 27 dBm
Interface: Ethernet, WiFi, and USB
Power Consumption: < 10WHardware RequirementsSenseCAP M2 Multi-Platform LoRaWAN Indoor Gateway (SX1302) - EU868
Power supply ( DC 5V, 2A)
Antenna (optional)Software RequirementsOperating System: Raspberry Pi OS, Windows, or Linux
LoRaWAN network server software (e.g., ChirpStack, The Things Network)Code Examples### Example 1: Setting up the Gateway with ChirpStack (Raspberry Pi)In this example, we will demonstrate how to set up the SenseCAP M2 gateway with ChirpStack on a Raspberry Pi.Hardware RequirementsRaspberry Pi 4
SenseCAP M2 Multi-Platform LoRaWAN Indoor Gateway (SX1302) - EU868
Power supply (DC 5V, 2A)
Antenna (optional)Software RequirementsRaspberry Pi OS
ChirpStack (installed on the Raspberry Pi)Code1. Install ChirpStack on the Raspberry Pi using the following command:
```
sudo apt-get install chirpstack
```
2. Configure the ChirpStack network server by creating a new file `/etc/chirpstack/chirpstack.toml` with the following content:
```
[general]
log_level = "DEBUG"[lorawan]
band = "EU868"[gateway]
id = " SenseCAP_M2_GW"
name = "SenseCAP M2 Gateway"
description = "Indoor LoRaWAN Gateway"
location = " Indoor"
mqtt_server = "localhost:1883"
mqtt_username = "your_username"
mqtt_password = "your_password"
```
3. Restart the ChirpStack service to apply the changes:
```
sudo systemctl restart chirpstack
```
4. Connect to the ChirpStack web interface using a web browser and navigate to the Gateways section to verify the gateway's status.### Example 2: Sending Data to The Things Network (TTN) using Python (Windows or Linux)In this example, we will demonstrate how to use the SenseCAP M2 gateway to send data to The Things Network (TTN) using Python.Hardware RequirementsSenseCAP M2 Multi-Platform LoRaWAN Indoor Gateway (SX1302) - EU868
Power supply (DC 5V, 2A)
Antenna (optional)Software RequirementsPython 3.x
`pylorawan` library (installed using `pip install pylorawan`)
TTN account and device credentialsCode1. Install the `pylorawan` library using pip:
```
pip install pylorawan
```
2. Create a new Python script and import the required libraries:
```
import pylorawan
from pylorawan lorawan import LoRaWAN
```
3. Initialize the LoRaWAN object with the SenseCAP M2 gateway:
```
lorawan = LoRaWAN(
freq_band=pylorawan.LoRaWAN.EU868,
gateway_id="your_gateway_id",
gateway_key="your_gateway_key"
)
```
4. Define the payload to be sent:
```
payload = "Hello, TTN!"
```
5. Send the payload to TTN using the `send` method:
```
lorawan.send(payload)
```
6. Verify the data receipt on the TTN console.Note: Replace `your_gateway_id` and `your_gateway_key` with your actual TTN gateway credentials.These examples demonstrate the basic setup and usage of the SenseCAP M2 Multi-Platform LoRaWAN Indoor Gateway (SX1302) - EU868. For more advanced configurations and use cases, please refer to the official documentation and guides provided by the manufacturer and the LoRaWAN network server software.