Published On Jan 11, 2016
In this article we will setup a Particle Photon module to monitor compass baring through the MAG3110 Three-Axis Digital Magnetometer Electronic Compass I²C Mini Module. Based on readings from this sensor we will turn relays on and off using the Relay Shield for Particle Photon I²C 8-Channel SPDT 10-Amp.
This Library is intended to be used in conjunction with the Control Anything article Compass_Relay.
The intention of this library is to make use of the MAG3110 Three-Axis Digital Magnetometer Electronic Compass I²C Mini Module and the Relay Shield for Particle Photon I²C 8-Channel SPDT 10-Amp with Particle development web IDE as simple as possible for users.
Purchase Magnet Sensor and relay controller here:
https://www.controleverything.com/con...
https://www.controleverything.com/con...