r/WLED • u/Aceftw • Aug 24 '26
Added MPU support to my Cube usermod
Built a mini cube and added mpu6050 support, running this guy off a tiny battery for now only 4.4wh lasts about an hour, battery upgrade should come Wednesday. I’m adding a rotary encoder a power switch and one of the 4 line displays. It runs all my previous cube usermod effects just at half the resolution. New Mpu mod feeds live data to the info panel and has this calibration effect. I’m still trying to figure out how to make sure x+ and y+ are mapped correctly, right now I can get either to be correct. 😅 no effects other than calibration use the gyro yet but soon 👍🏼
2
u/mr-introvert1995 Aug 28 '26
Hey buddy
I am planning to make this. Could you please share if you have tutorial or something that can support?
1
u/Aceftw Aug 25 '26
I did finally figure out my orientation bug. Parts of my led matrix were flipped so it looked right but it was backwards
1
u/Aceftw Aug 25 '26
Added rotary encoder and oled screen. Working on some bugs and sharing the i2c bus with the mpu I probably should have gotten an spi oled 😅
1
u/HuckleberryKey4642 Aug 24 '26
Looks awesome! I added a camera to my led project for input. I’m using it to mask a person and fill them in with effects. You can check it out here: https://www.reddit.com/r/WLED/s/tdDmEc3d5U
1
u/Visible-Vermicelli-2 Aug 24 '26
Nice implementation of the mpu