i am trying to program a little "LED-Cube", battery powered, wirelessly charged and not accessible from outside.
The MPU9250 and Atmega32u4 are already used, so not really easy to use other boards.
I am thinking about the following:
The Atmega32u4 should control a bunch of WS2812 LEDs, that code works (controls color depending on the orientation of the cube (on what face it rests))
now my problem, I hope someone is able to help me, is as follows:
0.: Atmega32u4 has constant battery voltage.
1.: Atmega32u4 should wake up when the cube is moved
2.: Atmega32u4 activates WS2812 LEDs with FET, sends Data.
"2.5:" if possible it should increment/decrement a counter (1....127) for brightness of the LEDs (use magnetometer?)
3.: Atmega32u4 turns of FET for LEDs, then should deactivate all possible sensors in MPU9250 and then go in sleep if I double-tap the cube. It should be able to wake on motion again (1.)
maybe someone can help me with this issue and provide me a little bit of help to get that running.
current status:
the cube controls its own colors depending on its orientation, so that piece is working correctly.
Hello,
i am trying to program a little "LED-Cube", battery powered, wirelessly charged and not accessible from outside.
The MPU9250 and Atmega32u4 are already used, so not really easy to use other boards.
I am thinking about the following:
The Atmega32u4 should control a bunch of WS2812 LEDs, that code works (controls color depending on the orientation of the cube (on what face it rests))
now my problem, I hope someone is able to help me, is as follows:
0.: Atmega32u4 has constant battery voltage.
1.: Atmega32u4 should wake up when the cube is moved
2.: Atmega32u4 activates WS2812 LEDs with FET, sends Data.
"2.5:" if possible it should increment/decrement a counter (1....127) for brightness of the LEDs (use magnetometer?)
3.: Atmega32u4 turns of FET for LEDs, then should deactivate all possible sensors in MPU9250 and then go in sleep if I double-tap the cube. It should be able to wake on motion again (1.)
maybe someone can help me with this issue and provide me a little bit of help to get that running.
current status:
the cube controls its own colors depending on its orientation, so that piece is working correctly.