DIY Arduino Watch Sport 2.0

by Alexis Ospitia in Circuits > Clocks

84839 Views, 459 Favorites, 0 Comments

DIY Arduino Watch Sport 2.0

58a4e9877a76df8712001613.jpeg
vlcsnap-2017-03-12-18h46m01s970.png
vlcsnap-2017-03-16-21h02m49s869.png
vlcsnap-2017-03-16-21h02m27s498.png
vlcsnap-2017-03-16-21h01m37s685.png
vlcsnap-2017-03-16-21h01m05s935.png

"I apologize if you find spelling errors or nonsensical text, my language is Spanish and has not been easy to translate, I will improve my English to continue composing instructables"

From the Same Creators of Arduino Watch Sport 1.0

20151029_221414.jpg
BeFunkyCollage12.jpg
14.jpg

A year ago publish the design and implementation of a clock known as Arduino Watch Sport 1.0, and my only goal was to recycle some materials that usually go into a basket of rubbish, the result of carrying out this project was a clock with the following features.

  • Temperature
  • Time
  • Date
  • Moisture

And some of the materials used in the first version of the clock were:

  • Strap in leather
  • Screen 84x48 pixels
  • Microcontroller ATMEGA328

Arrives Arduino Watch Sport 2.0

Arduino Watch Sport 2.0

Have you thought about buying a Smartwatch, but renunciaste do so because they are very expensive?. Well, it's time to put a little bit of work and create your own Smartwatch, placing your imagination to the test.

Arduino Watch Sport 2.0 is designed with the goal of awakening some minds which are hidden to join the challenge of creating new designs and prove that there is no need to have a lot of money to have a Smartwatch.

Arduino Watch Sport 2.0 is just a sample of what you can do when you have a passion for a particular topic, now is the time to start yours and give me new ideas for a new version, the Arduino Watch Sport 3.0. =D !

New Features

EnsambleRelojv11.png

One of the most important features that characterize the Smartwatch is the management of social networks and the respective notifications, these are some of the notifications that you receive our watch:

  • Notificaciones:
    1. SMS
    2. Messenger
    3. whatsapp
    4. Inconing Call

Thanks to that technology has been advancing, the area of the creation of the new sensors have evolved enough to the point of having any number of sensors on the market, allowing the Smartwatch to be able to measure some of the variables present in our body, Arduino Watch Sport 2.0 wanted to measure the sigueintes variables:

  • Heart rate and oxygen saturation.

In addition to the foregoing features with some features more:

  • Time and Date
  • Temperature
  • Sleep
  • Bluetooth
  • Volume of the vibrator

Materials

Mat3.jpg

Fusion 360 - Design 3D

Arduino Watch Sport 2.0

Thanks to the advantages offered by Fusion 360 you can see how the watch is assembled, each of the parts are available for download.

Fusion 360 - Parts 3D

2017-03-16 (6).png
2017-03-16 (5).png
2017-03-16 (10).png
2017-03-16 (11).png
2017-03-16 (7).png
2017-03-16 (12).png
2017-03-16 (13).png
2017-03-16 (14).png
2017-03-16 (3).png
2017-03-16 (4).png
2017-03-16 (8).png
2017-03-16 (9).png
2017-03-16 (2).png

Autodesk Fusion 360 (free)

This is a powerful 3D modeling platform that's easy to learn but has endless potential. With it, you can design complex 3D objects for practically any kind of fabrication, digital or otherwise.

Electric Scheme

Esquema_grafico_2.png
Esquema.PNG
button.png
Esquema_pcb.png

The entire electronic clock scheme was designed in Eagle PCB software.

I will leave the schema files to download from:

  • Schemes of the main PCB
  • Button schemes
  • MAX3100 Sensor Schematics

Printed Circuit Board

589cf4caf9ff197da5000058.jpeg
3.jpg
5.jpg
7.jpg
9.jpg
16.jpg
18.jpg
21.jpg
22.jpg
24.jpg

To create the watch's main circuit board, use a double-sided copper PCB. Perform the design on Eagle PCB software. The design files will leave them at the end of the instructable.

First, printed the top face, the underside of the PCB covered it with adhesive paper to protect the copper from the acid attack.

Second, place the PCB in a container with the acid and wait for 20 minutes for the acid to remove the exposed copper.

Thirdly, I removed the adhesive paper that protected the underside of the PCB

Fourth, print the pitas on paper, then transfer them by heat. After 2 minutes of warmth, with the help of water, start to remove the paper and expose the track.

Fifthly, I protected the tracks already made on the upper face using adhesive paper.

And finally place the PCB in the acidic container in order to remove the copper and draw the tracks on the underside.

Microcontroller SAM21 Mini

13664-04.jpg
13664-01.jpg
13664-02.jpg
13664-03.jpg
  • Description:

If you’re ready to step your Arduino game up from older 8-bit/16MHz microcontrollers, the SparkFun SAMD21 Mini Breakout is a great landing spot. The SAMD21 Mini Breakout is a Pro Mini-sized breakout for the Atmel ATSAMD21G18, a 32-bit ARM Cortex-M0+ processor with 256KB flash, 32KB SRAM, and an operating speed of up to 48MHz. This mini breakout provides you with an Arduino hardware option that solves the problems of low storage limits and dynamic memory stack overflows that have plagued the previous iterations of the Arduino family. Yes, the SparkFun SAMD21 Mini Breakout is even fully supported in the Arduino IDE and libraries for the Arduino Zero!

Features:

  • ATSAMD21G18 32-bit/48MHz ARM Cortex-M0+
  • 256KB Flash Memory
  • 32KB SRAM
  • 32KB of EEPROM (emulated in Flash)
  • 22 GPIO Count
  • 14 ADC Channels at 12-bit Resolution
  • Analog-to-Digital and Digital-to-Analog Converters (ADC & DAC)
  • RAW: 3.5V-6.0V
  • VCC: 600mA @3.3V
  • Pro Mini/Micro Layout
  • Integrated USB Controller

Documents:

Assembly Microcontroller SAM21

10.jpg
589113e41441aac23b003384.jpeg
2.jpg
4.jpg
5.jpg
6.jpg
7.jpg
8.jpg
9.jpg

The goal of placing the microcontroller on one side of the PCB is to better manage the space and avoid crossing cables that in the future will be a problem.

After having the PCB ready I proceeded to use a motor tool and to open the holes of the pins of the microcontroller and in each of them to weld wire to him to weld the microncontrolador to the PCB.

Finally connect the microncontrolador with the objective to verify that there were no errors and to measure continuity between the tracks and the pins of the microcontroller.

Recycled Vibrator

7.png

This small DC motor was recycled from an old cell phone. The purpose of the watch is to make notifications arrive by vibrating the watch. One of its pins was connected to GND and the other to a digital pin of the microcontroller.

OLED Display Assembly

5891130f471e3cff35000900.jpeg
589113288ae43bcc240015be.jpeg
589113436b71fa4b95001a65.jpeg
58911379ef665ad2c20020e1.jpeg
589113ae4557141d8f003336.jpeg
589113964557141d8f003334.jpeg

This screen offers you in the back, 6-pin SMD ready to be welded together with the tape driver pins. We must take care that at the time of soldering, the pins do not come in contact with. As for being close to each other can make a mistake and solder them the wrong way.

The communication protocol that you use in the watch was SPI, I was not able to perform the communication by the I2C protocol.

Pines:

Screen OLED_____SAM21

MOSI_______________7
CLK________________6
DC_________________9
CS_________________11
RESET______________8

The library has examples where it is necessary to configure the microcontroller pins and to be connected to the OLED screen

Sensor MAX30100 - Pulse Oximeter and Heart-Rate Sensor IC

dedo.PNG
Maxim_MAX30100.jpg
circuit.PNG

Description:

The MAX30100 is an integrated pulse oximetry and heart-rate monitor sensor solution. It combines two LEDs, a photodetector, optimized optics, and low-noise analog signal processing to detect pulse oximetry and heart-rate signals. The MAX30100 operates from 1.8V and 3.3V power supplies and can be powered down through software with negligible standby current, permitting the power supply to remain connected at all times.

Key Features:

  • Integrated LEDs, Photo Sensor, and High-Performance Analog Front-End.
  • Programmable Sample Rate and LED Current for Power Savings.
  • Integrated Ambient Light Cancellation.
  • Tiny 5.6mm x 2.8mm x 1.2mm 14-Pin Optically Enhanced System-in-Package.

Its size is one of the most important features, as it is very flexible to find a location on the clock. But there is also a big problem, it happens at the time of soldering the pins to a printed circuit board, we must be very precise in the placement and the bolts on both sides match.

Scheme

In one of the images, you can see a diagram where the sensor and the 1.8V regulator are located, it is not exactly the diagram used in the clock, the regulator is different.

Library:

A year ago was very little information support for the management of the sensor, had the manual of the sensor but it was a bit tedious to understand. But to this day there are already some libraries of support that allows us to handle the sensor to perfection, I will upload the library you need if you want to create your own porject with the sensor.

The library works perfectly with arduino one and arduino nano.

Sensor MAX30100 - Assembly.

588ce8f08080cfd9830048e7.jpeg
588ce926455714485e000d6f.jpeg
588ce99eef665ad26f003a79.jpeg
588cf0e61441aa212f000dce.jpeg
588cec14f9ff1968c9001782.jpeg

One of the parties challenging the clock, it was soldered the sensor to the PCB, after several failed attempts and 3 damaged sensors, opt for to apply tin on the pins of the sensor, and not just on the pins of the PCB, and then let the heat gun do its job. Warning, the heat gun can't exceed 175° C, because the sensor starts to suffer from deformation in its plastic material and finally dañarce.

The protocol of communication is I2C, and the address for access to records by default is 0x58.

Pins needed:

Pins 2 and 3 (SCL,SDA) are connected to SCL and SDA of the microcontroller.

Pins 4 and 12 (PGND,GND) are the same, do not get confused by the P.

Pins 5 and 6 (IR_DRV,R_DRV) are used to control an led directly without the need to program the sensor.

The pins 9 and 10 (IR_LED,R_LED) are connected internally. One of you must be fed with 3.3 V

Assembly Bluetooth

588cf09b8852ddbf170023c1.jpeg
588cf1361441aa212f000dd1.jpeg
3.jpg
588cf1688080cfd9830048fc.jpeg
5893bf76f9ff19a6ed0055fd.jpeg
5893bfc88852ddbf170049e2.jpeg

It is necessary to buy the version of the bluetooth SMD, this will be important because it helps us save space.

Buttom - Voltage Dividers.

varios-botones-un-pin-analogico.jpg

One of the great advantages that I had in the design of the buttons for the clock is to use a single analog pin (A3) in the reading of the state of each one of the 3 buttons.

Using the theory of the divisor of the voltage you can get a keyboard with a single output voltage that will be read by a port analogous of its microcontroller.

I will keep the basic programming to use this form of keyboard using only one pin of our microcontroller.

Note: The resistors can all be of the same value and don't forget to change the values in the code according to the values that are entered by your analog pin.

Downloads

Assembly Buttons

588ceee48ae43b3125001c59.jpeg
588ceda48852ddd1c300021c.jpeg
588cedc0ef665a25b4009ed0.jpeg
588cee0b4557141d8f001e18.jpeg
588cee53f9ff1968c9001788.jpeg
7.jpg
588cee74ef665a25b4009ed8.jpeg
588ceec08ae43bcc24000605.jpeg
588cef3eef665ad26f003a8e.jpeg

At the time of soldering the buttons I had in mind the temperature of the heat gun, because the buttons are manufactured in-house with plastic and it melts with ease.

In the case of the clock, use only three keys:

  • Right
  • Enter
  • Left

The values of the 4 resistors were 1.2 KΩ. And another of the advantages of using keyboards for the voltage divider, is to avoid the use of a greater amount of cables, only were required 3 pins.

  • GND
  • VCC
  • A0 (Analog)

Note: The design PCB software Eagle PCB I'll leave at the end of the instructable.

Battery

588cf0c2f9ff1968c900178f.jpeg
588cec478852ddbf170023a8.jpeg
588cec7e3dd33acba7000e5a.jpeg
588ceca01441aafaa40003df.jpeg
588cecd98852ddbf170023ac.jpeg
588cecf8f9ff19e35d000767.jpeg
588ced3e8852ddbf170023af.jpeg
588ced78455714485e000d7c.jpeg

It is a battery 340mA 3.7 V, an analog pin is responsible for measuring the voltage which is its output. In this way we can know when it is necessary to connect it to charge the battery.

The battery charging is done directly by the USB connector.

Circuit Assembly

58a4e35722f7c7120400132c.jpeg
58a4e3826b71fa6fd00001d5.jpeg
58a4e3a322f7c7120400132f.jpeg
4.jpg
5.jpg

After you have soldered all the input devices to the PCB board so I started taking measurements of the length, width and height of the clock.

First Test

First test

This was one of the first tests of the circuit, I needed to verify that the buttons could navigate the menu without problems.

Design 3D

16651408_10209798518618043_878873619_o.png

Seek to design a housing for the Arduino Watch Sport 2.0 that was not sharp, that would handle curves in its design. After a long time of having the imagination running I get the time to design it and the conclusion to which you arrive is the image that they see.

The next step now, was to design it in 3D, it was not an easy task because I had already tried several software of design 3D but to me they were complicated to learn. Thanks to the classes of instructables, I found a tutorial on using the software, FUSION 360, in fact it is an excellent tool for 3D designs, it was very easy to do the design I had printed on paper and the result was the following.

Design 3D - Housing Part 1

s.png
a.png
b.png
c.png
d.png
f.png
i.png
j.png
g.png
k.png
l.png
m.png

My goal was to reach an exact design that I had imagined and drawn on paper, to do this I take a cafe, and I started to learn about all the tools that had the Software FUSION 360. After a long time I got to the task of designing the two pieces that needed the clock. having a good result.

Downloads

Design 3D - Housing Part 1

11.png
1.png
2.png
3.png
4.png
5.png
6.png
7.png
8.png
9.png
10.png

Downloads

Print 3D

58a4e1a08f9b8865a9001262.jpeg
58a4e1c61441aaba1a002b04.jpeg
58a4e1ec21ffe28ce900177b.jpeg
58a4e20b21ffe28ce900177d.jpeg

The printer Printed the two pieces with the highest quality possible, it took a little longer than normal but their quality was excellent.

Printed Housing

58a4e23c455714810e0013b1.jpeg
58a4e2808f9b8865a9001265.jpeg
58a4e2a77a76df87120015f1.jpeg
58a4e2d58f9b88df330007aa.jpeg
58a4e2ff471e3cb88c0029ca.jpeg

Finally, take a piece of sandpaper and touch up some parts of the housing that had been houses. the fine to achieve a casing with a design soft and fine.

Circuit Assembly

12.jpg
589a20f28852ddbf17006bd4.jpeg
2.jpg
589cf20322f7c7f5ee0000fc.jpeg
589cf235471e3cb88c000121.jpeg
5.jpg
6.jpg
7.jpg
8.jpg
9.jpg
10.jpg
11.jpg

In this step assemble the electrical part of the watch along with the case, you have to be delicate in this assembly as any piece we can unsolder in the process. use silicone to give it more firmly to each one of the parts and not to get loose.

Recycled Clock

1.JPG
2.JPG
3.JPG
58a4e55b22f7c7120400133a.jpeg
58a4e5796b71fa6fd00001dc.jpeg
6.JPG

A year ago I gave this watch to use very little since that damage with ease, make the decision to save it knowing that one day he would need, then I look through my saved things because he needed the straps for the Arduino Watch Sport 2.0. I only had to use tweezers to release the latches and were already free of the straps.

Assembly of Straps

589a1cc86b71fa2301000133.jpeg
589a1d3c471e3cff3500298a.jpeg
589a1d741441aafaa4001ab5.jpeg
589a1dab45571481ac0000bb.jpeg
589a1ded21ffe2c089000176.jpeg
589a1e1f8080cfd983008e18.jpeg
589a1e3e8852ddbf17006bb9.jpeg
589a1e6ff9ff19e35d0033a2.jpeg

It should now take the straps and put them together on the clock.

End - Arduino Watch Sport 2.0

Copia_2.jpg
vlcsnap-2017-03-12-18h45m29s598.png
vlcsnap-2017-03-12-18h46m01s970.png
vlcsnap-2017-03-12-18h42m44s988.png
vlcsnap-2017-03-12-18h43m48s520.png

After all the work of assembling, we finished the watch, and some of the tests that I was most worried about was the operation of the Sensor MAX30100 but as you can see in image 2 this working perfectly.

App Android - in Development

17311607_10212204927736799_48349638_o.png
17379780_10212204927536794_1070555444_o.png

The application complies with the function of capture, and read the notifications from the social networks arrive in the cellular, the calls and text messages, to be sent via bluetooth to the watch.


In a next version of the watch, we will create the option that the application is synchronized with the data clock.

Downloads

Thanks