-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|173|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-




spinal

Windows Password Woes

13th August 2023

I tell you whats slightly more infuruating than windows not accepting your correct passsword...
[spoiler]
Apple not letting you reset your security questions, but more than happy to reset your password.
Then you can't log in on a new device because*snip*


spinal

SpinalWatch

13th August 2023

OK, just checked today, and it's still responding. I'll leave it at that. I can't be bothered to research if ble needs to keep in contact constantly, or if I could get away with completely stopping and restarting it once a second etc. the power*snip*


spinal

SpinalWatch

12th August 2023

OK, the problem boils down to sleeping 'too long' I need to find a balance between power usage and not crashing :-P
If I sleep for about 2/3 of a second, the power usage is about 2mA, I 'll continue testing tomorrow, or in the future at least,*snip*


spinal

SpinalWatch

12th August 2023

OK, after leaving it running a while, removing an y code that 'does anything' with the received messages, so my function now looks like this...
[code]
void getMessages(){
bleSerial.poll();
while (bleSerial.availableLines() > 0) {
ch*snip*


spinal

SpinalWatch

12th August 2023

OK, about to set off the next test. Leaving in the ble library and allowing it to accept messages, but I am remobing all of my 'do something' regarding messages.
Lest see if it's my fault or not.


spinal

SpinalWatch

12th August 2023

Ok, just checked, same free memory, so it's probably not a leak that I've caused. However, I sent a test notification and it froze.
So I might definitely be something to do with either receiving ble data or handling the received data.
...closer..*snip*


spinal

SpinalWatch

12th August 2023

Didn't help, this time it crashed after maybe 12 hours?
Added a RAM counter...
[code]
// quick function to find free memory, it's slow though
long unsigned int freeMem = 0;
long unsigned int availableMemory() {
int size = 128*1024; // We ha*snip*


spinal

SpinalWatch

11th August 2023

Changed sprinf to snprinf when reading the notifications, should prevent an overflows with incomming text.


spinal

SpinalWatch

11th August 2023

Not a clue


spinal

SpinalWatch

11th August 2023

Ok, still going after more than 5 hours. It's not a time problem.


spinal

SpinalWatch

11th August 2023

(Image.gif)
3 and a half hours ... Still going.


spinal

SpinalWatch

11th August 2023

Hmmmmm, nearly 5 hours ... How am I going to figure this out...
(Image.jpg)
I'll give it a try today being plugged in and not battery, see if that changes anything.


spinal

Mudchat?

10th August 2023

Discord, an excellent idea!


spinal

SpinalWatch

10th August 2023

best guess, 12 to 14 hours, I never paid attention to the time I switched it on. I'll give it a full charge and set it away later today, making not of the start time.
One useful thing with the screen is, as long as it gets power, then the display stay*snip*


spinal

SpinalWatch

10th August 2023

hmmm, it froze about 20 minutes ago, no clue why. Switching it off and on again got it working again. That's odd.


spinal

SpinalWatch

10th August 2023

Ok, so it's been switched on for about 12 hours now and still the correct time. Not sure what changes I made, but undoing them got it going again 😋


spinal

SpinalWatch

9th August 2023

Now I'm having trouble setting up a working timer.... apparently I'm doing it right though.


spinal

SpinalWatch

9th August 2023

I'm using an app called gadget bridge, it's free and open source. I'm pretending the watch is a bangle.js because that's the on thing I can find communication info on.


spinal

SpinalWatch

9th August 2023

I have no control over what the phone sends. It sends the current time when it connects or reconnects only.
I'm guessing it might be the deep sleep attempt I'm using, perhaps it's pausing the milliseconds counter...


spinal

SpinalWatch

9th August 2023

Binary? no, no, no, no, no.
Hmmm, the clock seems to go wrong after a few hours. Time to try and figure out why. Perhaps its resetting because of low power.... perhaps a variable is overflowwing.... perhaps its gremlins... who know.
'Time' to log*snip*


spinal

SpinalWatch

8th August 2023

On the plus side, it's already better than every other DIY smart watch I've found. Not one of them does notifications.


spinal

SpinalWatch

8th August 2023

I'm hoping the board manufacturers have an option to add the smd components, if not, well, that'll be interesting.


spinal

SpinalWatch

8th August 2023

The idea would be something like this...
(Image.png)
Create a board with the resistors and stuff for the screen, have a cut out for the microcontroller board, pop some buttons on.
Then have some squares with the middle cut out, maybe 3 or 4 of them, t*snip*


spinal

SpinalWatch

7th August 2023

I was going to start attempting a circuit board, but after a while googling an not finding out what the connector i'd need is called, I found someone else who done a breakout board for the screen, I'll see if I can just copy+paste the componenets f*snip*


spinal

SpinalWatch

7th August 2023

It's better than a lot of current watches. The new Google watch boasts an 'all day' battery!

Newer Posts More - Older Posts