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

Accelerometer #33

Open
breakingcraft opened this issue Oct 22, 2022 · 5 comments
Open

Accelerometer #33

breakingcraft opened this issue Oct 22, 2022 · 5 comments

Comments

@breakingcraft
Copy link

Would it be possible to add an accelerometer to print the image instead of using a Fixed Frame Time? Like the MPU-6050.
As you are slower to move in the beginning of the picture it can make pictures very distorted in the start, the faster the acceleration gets the faster the next frame will print. So technically you could stop in the middle of the picture and then walk again and it would show even frames throughout the whole picture.

@MartinNohr
Copy link
Owner

MartinNohr commented Oct 22, 2022

Excellent idea! And I have even already been thinking about it. I have a model working here that shows what angle you're holding the wand at. I haven't added any code to do what you are suggesting but that is a great idea. I am redesigning the PCB and I think I will add the MPU-6050 to it. I'm also switching to an ESP32 TTGO that has a larger display. No promise on the deadline though. :-(
BTW, the only version under current development is the "MagicImageWand" version. I haven't done anything to this one for several years. Check out the new one, it is much more advanced now!

@MartinNohr
Copy link
Owner

One more thing I added to the new code in "MagicImageWand" is support for an encoder wheel that you can roll on the ground. The frame advancing is controlled by pulses from the encoder. It solves the same problem in a different way. Unfortunately, the code is done, but I haven't finished the design of the wheel yet.

@breakingcraft
Copy link
Author

Good to know which version of MagicImageWand you are development, it was a bit confusing to know where to comment.
I really like the ESP32 TTGO, keep up the good work!
I will try out the encoder part.

@MartinNohr
Copy link
Owner

I have tested the code by grounding the wire a few times. It advances one frame each time so it should work with an encoder wheel. I'm also getting the code to work on the new ttgo s3, larger display!

@MartinNohr
Copy link
Owner

I think I'll add an accelerometer to the new board design I'm working on. The MPU6050 has been deprecated, but there are several newer designs to choose from. I have to do a new board design anyway to support the new TTGO S3.

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

2 participants