Skip to content

Plotting data using Magnetic sensor

The sensor used: HMC5883L

Magnetic Sensor

Using the visual code, the KuttyPy+ takes in the sensor data from an I2C magnetic sensor and plots it on a time graph.

Activity: The participants are instructed to find the magnetic North pole and South pole using the sensor.

Magnetic Sensor Code