F*WATCH, making a watch differently! Federico Vaga, Matthieu Cattin - - PowerPoint PPT Presentation

f watch making a watch differently
SMART_READER_LITE
LIVE PREVIEW

F*WATCH, making a watch differently! Federico Vaga, Matthieu Cattin - - PowerPoint PPT Presentation

F*WATCH, making a watch differently! Federico Vaga, Matthieu Cattin FOSDEM, Brussels, 31 January 2015 Federico Vaga, Matthieu Cattin F*WATCH 1/44 What is it? Federico Vaga, Matthieu Cattin F*WATCH 2/44 What is it? Federico Vaga, Matthieu


slide-1
SLIDE 1

F*WATCH, making a watch differently!

Federico Vaga, Matthieu Cattin FOSDEM, Brussels, 31 January 2015

Federico Vaga, Matthieu Cattin F*WATCH 1/44

slide-2
SLIDE 2

What is it?

Federico Vaga, Matthieu Cattin F*WATCH 2/44

slide-3
SLIDE 3

What is it?

Federico Vaga, Matthieu Cattin F*WATCH 2/44

slide-4
SLIDE 4

Why a watch? Retirement gift for a timing Hacker Gift Requirement

1 customization of the gift 2 hackable gift 3 free/open source 4 use only FOSS tools Federico Vaga, Matthieu Cattin F*WATCH 3/44

slide-5
SLIDE 5

Development organization

Federico Vaga, Matthieu Cattin F*WATCH 4/44

slide-6
SLIDE 6

The design

Components selection criteria Low power consumption Available in small quantity from main suppliers Small size (footprint)

Federico Vaga, Matthieu Cattin F*WATCH 5/44

slide-7
SLIDE 7

Components selection

Micro-controller (EFM32) Silicon Labs 32-bit Cortex-M3 1MB flash 128kB RAM 1.1uA deep sleep

Federico Vaga, Matthieu Cattin F*WATCH 6/44

slide-8
SLIDE 8

Components selection

GPS module Antenova 13 x 9.5 x 1.8mm Integrated antenna

Federico Vaga, Matthieu Cattin F*WATCH 7/44

slide-9
SLIDE 9

Components selection

Altimeter module (pressure sensor) Measurement Specialties 6.4 x 4 x 2.8mm Water-resistant Includes a thermometer

Federico Vaga, Matthieu Cattin F*WATCH 8/44

slide-10
SLIDE 10

Components selection

Memory LCD display Sharp 128 x 128 pixels 1.28 inches Ultra low current

Federico Vaga, Matthieu Cattin F*WATCH 9/44

slide-11
SLIDE 11

Components selection

Battery Adafruit Li-ion 500mAh Big capacity Lightweight Rechargeable

Federico Vaga, Matthieu Cattin F*WATCH 10/44

slide-12
SLIDE 12

Components selection

Other features 3-axis accelerometer + compass Ambient light sensor micro-SD card slot Battery charger + fuel gauge micro-USB connector Buzzer Vibrating motor Foreseen improvements Bluetooth LE Low noise amplifier for the GPS antenna Power management

Federico Vaga, Matthieu Cattin F*WATCH 11/44

slide-13
SLIDE 13

PCB design

CERN is contributing Developers in the team (help, bugfix, feedback) New features making routing easier (e.g push&shove) Script to generate placement pdf Interested in knowing more about KiCad developments? Visit the EDA dev room (AW1.124) tomorrow

Federico Vaga, Matthieu Cattin F*WATCH 12/44

slide-14
SLIDE 14

PCB design

Characteristics 4 x 4 cm 4 layers Components on both sides Licensed under CERN OHL v1.2

Federico Vaga, Matthieu Cattin F*WATCH 13/44

slide-15
SLIDE 15

PCB assembly & validation

Prototypes assembled by hand Fully working, except two minor bugs Error in a datasheet MCU interrupt scheme → Fixed with few cuts and wires!

Federico Vaga, Matthieu Cattin F*WATCH 14/44

slide-16
SLIDE 16

Backlight

A long story... To read display in the dark No backlight available

Federico Vaga, Matthieu Cattin F*WATCH 15/44

slide-17
SLIDE 17

Backlight

First try: LEDs + opaque Plexiglas

Federico Vaga, Matthieu Cattin F*WATCH 16/44

slide-18
SLIDE 18

Backlight

First try: LEDs + opaque Plexiglas Not good!

Federico Vaga, Matthieu Cattin F*WATCH 16/44

slide-19
SLIDE 19

Backlight

Second try: Recycled smartphone backlight

Federico Vaga, Matthieu Cattin F*WATCH 17/44

slide-20
SLIDE 20

Backlight

Second try: Recycled smartphone backlight Better, but...

Federico Vaga, Matthieu Cattin F*WATCH 17/44

slide-21
SLIDE 21

Backlight

Current try: Custom-made module → Low quantity, cheap (< 5$/pces)

Federico Vaga, Matthieu Cattin F*WATCH 18/44

slide-22
SLIDE 22

Backlight

Current try: Custom-made module → Low quantity, cheap (< 5$/pces) The solution

Federico Vaga, Matthieu Cattin F*WATCH 18/44

slide-23
SLIDE 23

Mechanical design

CAD tool selection No mechanical engineer No experience in 3D design/printing Evaluate existing free CAD tools FreeCAD, OpenSCAD, Open CASCADE, ...

Federico Vaga, Matthieu Cattin F*WATCH 19/44

slide-24
SLIDE 24

Mechanical design

CAD tool selection No mechanical engineer No experience in 3D design/printing Evaluate existing free CAD tools FreeCAD, OpenSCAD, Open CASCADE, ... Criteria Documentation, support User-friendliness, learning curve

Federico Vaga, Matthieu Cattin F*WATCH 19/44

slide-25
SLIDE 25

Mechanical design

CAD tool selection No mechanical engineer No experience in 3D design/printing Evaluate existing free CAD tools FreeCAD, OpenSCAD, Open CASCADE, ... Criteria Documentation, support User-friendliness, learning curve Decided to use FreeCAD

Federico Vaga, Matthieu Cattin F*WATCH 19/44

slide-26
SLIDE 26

Mechanical design

Full of new challenges Learn FreeCAD from scratch Design a watch case 3D print it

Federico Vaga, Matthieu Cattin F*WATCH 20/44

slide-27
SLIDE 27

Mechanical design

Full of new challenges Learn FreeCAD from scratch Design a watch case 3D print it

It’s time for a live demo!

Federico Vaga, Matthieu Cattin F*WATCH 20/44

slide-28
SLIDE 28

3D model

Making of movie (6 hours summarised in 5 minutes) http://www.ohwr.org/projects/f-watch/wiki/Movies

Federico Vaga, Matthieu Cattin F*WATCH 21/44

slide-29
SLIDE 29

First 3D print

Fused plastic material - Low-cost 3D printer Poor resolution, not good enough

Federico Vaga, Matthieu Cattin F*WATCH 22/44

slide-30
SLIDE 30

Second 3D print

Plastic material (powder) Good resolution, but not smooth, not water-proof

Federico Vaga, Matthieu Cattin F*WATCH 23/44

slide-31
SLIDE 31

Third 3D print

Resin material Smooth, water-proof, but bad fastening

Federico Vaga, Matthieu Cattin F*WATCH 24/44

slide-32
SLIDE 32

Forth 3D print

Resin material Improved case parts fastening

Federico Vaga, Matthieu Cattin F*WATCH 25/44

slide-33
SLIDE 33

Mechanical design

The buttons

Federico Vaga, Matthieu Cattin F*WATCH 26/44

slide-34
SLIDE 34

Building the watch

Buy electronics/mechanical components Download circuit Gerber files and order PCB Assemble the board Download case/button models and order 3D print Buy/build a programmer (bootloader) Optional: Milling machine (Plexiglas)

Federico Vaga, Matthieu Cattin F*WATCH 27/44

slide-35
SLIDE 35

Building the watch

Software Download sources from the GIT repo No binary releases (yet) Compile bootloader and flash it (using a programmer) Compile application sw and flash it (using the bootloader) Modify, re-flash, test, etc... git://ohwr.org/f-watch.git

Federico Vaga, Matthieu Cattin F*WATCH 28/44

slide-36
SLIDE 36

How much does it costs?

Estimated cost for small series (without shipping) Number of watches 1 10 50 Pcb + components 175 C 94 C 81 C Pcb assembly

  • 118 C

67 C Case + buttons + screws 68 C 67 C 61 C TOTAL per watch 243 C 278 C 209 C TOTAL 243 C 2’784 C 10’455 C 3D print : 60 C PCB : 77 C Pressure sensor : 19 C GPS module : 19 C Display : 17 C

Federico Vaga, Matthieu Cattin F*WATCH 29/44

slide-37
SLIDE 37

MCU SDK free and open source software A lot of integration examples Well documented

Federico Vaga, Matthieu Cattin F*WATCH 30/44

slide-38
SLIDE 38

Bootloader free bootloader provided by SiliconLab support for IAR, Keil uVision migrate to gcc toolchain (don’t use gcc optimization!)

Federico Vaga, Matthieu Cattin F*WATCH 31/44

slide-39
SLIDE 39

Operating System

FreeRTOS uC/OS-III RTX TNKernel License

  • Mod. GPL

restrictive BSD BSD EFM32 yes yes yes no USB no yes no yes FAT no yes no yes

Federico Vaga, Matthieu Cattin F*WATCH 32/44

slide-40
SLIDE 40

Operating System FreeRTOS nice documentation big community a lot of examples Keil RTX nice documentation community? few examples

Federico Vaga, Matthieu Cattin F*WATCH 33/44

slide-41
SLIDE 41

Graphic tiny 2D graphic library adapt the library to our screen Features write text draw simple geometry and icons event management

Federico Vaga, Matthieu Cattin F*WATCH 34/44

slide-42
SLIDE 42

Applications

Federico Vaga, Matthieu Cattin F*WATCH 35/44

slide-43
SLIDE 43

Interface

Federico Vaga, Matthieu Cattin F*WATCH 36/44

slide-44
SLIDE 44

Demo

Applications demonstration video

Federico Vaga, Matthieu Cattin F*WATCH 37/44

slide-45
SLIDE 45

Documentation www.ohwr.org/projects/f-watch/wiki how to configure your machine how to write applications details about the project

Federico Vaga, Matthieu Cattin F*WATCH 38/44

slide-46
SLIDE 46

Development Summary free PCB design free mechanic design free software free tools free time

Federico Vaga, Matthieu Cattin F*WATCH 39/44

slide-47
SLIDE 47

Development Summary free PCB design free mechanic design free software free tools free time free development for free products

Federico Vaga, Matthieu Cattin F*WATCH 39/44

slide-48
SLIDE 48

Free Development Needs Free Tools

Federico Vaga, Matthieu Cattin F*WATCH 40/44

slide-49
SLIDE 49

Free Development Needs Free Tools

Federico Vaga, Matthieu Cattin F*WATCH 40/44

slide-50
SLIDE 50

Easy to Make How difficult can it be? Competitive free tools Specialized company in 3D printing Specialized company in PCB manufacturing Easy to ship everywhere

Federico Vaga, Matthieu Cattin F*WATCH 41/44

slide-51
SLIDE 51

Next Generation Free-Open Source Free products are real cars, robots, watches, bikes, houses, phones, ... 3D Metal printers

Federico Vaga, Matthieu Cattin F*WATCH 42/44

slide-52
SLIDE 52

What can it be?

Federico Vaga, Matthieu Cattin F*WATCH 43/44

slide-53
SLIDE 53

Join Us Not a real product Make it a good example Join the project

Federico Vaga, Matthieu Cattin F*WATCH 44/44