EasyManua.ls Logo

SeeedStudio reComputer R1000 - Lora USB; Cellular over Mini-Pcie

SeeedStudio reComputer R1000
46 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
reComputer R1000
© 2009-2024 Seeed Technology Co.,Ltd. All rights reserved.
24
sudo vim ./libLoRagw/inc/LoRagw_i2c.h
Change #define I2C_DEVICE "/dev/i2c-1" to #define I2C_DEVICE "/dev/i2c-3".
4. Compile the code:
sudo make
5. Modify the configuration code:
sudo vim ./tools/reset_lgw.sh
Update the pin configurations:
SX1302_RESET_PIN=580 # SX1302 reset
SX1302_POWER_EN_PIN=578 # SX1302 power enable
SX1261_RESET_PIN=579 # SX1261 reset (LBT / Spectral Scan)
6. Copy the reset_lgw.sh script
cp ~/sx1302_hal/tools/reset_lgw.sh ~/sx1302_hal/packet_forwarder/
7. replace the default SPI port of the LoraWAN® Module in the global_conf.json.sx1250.US915 config file:
sed -i 's/spidev0.0/spidev0.1/g' global_conf.json.sx1250.US915
8. Start LoraWAN® Module
cd ~/sx1302_hal/packet_forwarder
sudo ./lora_pkt_fwd -c global_conf.json.sx1250.US915
These steps will configure LoRa® SPI and run the packet forwarder with the specified configuration file.
3.7.2 LoRa
®
USB
For LoRa
®
USB, the previous commands remain the same as for LoRa
®
SPI. However, the final command needs to be
changed to:
#pull up the SX1302_RST pin first
echo 1 > /sys/class/gpio/gpio580/value
./LoRa_pkt_fwd -c global_conf.json.sx1250.EU868.USB
This command specifies the configuration file to be used for LoRa
®
USB.
3.8 4G Cellular over Mini-PCIe
To interact with a 4G module using AT commands via minicom, follow these steps:
1. Open minicom with the appropriate serial port and baud rate:
sudo minicom -D /dev/ttyUSB2 -b 115200
This command opens minicom with the specified serial port (/dev/ttyUSB2) at a baud rate of 115200.
2. Once minicom is open, you can start sending AT commands to the 4G module. For example:
AT
This command checks if the module is responsive. You should receive an "OK" response if the module is working properly.

Related product manuals