Gyro Support (Roll, Pitch, Yaw) MPU 9250

A project log for LoRaLamp AIRQuality

A Desklamp for your "Work from Home" Desk with Air Quality Sensor, LoRa, WiFi, MQTT that reminds you to open your windows for Fresh Air

UlrichUlrich 07/24/2021 at 14:060 Comments

Added Gyro Movement detection today: I added the support of the MPU-9250 breakout board today.

To ilustrate I added an export to MQTT/Mosquito as well.

Now the Lamp can detect Movements and interact with the user automatically.

This is quite useful on a bedside lamp. Especially it might be useful during nighttime.

Possibilities you might think of:

Right now I am struggling with filters to keep the curves smooth on one side and be responsive on the other side.

The Roll Sensor is flickering a lot.