[TangerineSDR] Web presentation of magnetometer data to multiple clients

Dr. Nathaniel A. Frissell Ph.D. nathaniel.frissell at scranton.edu
Tue Dec 3 16:01:41 EST 2019


Thank you, David. This looks good! Do you think you could add in a time series line plot of the Bx, By, and Bz coordinates? I think this would be useful to have right away, even for diagnostics.

73 de Nathaniel W2NAF

From: TangerineSDR <tangerinesdr-bounces at lists.tapr.org> on behalf of TangerineSDR Listserv <tangerinesdr at lists.tapr.org>
Reply-To: TangerineSDR Listserv <tangerinesdr at lists.tapr.org>
Date: Tuesday, December 3, 2019 at 1:49 PM
To: TangerineSDR Listserv <tangerinesdr at lists.tapr.org>
Cc: David Witten <wittend at wwrinc.com>
Subject: [TangerineSDR] Web presentation of magnetometer data to multiple clients

All,

This is a work in progress, for my own use right now.

It shows presentation of magnetometer data in a web browser.  Ignore the actual data shown, it properly signed quantities.

The page is served by HTTP, but the sensor data is sent via Websockets.  This is done using a golang server (minimal) that launches a program written in C that interrogates the I2C channel. When the golang program detects a browser connection, it serves the web page.  The web page opens a Websockets connection and streams the magnetometer data encapsulated in JSON to the browser client.

No web server, as such, is used.  Only one HTTP/HTTPs request is used.  There are other possible ways to do this, but this one works well for my purposes.

The intent is to have each local host send its lat/long and ip address on startup.  The locations would be indicated on the map.  Clicking on the  marker would open a connection to that particular SBC.

Data logging locally and remotely could both be controlled.

Again this is just eye candy, showing what can be done.  No frameworks, user's language of choice for the service.

Dave Witten
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tapr.org/pipermail/tangerinesdr_lists.tapr.org/attachments/20191203/f43b0d6a/attachment.html>


More information about the TangerineSDR mailing list