logo

Page 9 - Fire up the Logic Board

Now that we have all the basics of the logic frame connected, tested, and ready to go, we'll do the first full test connecting the OSWatch Logic frame to your phone. As of the relase of this build guide, the current avalable option is only to download the OSWatch iOS xCode project. Soon I'll be adding it to the app store, and also doing the same for Android.

OSWatch iOS Shell

XCode Project

logo

1.) Install Application

The shell app gives you the basics to get the OSWatch up and running. Currently the only way to install the application is through XCode. I'll add the app to the app store soon, so iOS developer experience is not a requirement (as well as a developer account). You will need a BLE enabled iOS device, which is an iPhone 4S and above, and the iPad 3 and up.

2.) Activate the logic frame

With the complete assembly already done of the core logic, simply connect the programming port to an FTDI to USB adapter, enabling the microduino programming ability. Then upload the OSWatch arduino application found at the OSWatch Arduino GetHub repository.

You will also need to download and install the following libraries to the Arduino IDE:

BLE112 BGLib Arduino Library
Time Arduino Library
OLED Library by Adafruit
Graphic Library by Adafruit

Use the serial monitor to watch for communction. By default the OSWatch Arduino code activates the BLE112 and starts it advertizing. Now your logic frame is ready to connect!

Upload code

logo

3.) Pair the two

In this configuration, the phone is the central device, and the watch, a peripheral. That means that the watch is advertizing, and the phone will initiate the pairing. To do this, select the central tap, and press the connect button. This will start scanning for any advertizing peripherals and display them in a list after 2 - 5 seconds. As you can see by the picture below I have a few advertizing BLE devices! Look for the device with either BGLib or Arduino in the name. That's the BLE112 in the watch frame. now select it by pressing the item on the scrolling list. This will begin the pairing process. Once completed the UUID will be displayed in the UUID slot, and you should see some trace statements displayed in the Arduino serial monitor.

Pair process

logo

4.) Enjoy the sweet taste of success!

remember that beer? You have earned it! Now sit back, and take a break and be proud of yourself! You have just finished the hardest part of the OSWatch, and it is all smooth sailing and rapid progress from here!

Complete!

logo

The Reward

logo

Next Page - Buttons

The Build