Watchface: Braun BN0046

RicardoGonzalezRicardoGonzalez Posts: 13Member

Braun BN0046


imageimage

I just try to mimic the classy and elegant Braun BN0046 watch into a Pebble watchface.

I even added the date and the moon phase free of charge! They are easily configurable in the source code.

Thanks to Timothy Stough, a "dayname monthday - monthnumber", both US and NON_US variations are available.

Changelog

0.1 initial release
0.2 battery improvements
0.3 performance improvements, AM/PM position change
0.4 merged Timothy changes and watchface variations. Fixed seconds layer alignment.
0.5 fix moon phases font bug
0.6 fix new moon icon bug

Credits

Heavily based on the LCD by jpgarretson, so, kudos to him! It was a great ground to learn and develop this watchface.

Thanks to Timothy Stough for the performance improvements!

I also use a custom Climacons font created in the great IcoMoon App

Source: GitHub
Download: GitHub
Post edited by RicardoGonzalez on
·

Comments

  • TechDocTechDoc Posts: 66Member
    Looks great. Is the 13 on the bottom right seconds or the year?
    ·
  • RicardoGonzalezRicardoGonzalez Posts: 13Member
    edited May 2013
    Seconds. It's was a really misfortunate coincidence :)
    Post edited by RicardoGonzalez on
    ·
  • TimothyStoughTimothyStough Posts: 58Member
    edited May 2013
    I really liked this watch, so I forked it on Github.

    Changes:
    (1) I have a preference for "Weekday MM-DD" for date so I changed that.  

    (2) Rebased the full moon computation on the first full moon of 2013, in the Los Angeles (UTC-8, PST) timezone.  I documented it in my code.  

    (3) There was some spacing and frame size issues that obscured the "A" or "P" when in 12-hour mode which I tidied up.

    (4) handle_deinit() - Lots of watchfaces don't clean up their resources (bitmaps and custom fonts) when handle_deinit is called.  I had to fix my other faces too.  This bug causes the font corruption when watch faces are switched quickly.

    Source code at: Github
    Download Compiled Watchface: Github

    Cheers,
    Tim.
    Post edited by TimothyStough on
    My Pebble faces are on Github!
    ·
  • RicardoGonzalezRicardoGonzalez Posts: 13Member
    Hi Timothy!

    Thanks for your fixes and suggestions! I was already working on the resources cleaning up, but your approach is better than mine by far!

    I had to cherry pick your changes, as I already did some layer stuff improvements. Also, I didn't pick the date format, as is something personal. I was thinking about use a script for compile different versions depending on the date format, but I don't think is worthy right now, is much faster just recompile the watchface. Hopefully, the Pebble team will implement a date format configuration or something like that.

    I hope the team also implements some kind of geolocation function to be able to do clever things like sunrise, sunset, etc (I already have icons for that in my font, just in case)

    Regarding AM/PM, sorry about that, I should have tested that better, but I always use the 24h format... Anyway, I moved the text from the right edge to below the hours, as it looks great and we have much more free room there, let me know what you think about it.

    And thanks again!
    ·
  • GDGD Posts: 72Member
    Can you please update the watchface on mypebbles.com?  Thank you in advance.
    ·
  • RicardoGonzalezRicardoGonzalez Posts: 13Member
    Already done :)
    ·
  • GDGD Posts: 72Member
    Gracias!
    ·
  • GDGD Posts: 72Member
    I just downloaded it and I'm still seeing the old face.  Is this the right link:  http://www.mypebblefaces.com/?query=bn0046#

    ·
  • RicardoGonzalezRicardoGonzalez Posts: 13Member
    Well, the link should be this one: http://www.mypebblefaces.com/download.php?fID=2026&version=0.3&uID=2104&link=1
    If is not working, you can always get it from github: https://github.com/ryck/BN0046/raw/master/releases/BN0046.pbw
    ·
  • GDGD Posts: 72Member
    I downloaded the file from both places and I still see the old face (w/o the AM, PM).
    ·
  • RicardoGonzalezRicardoGonzalez Posts: 13Member
    Silly question: is your pebble configured to use the 12h format?
    ·
  • RicardoGonzalezRicardoGonzalez Posts: 13Member
    Forget about my silly question, I was the silly one! I forgot to update the binary! Check now, I updated both github & myppeblefaces

    Sorry about that!
    ·
  • GDGD Posts: 72Member
    Voila!  Thanks, looks good!
    ·
  • TimothyStoughTimothyStough Posts: 58Member
    Ricardo,

    Thanks for cherry picking, I'm flattered.  I was working on cleaning and updating code and will have a pull-able result shortly.  It will pull all of the changes out with #define so that they can be turned off.  I'm supporting DD-MM as well as MM-DD.

    I have rebased my code against yours and am tidying and #define-ing.  I'll issue a pull request when it's all done.  Then you can grab the changes without cherry picking and compile any combination of options for month, weekday, date format...

    Cheers,
    Tim.
    My Pebble faces are on Github!
    ·
  • TimothyStoughTimothyStough Posts: 58Member
    edited May 2013
    Updated using Ricardo's new am/pm layout but with options to show weekday, month, and day.  All updates are definable and the defaults in the Github repo are set to produce Ricardo's original.

    Downloadable Versions with Weekday:
    image

    Enjoy!
    Tim.
    Post edited by TimothyStough on
    My Pebble faces are on Github!
    ·
  • RicardoGonzalezRicardoGonzalez Posts: 13Member
    Ace Timothy!

    I just merged your pull request, so your watchface variations are also in the repo. Thanks again!
    ·
  • TimothyStoughTimothyStough Posts: 58Member
    I just noticed that our screen shots are taken 5 minutes apart but, given the difference in when they were posted, in different timezones.

    Thanks for accepting the pull, this is one of my default faces now!

    My Pebble faces are on Github!
    ·
  • TimothyStoughTimothyStough Posts: 58Member
    Huh...  So, it's a new moon now.  Should the moon icon have vanished completely?  Or is that a bug?
    My Pebble faces are on Github!
    ·
  • RicardoGonzalezRicardoGonzalez Posts: 13Member
    Not sure, to be honest. I will debug it tomorrow...
    ·
  • RicardoGonzalezRicardoGonzalez Posts: 13Member
    Its was a bug! The itoa function returned an empty string instead of zero, the number for the new moon icon.
    You can get the new pbw from github!
    ·
  • TimothyStoughTimothyStough Posts: 58Member
    Thanks, I'll pull the update and recompile here.  I have been so busy with paid work that I haven't had a chance to look into it.  :)
    My Pebble faces are on Github!
    ·
Sign In or Register to comment.