EP-0105: Difference between revisions

From 52Pi Wiki
Jump to navigation Jump to search
Line 70: Line 70:
|}
|}


===How to configure==
===How to configure===
* FLash TF card with the latest raspbian image.
* FLash TF card with the latest raspbian image.
* Modify /boot/config.txt file and add following parameter:
* Modify /boot/config.txt file and add following parameter:

Revision as of 20:00, 21 June 2019

IoT Node(A)

IoTnodeA1.jpg

Descriptions

Iot Node(A) is one of Docker Pi series module.
It contains GSM module, GPS module and Lora module onboard.

Features

  • Easy to Use
  • Support I2C protocol communication
  • High Quality A9G module
  • High Quality Lora module
  • Low Power Consumption
  • Long Range Transmission
  • Working temperature: 0°C ~ 65°C
  • LORA antenna gain: 2db
  • GPS antenna gain: 1.5db
  • GSM antenna gain: 2db
  • Supply voltage: 5V + 3V dual power supply
  • Pure I2C communication, does not occupy other IO, leads to the GPIO pin.

Specifications

GPRS section

  • 1. Low power consumption, standby sleep current <1mA
  • 2. Support GSM/GPRS four frequency bands, including 850, 900, 1800, 1900MHZ;
  • 3. GPRS Class 10;
  • 4. Support GPRS data service, maximum data rate, download 85.6Kbps, upload 42.8Kbps;
  • 5. Support standard GSM07.07, 07.05 AT commands, and access the serial port through I2C interface conversion.
  • 6. AT commands support standard AT and TCP/IP command ports

GPS section

  • 1. Support BDS/GPS joint positioning
  • 2. Support A-GPS, A-BDS
  • 3. Support standard SIM card

LORA section

  • 1. City working conditions: transmission distance of 500 meters (RF parameters: 0x50)
    In all cases: the minimum guaranteed 300 meters transmission.
  • 2. Support FSK, GFSK, MSK, GMSK, LoRaTM and OOK modulation methods
  • 3. Ultra-high receiver sensitivity as low as -141 dBm
  • 4. Support preamble detection
  • 5. Packet engine with CRC, up to 256 bytes
  • 6. LORA transceiver indicator

Mechanical Drawings

Gallery

IoTnodeA1.jpg
IoTnodeA2.jpg
IoTnodeA3.jpg
IoTnodeA4.jpg
IoTnodeA5.jpg
IoTnodeA6.jpg

Documentations

How to use

How to assemble

  • Mount the Iot Node(A) board to Raspberry Pi
  • Hookup GPS antana and Lora antana to IPX port.
  • Screws the GPRS antana on the SMA port.
IoTnodeA8.jpg
IoTnodeA7.jpg

How to configure

  • FLash TF card with the latest raspbian image.
  • Modify /boot/config.txt file and add following parameter:
 dtoverlay=sc16is752-i2c 
  • Reboot Raspberry Pi
  • Login Raspberry pi and make sure connect to internet, open a terminal and typing:
 
sudo apt-get update
sudo apt-get -y install gpsd gpsd-clients python-gps
  • Modify "/etc/default/gpsd" file and add following parameters:
DEVICES="/dev/ttySC1"
GPSD_OPTIONS='-F /var/run/gpsd.sock'

How to use GPS module

  • NOTE: GPS module is OUTDOOR module, please test it outside.
  • Open a terminal and typing:
sudo systemctl restart gpsd.socket 
sudo cgps -s
  • Python Programming:
#!/usr/bin/env python3
import serial
import smbus
from gps import *
import os

# Restart gpsd service.
os.system("sudo systemctl restart gpsd.socket")
# Open serial port  
ser = serial.Serial('/dev/ttySC0', 115200)

if ser.isOpen == False:
    ser.open()
try:
    print("Turn on GPS switch")
    ser.write(str.encode("AT+GPS=1\r")) 
    time.sleep(1)              
    os.system("sudo cgps -s")                
except KeyboardInterrupt:
    ser.flushInput()
    ser.close()
  • Save it and execute it:
chmod +x mygps.py 
./mygps.py

How to use GPRS module

How to use Lora module

Package Include

  • 1 x IoT Node(A) Board
  • 4 x M2.5*11mm Copper stick
  • 4 x M2.5 Nuts
  • 1 x Instructions

FAQ

Keywords

  • IoT, lora, GPS, GPRS, GSM, antana, Raspberry pi 3B, Node, radio devices