1 Star 0 Fork 0

haygon / iridium-signal-strength-monitor

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
README.md 2.49 KB
一键复制 编辑 原始数据 按行查看 历史
Michael Krumpus 提交于 2019-12-27 15:20 . Initial revision.

Iridium Satellite Signal Strength Monitoring

This repo has the project code for the Iridium Signal Strength Monitoring project. See the full project for details.

There are 3 major components of this project: IridiumSignalQualityMonitor, MQTTWiFiGateway, and the NodeJS web server.

IridiumSignalQualityMonitor

Arduino code for SAMD21 microcontroller (e.g. Arduino Zero, SparkFun SAMD21 mini breakout board, etc.) The basis for this software is this project

This code asks the RockBLOCK 9603 modem for the current signal strength and writes that information over serial to an ESP8266 running the MQTTWiFiGateway firmware (see below).

Dependencies:

MQTTWiFiGateway

Arduino code for ESP8266 that reads from serial and publishes data to MQTT.

Set your MQTT server and credentials in MQTTWiFiGateway.ino:

const char* mqtt_server = "your_mqtt_server";
const char* mqtt_username = "mqtt_user";
const char* mqtt_password = "mqtt_password";

Dependencies:

NodeJS Web Server

Set your MQTT server and credentials in server.js:

var options = {
        host: 'your_mqtt_server',
        port: 1883,
        username: 'mqtt_user',
        password: 'mqtt_password'
    }

Set your Cesium Ion access token in app.js:

Cesium.Ion.defaultAccessToken = 'YOUR_CESIUM_ION_ACCESS_TOKEN';

To use the MapBox dark imagery like I did, you'll need a MapBox access token. Also set in app.js:

imageryProvider : new Cesium.MapboxImageryProvider({
    mapId: 'mapbox.dark',
    accessToken: 'YOUR_MAPBOX_ACCESS_TOKEN'
})

Installation and startup:

cd webserver
npm install
npm start
1
https://gitee.com/haygon/iridium-signal-strength-monitor.git
git@gitee.com:haygon/iridium-signal-strength-monitor.git
haygon
iridium-signal-strength-monitor
iridium-signal-strength-monitor
master

搜索帮助