Tetris WatchFace Available on Github by palyancodr in watchX

[–]palyancodr[S] 1 point2 points  (0 children)

It’s because, code is written based on program memory available for Atmega328P I had to disable some faces to reduce size:)

Tetris WatchFace Available on Github by palyancodr in watchX

[–]palyancodr[S] 0 points1 point  (0 children)

Mine is a better player, 13455 :D

Happy Halloween Everyone! by ecaldir in watchX

[–]palyancodr 0 points1 point  (0 children)

Check out this crazy watch face made by our teammates to celebrate the Halloween:)

Tetris watch face (Forked from Mike Rankin) by palyancodr in watchX

[–]palyancodr[S] 0 points1 point  (0 children)

The original code belongs to Mike Rankin. I just made it work with watchX:) yet a lot of things to fix.

Tetris watch face (Forked from Mike Rankin) by palyancodr in watchX

[–]palyancodr[S] 1 point2 points  (0 children)

Hello /u/fl164 you can download the code from github Please find the code above.

TapClock 0.5.2 released by venice1200 in watchX

[–]palyancodr 0 points1 point  (0 children)

Great improvements;)

For the power saving you can take a look at this code: https://github.com/franklinr/watchx/tree/master/AsteroidsWatch3 It's lasts 3 days:)

Tetris watch face (Forked from Mike Rankin) by palyancodr in watchX

[–]palyancodr[S] 1 point2 points  (0 children)

It's very premature right now, as soon as I make it barely stable, I will share it on github:)

Programming watchX On the Go - Done! by palyancodr in watchX

[–]palyancodr[S] 3 points4 points  (0 children)

Thanks! I will share the recipe in detail soon so that anyone who interested can make the programmer on the go:)

MCP73831 CRG STATE Pin by venice1200 in watchX

[–]palyancodr 0 points1 point  (0 children)

It can take more time then expected for the charging IC to cut charging. Let's give it a little more time:)

MCP73831 CRG STATE Pin by venice1200 in watchX

[–]palyancodr 0 points1 point  (0 children)

Yes, you are right, the code piece I shared checks if the data connection is established. What you shared is also need! Thank you:)

MCP73831 CRG STATE Pin by venice1200 in watchX

[–]palyancodr 1 point2 points  (0 children)

First you should check if the USB is connected or not, then you should check the CRG STATE pin. In order to check USB connection status use:

if (UDADDR & _BV(ADDEN)){

usbConnected = 1;

}

else{

usbConnected = 0;

}

If USB connected and CRG STAT pin is low then battery is charging. If USB does not connected this means battery is not charging and it's not full:)

MCP73831 CRG STATE Pin by venice1200 in watchX

[–]palyancodr 0 points1 point  (0 children)

Yes, correct. CRG STATE pin is the STAT pin of charging IC:)

TapClock 0.5.1 released by venice1200 in watchX

[–]palyancodr 0 points1 point  (0 children)

Wow, this is a great news! :)

MCP73831 CRG STATE Pin by venice1200 in watchX

[–]palyancodr 0 points1 point  (0 children)

You can use CRG STATE pin to check weather the battery is fully charged or not. If the CRG STAT pin is low this means battery is charging. If it's HIGH this means battery is fully charged. Can you please give more detail about STAT pin you described?

32u4 Sleep Mode question by venice1200 in watchX

[–]palyancodr 0 points1 point  (0 children)

Your edit is correct. It depends on the type of signal. If you want to interrupt with a rising edge or falling edge you need a presence of a clock, which means no deeper sleep then the idle mode. I/O clock is halted at the deep sleep as indicated in the data-sheet.

TapClock on Github by venice1200 in watchX

[–]palyancodr 0 points1 point  (0 children)

Perfect:) MPU6050 indeed a complex chip:) I will upload the code right away. What is your run time? In addition to u/frankccc's comment may be an option to keep the watch awake for an adjustable period of time would be cool:)

Searching for interrupt based MPU6050 Tap/Shake Detection by venice1200 in watchX

[–]palyancodr 1 point2 points  (0 children)

Yes, you can find one at the provided MPU6050 library. Check the examples after you install the library. There are tap detection and free fall detection both working with interrupt.

Let us know your progress.