Thingiverse
Google's Cardboard Magnetic Switch
por sketchpunk
53
Descargas
43
Likes
0
Makes
Currently in the design and R/D stage for my next 3D Printing / Mobile Phone Project. I wanted to utilize cardboard's magnet switch as a trigger to perform an action. Found a case to hold the magnets here on thingiverse. Took the concept and redesigned it as a demo device. This design requires no glue, everything should slot together because of the low tolerance between the top and bottom pieces. Actually, its easy to push together but very very hard to take it apart.
So I used some code from cardboard in an android app I had and have it display a toast every time the magnet event is triggered. "Magnets... How do they work? :)". I had issues where it was waaaay to0 senstive that it will toast in an infinite loop when the switch was near the phone, so I modified a few values to get it working pretty well, not perfect but works well as a proof of concept. With more then 20 minutes of Time I can probably fix it up to work better and even build user settings to customize the tolerance
So I used some code from cardboard in an android app I had and have it display a toast every time the magnet event is triggered. "Magnets... How do they work? :)". I had issues where it was waaaay to0 senstive that it will toast in an infinite loop when the switch was near the phone, so I modified a few values to get it working pretty well, not perfect but works well as a proof of concept. With more then 20 minutes of Time I can probably fix it up to work better and even build user settings to customize the tolerance
¿Has impreso este modelo? Inicia sesión y comparte tu make.
Inicia sesión para dejar un comentario
Iniciar sesiónAún no hay comentarios – ¡sé el primero!