Auteur CETECH11 | Dernière modification 16/12/2023 par CETECH11
Seeed Studio, The Things Network, The Things Stack SenseCAP_M2-_IN865_LoRa_Gateway__4G-Ready_Deployment_111_1_.JPG Creation
In my initial foray into LoRa technologies, I developed a single-channel LoRa Gateway. This gateway was designed to connect with only one end node (Sensors) at a time. Communication with application servers was facilitated through Wi-Fi connectivity embedded within the gateway itself.
My Wi-Fi Backhaul single channel LoRa Gateway Project Link: https://www.hackster.io/vinayyn/single-channel-lora-gateway-using-wio-e5-lora-and-blynk-20b9ec
Ethernet Backhaul single channel LoRa Gateway Project Link:
https://www.hackster.io/vinayyn/ethernet-enhanced-lora-gateway-minimizing-delay-017503
After days of working on the project, I wanted to connect multiple End Nodes (Sensors) with significantly reduced power consumption. I updated them to the LoRaWan by modifying the firmware. When I started looking for a gateway to connect the multiple End nodes, I found that the gateway costs were too high and they did not fit into my budget.
After conducting thorough research, I reached out to numerous manufacturers and distributors worldwide, only to discover that their gateway prices consistently fell around $500. They highlighted the outdoor compatibility and expansive coverage capabilities of their products. My investigation further revealed that all manufacturers utilized the Semtech SX130X baseband LoRa® chip for gateways, with antenna specifications tailored to regional ISM bands and operating ranges. Most of their products offered Wifi and Ethernet Backhaul exclusively. I concluded that these gateways were not suitable for outdoor implementation due to the need for a physical connection to the gateway. Subsequently, I identified a few gateways equipped with 2G/3G/4G support. However, these features came at an additional cost of $100-$300 USD, and their parameter specifications varied from country to country, rendering them incompatible in my region.
While scouring manufacturer and reseller websites, I stumbled upon SenseCAP products on the Seeed Studio website. The gateways' starting price was $99 for Ethernet and Wi-Fi backhaul and $149 for Wifi, Ethernet, and 2G/3G/4G Support. I then contacted a member of their technical team to inquire about 4G band compatibility in India. The team provided me with the necessary details, prompting me to reach out to an Indian network operator for their technical specifications.
EU868 4G Version Suppotive Bands
Upon signing an NDA with the network provider, they furnished the requested details. However, further investigation revealed that this information was readily available on the Indian Government's Telecommunication portal. The results were favorable as the SenseCAP Multi-Platform LoRaWAN Indoor Gateway(SX1302-4G) - EU868 aligned with the operating parameters.
Indian 4G Band Details
"LTE-FDD:B1/B3/B7/B20 LTE-TDD: B40/B41"
Without hesitation, I procured the SenseCAP Multi-Platform LoRaWAN Indoor Gateway(SX1302-4G) - EU868 at $149, including $30 shipping and $90 Indian customs fees.
This project was successfully completed because of the help and support from NextPCB. Guys if you have a PCB project, please visit their website and get exciting discounts and coupons.
NextPCB offers high-quality, reliable PCB starting at $1.9, and multilayer starting at $6.9. Also, everyone can enjoy free PCB assembly for 5 boards! Also, NextPCB is having a year end sale in which anyone can register through their website and get a $30 Coupon which can be used for ordering PCBs.
You can also try HQDFM free online PCB Gerber viewer to check your PCB design and avoid costly errors.
Before configuring the gateway, it is essential to familiarize yourself with its specifications.
Interface
Now Iets configure the Gateway
SenseCAP M2 Multi-Platform LoRaWAN® Gateway can be configured in 2 ways: 1. Wi-Fi/ Ethernet access to the SenseCAP Local Console 2. Access the SenseCAP Local Console via SenseCAP Portal remotely
Here I will configure The Gateway using the AP hotspot
Step 1: Press the button for 5 seconds until the blue indicator flashes slowly to enter the configuration mode.
Step 2:Turn ON your Laptop/tablet/ Mobile/Wi-Fi, and scan for available networks. then search for the hotspot name SenseCAP_XXXXXX, and enter the default password 12345678; Once Connected, Find the IPV4 Address of your Device
Step 3: Get your device Username and Password details from the back panel of the gateway device label.
Step 4: Log into the Local Console by inputting the IP Address (192.168.168.1) in your browser to enter the Local Console. it is called asLuCi Console. Then input your device username and password, and click the Login button.
Wi-Fi Configuration
The indicator light located on the top of the gateway will illuminate solid green to indicate a successful connection to the Wi-Fi network.
Step 1: Plug your SIM card into the Nano-SIM card slot.
Locate the SIM card slot on your SenseCAP Multi-Platform LoRaWAN Indoor Gateway(SX1302-4G). It is typically found on the side or bottom of the device.
Power off the gateway.
Step 2: Log in to the Lucipage, and click on Network - Cellular
Step 3: Set up the APN info, and click Save and Apply to apply your settings.
The default APN for Vodafone-Idea 4G Nano SIM is "www". However, the APN may vary depending on the service provider. It is always advisable to check with your service provider for the latest APN settings.
Once the changes are saved, the gateway will apply the updated settings.
Navigate to LoRa > Channel Plan
Select the Region and Frequency plan.
After setting, click Save&Apply
There are two ways to connect to the Things Network: Packet forward and Basics™ Station. Choose a way to connect your gateway.
Semtech UDP Packet Forwarder is the original LoRaWAN® packet forwarder, connecting to servers through the Semtech UDP protocol.
LoRa Basics™ Station is the preferred way of connecting Gateways to The Things Stack.
The Semtech UDP Packet Forwarder is the original LoRaWAN® packet forwarder, connecting to servers through the Semtech UDP protocol.
Step 1: Log into The Things Stack. If you don't have a TTN account, please register first.
Step 2: Register the gateway
Gateway EUI: Gateway EUI can be found on the device label or Local Console
Gateway ID: A unique identifier for your gateway(the ID must contain only lowercase letters, numbers, and dashes)
Gateway name: A name of your gateway
Frequency plan: Select the corresponding frequency according to your gateway version
You can check the Gateway in the overview after successful registration.
Step 1: LoRa Network Settings
Navigate to LoRa > LoRa Network
Step 2: Set Mode to Packet Forward
Step 3:Packet Forwarder Settings:
Gateway EUI: It will automatically get the EUI of the connected gateway
Server Address: For Semtech UDP Packet Forwarder use 'server-address' The 'server-address' is the address of your The Things Stack deployment. See Server Addresses for more info.
Server Port(Up/Down): The Up Port and Down Port are typically 1700.
Other settings can be left as default or can be changed to suit your requirements.
Click Save&Apply to apply your settings
After the settings are completed, we can view the live data of your gateway.
You can see that our gateway is connected to TTN now.
Gateway Sucess
After powering on the gateway, there are two ways for you to check the gateway working status:
In the SenseCAP Mate App, Online status
indicates Online
when the gateway is connected to the network.
Bind the gateway[1]
SenseCAP Mate APP supports device configuration and remote management.
Click the +
in the upper right corner and select Add device Then scan the QR code on your gateway label.
Set up your device name and location. Then confirm your settings. After successful binding, you will see your gateway in the Device directory.
en none 0 Published
Vous avez entré un nom de page invalide, avec un ou plusieurs caractères suivants :
< > @ ~ : * € £ ` + = / \ | [ ] { } ; ? #