Code to run the Arduino Magnetometer Train: Salty
A toy train and an arduino combine to collect data around scale models of geophysical magnetic anomalies. Using an LSM9DS1, we can see the model magnetic signatures of dikes, ocean stripes, and the Earth's field as a whole. Check out the full story here:
https://www.hackster.io/twhisenant/arduino-train-magnetometer-51710f
This repository contains three sketches to run with Arduino:
-
Reading LSM9DS1 and with no train input
-
Reading LSM9DS1 while the train is on
-
Reading LSM9DS1 and controlling the train with an IR remote