Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arduino Micro Tap Detection and Wake On Motion (I2C) #43

Open
ltwin8 opened this issue Jul 2, 2020 · 0 comments
Open

Arduino Micro Tap Detection and Wake On Motion (I2C) #43

ltwin8 opened this issue Jul 2, 2020 · 0 comments

Comments

@ltwin8
Copy link

ltwin8 commented Jul 2, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant