Skip to content

Development of a small IoT device that accurately measures the geo-magnetic field of the earth using cheap sensors and LoRa connectivity .

Notifications You must be signed in to change notification settings

jonjohansen/magneto-box

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Magneto-Box

Project Motivation

There is a large community of physicists who study the ionosphere with radar facilities. In order to make sense of the measurements done with radar, one must know a variety of physical properties of the medium being investigated. In plasmas, these properties can change as a function of the magnetic field present, so accurate measurements of the magnetic field in regions where studies are being done can be a significant help for the scientific community.
Magnetic fields change how reflective plasmas are to electromagnetic radiation, because the frequency and velocity of electrons in the plasma is proportional to the magnitude of the magnetic field.
Magnetometer installations able to provide such a high accuracy are expensive and are easily affected by nearby sources of noise, and so these installations are few and far between.
If, however, one was able to produce a cheap, small and easy to create device able to, through basic statistical methods, provide measurements with a “good enough” accuracy, an array of measuring devices could be placed in the area surrounding a radar facility. This would make it possible to create a model of the spatial changes in the magnetic field through the ionosphere, which could potentially significantly assist in modeling the plasma.

Project Concept

The overall goal of the project is to confirm a proof of concept for a microcontroller-based sensor unit that can detect changes in the magnetic field of the Earth. This could be used, if the sensor can detect changes at high enough statistical accuracy to measure low-intensity irregularities caused by the Auroral Electrojet, a transport current in the polar ionosphere. If successful, a network of these units can collect data that could be used to create a three-dimensional model of transport currents around an area, which could be used to remove interference in trans-ionospheric radar measurements, or increase the significance of ionospheric EM-measurements.

Technology

This project is based on the usage of a LoPy device, but can be used with any other microcontroller that can compile and run Python/Micropython. The device developed uses LoRaWAN to communicate the data to a recieving backend, but it is possible to implement or develop other forms of data communication.

MAG3110

The MAG3110 is a small, low-power digital 3D magnetic sensor with a wide dynamic range to allow operation in PCBs with high extraneous magnetic fields.

When initialized it sets the correct modus operandi as well as defining some general resources for the sensor. The library features methods of getting singular readings, as well as readings over a timespan (results in higher accuracy), as well as convertion methods for the given data output.

The MAG3110 sensor was found to be heavily dependent on temperature.
For readings about our results and discoveries can be found in our report

MPU9265

The MPU-9265 device combine a 3-axis gyroscope, 3-axis accelerometer and 3-axis compass in the same chip together with an on board Digital Motion Processor capable of processing the complex Motion Fusion algorithms.

When the sensor is initialized it runs the configuration for the MPU and the AK sensors. The configuration takes the sensors out of sleep mode, prepares the right modes for reading continuous output.
The sensors reads magnetic field, gyroscope, accelerometer and temperature data continuously. The data is retrieved using a fetching method which takes the readings from the gyroscope, accelerometer and temperature and packs it into a tuple. The tuple can then be accessed for readings and further calculations. The accelerometer data is also used to calculate the vector of the sensor to guarantee that the magnetic data is correct.

LoRA

This project is set up to use LoRaWAN connection to communicate with Telenors managed IoT cloud platform MIC. LoRa protocol functions as a low power usage and long range wireless connection, resulting in a good way of transporting data from our device in realtime. Telenor offers a library StartIot to route and and setup this connection properly.

References

Our project report documenting our development progress, data results and findings. This can be used as a full scale documentation of the project.

LoPy / Micropython

Sensor documentation

Realtime magnetograms

LoRa(WAN)

About

Development of a small IoT device that accurately measures the geo-magnetic field of the earth using cheap sensors and LoRa connectivity .

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages