Things used in this project

Hardware components:
O Watch Base Kit
×1
Software apps and online services:
Ide web
Arduino IDE

Code

O Watch Demo Arduino
//-------------------------------------------------------------------------------
//  O Watch Basic Example
//  Last Updated 17 February 2016
//  
//  This is just a basic demo of O Watch
//
//-------------------------------------------------------------------------------

#include <TinyScreen.h>
#include <SPI.h>
#include <Wire.h>

uint8_t amtcolors=7;
uint8_t colors[]={TS_8b_Black,TS_8b_Blue,TS_8b_Red,TS_8b_Green,TS_8b_White,TS_8b_Yellow,TS_8b_Brown};

uint8_t i=0;
  
uint8_t nextColor()
{
  if(i>=amtcolors)i=0;
  return colors[i++];
}

TinyScreen display = TinyScreen(TinyScreenPlus);

void setup(void) 
{
  Wire.begin();
  display.begin();
  display.setFlip(1);
  display.setFont(liberationSans_10ptFontInfo);
}

void loop() 
{
  display.clearWindow(0,0,96,64);
  for(int i=5;i<800;i++)
  {
    int x=(3000-(i*5))%90;
    int y=(i*14)%60;
    int width=((i*7)%(90-x));
    int height=((6000-(i*6))%(60-y));
    display.drawRect(x,y,constrain(width,5,20),constrain(height,5,15),i&1,nextColor());
    display.fontColor(TS_8b_White,TS_8b_Black);
    display.setCursor(5,25);
    display.print("   O   W a t c h   ");
    if(i<10)
      delay(40);
    if(i<50)
      delay(40);
  }
  delay(50);
  display.clearWindow(0,0,96,64);
}
TinyScreen+ LibraryC/C++
No preview (download only).

Credits

Owatchlogofebsmall
O Watch

Make your own smartwatch. Learn 3D design and Arduino coding.

Contact

Replications

Did you replicate this project? Share it!

I made one

Love this project? Think it could be improved? Tell us what you think!

Give feedback

Comments

Similar projects you might like

Word Clock on the O-Watch
Easy
  • 554
  • 9

Protip

We'll build on the Simple RTC Watch to turn our O-Watch into a Mini Word Clock, which uses an 8 x 8 grid of letters to spell out the time.

Animated Word Clock on the O-Watch
Easy
  • 439
  • 6

A modified version of J Koger's Mini Word Clock for O-Watch, now with an animated digital rain effect.

2048 Sliding Tile Game for the O Watch
Easy
  • 277
  • 5

Full instructions

This is a sliding tile game for the O Watch based on the simple and addicting game 2048 by Gabriele Cirulli.

Googly Eye O-Watch
Easy
  • 123
  • 3

Protip

Inspired by Mike Mak's Eye Clock, now the O-Watch can show the time with two googly eyes: hours (left eye) and minutes (right eye).

Simple Watch Using RTC
Easy
  • 1,151
  • 4

Full instructions

The O-Watch Simple Watch code tweaked to use the Arduino Zero's built-in RTC, plus a couple other tweaks.

Windows 7/8 Driver Installation for O Watch
Easy
  • 31
  • 1

Full instructions

This is the Windows Device Driver installation applicable only for Windows 7/8. Windows 10 and Mac OSX automatically installs drivers.

ProjectsCommunitiesTopicsContestsLiveAppsBetaFree StoreBlogAdd projectSign up / Login