open sourced STM32 smartwatch / smartclock / IOT / blurbs about STM32

Sun Jul 24, 2016 12:20 pm
yes *very possible* :D … martwatch/

a newbie to mcu world, ‘tweeting’ some of my discoveries googling & learning about mcus, stm32, arduino
just an exuberance of discovery & thoughts :lol:

Sun Jul 24, 2016 12:20 pm
it won’t be too far away when someone hack the washing machine & IOT it :lol: … chine-hmi/ … 003975.pdf

Sun Jul 24, 2016 12:54 pm
i was thinking of using a ssr to control the tumble dryer with a dht22 in the outlet duct.
the manual timer aspect does however present a problem.

the sensor does give a series of roughly ‘sawtooth’ measurements, temperature at the end of cycle’ in the tumble dryer increased, the humidity is quite similar, but inverted(istr ???) with a falling peak.


Sun Jul 24, 2016 2:20 pm
pebble sesame

Sun Jul 24, 2016 2:30 pm
highly integrated MCU’s such STM32 as is ‘going places’ these days, fast closing in to that of present day smart phones
and it adds dsp, mixed signal (dac, adc), lots of gpios, all on a single SOI or very few discrete chips

Raisonance Open4 / ST primer / evo-primer … rimer.html

Sun Jul 24, 2016 5:41 pm
you can already have your very own open sourced open hardware ‘fitbit’

right from st microelectronics … wesu1.html

Sun Jul 24, 2016 9:40 pm

I think the problem with the WESU1 from ST is that it does not have a display.

So as well as writing the firmware for the WESU1 you must also write your own phone app

Mon Jul 25, 2016 1:19 am

fully agreed, but i just chanced upon it hence linked it here :)

Mon Jul 25, 2016 1:46 am

I went to Bay Area Maker Faire this year (in May) and hoped ST would be demonstrating the WESU1 but they only had a broken one :-(

I think they are missing a trick by not producing a version with a display, but they don’t seem that good at marketing

Tue Jul 26, 2016 8:29 am
actually the bleeding edge in open hardware smartwatch / smartclock / IOT is right in here:

not sure if it might just become a commercial product / reality sooner than later
the idea of an open hardware smartwatch is attractive, bored with the current watch face? develop a new watchface (i.e. app) say using an IDE say arduino IDE / eclipse, connect the USB cable, install that in flash via DFU update & reboot, viola a new watch literally

i’d think ‘modular extensions’ just like arduino shields is also possible, add a gps? plug that module in connect the usb cable install a new firmware using DFU update flash & reboot ! this i’d guess would be similar to the modular smartphone concept

Tue Jul 26, 2016 9:26 am

I don’t think @FurkanCetin finished it. The last posting was some time last year

Tue Jul 26, 2016 12:30 pm
I dont wanna be the fun killer here, but there are (totally cheap) special chips who can handle things like smartclocks even better than a STM32Fxxx can ever be:
Example: Mediatek: MTK6260, MTK6261
So it would be a better aproach to get into the SDK of these. (and/or buy a smartwatch like the Aplus GV18 (I own one for less than 20 Euros)) and do some reverse engineering, because the firmware is bad as hell.) Starting point would be this: but I assume there is no real english documentation out.

Tue Jul 26, 2016 11:53 pm
No datasheets? no thanks.
If i remember correctly pebble still uses STM32F processors, while having a much smoother experience AND interfaces than the cheapo china smartwatches IMO.


EDIT: There it is, Step 9. And it still has a longer battery life than other smartwatches. (with a color display)


Wed Jul 27, 2016 6:13 am
just got my stm32 evo primer (open4) ordered from element14, it is literally ‘flying off the shelves’ (i tried to find a link to it and discovered that it is ‘missing’ probably sold out

my impression with the device is wow !

below is a link to a youtube video found about it, not from me:
[youtube] … UjMpnmo2DA[/youtube]

the home site: … rimer.html

Wed Jul 27, 2016 6:19 am
Pebble uses ST Micro STM32F439ZG 180 MHz ARM Cortex-M4-based MCU, as written in the teardown.

Wed Jul 27, 2016 6:25 am
‘discovered’ how much i’ve been missing in this brave new stm32 world :lol:

space invaders on stm32 ‘kit board’ … UjMpnmo2DA
[youtube] … UjMpnmo2DA[/youtube]

home site:

Wed Jul 27, 2016 6:33 am
quicktime movie on stm32 F4 discovery … DA&index=9
[youtube] … UjMpnmo2DA[/youtube]

more videos found here: … UjMpnmo2DA

Wed Jul 27, 2016 7:01 am
doom on stm32f429 discovery

Wed Jul 27, 2016 7:21 am
gui on stm32f7 by st itself, but of course f7 is pretty high end and fetch a premium (i.e. somewhat costly) & brings it to a level competing with the ghz superscalar arms & intel :lol: … 1q0G_4VdDc

more videos found here … 1q0G_4VdDc

Wed Jul 27, 2016 8:16 am
Ok, the STM32F7xx is the most interesting MCU at the moment – can’t wait for the sub 10$ dev boards on ali.
Back to the smartwatch: I personally have problems with the sense/operation of ALL smartwatches (SW) they are currently out ,most of them are software related:

  • Even the first wristwatch (Abraham Louis Breguet, 1810) had a decisive advantage as opposed to all modern SW: You can read the time WITHOUT pressing any button or getting the right angle for the gyro. So we need a SW where the display is ever ON (OLED or e-paper like the pebble is a big step forward)
  • Bluetooth: If you use the SW as bluetooth device the range is really bad: You cannot even go to the toilet without loosing the connection (even on the expensive ones). So the big question is about getting a strong (and stable) connection without consuming too much power. (again the pebble with BT4.0 but you have to own a super new smartphone)
  • Touchscreen: A really pain on small screens. Most GUI’s on SW are nearly impossible to use, even the fingers of my 4-year old daughter are too big.
  • Bluetooth mode: phone with the SW (loudspeaker – microphone) is lousy (if you do not just want to call a black Trans Am) . When connected to BT there is no possibility to use an additional BT-headset

Wed Jul 27, 2016 8:36 am
ADD: The first pebbles used not an e-paper, but a sharp LCD display. I bought 2 of them a while time ago (for my TI Tiva TM4C123G LaunchPad) at a discount price. Sadly the shipping costs for the launchpads and boosterpacks are incrediable high (to Austria, before it was free shipping) so I stopped using all TI products.
But the display is VERY nice, outstanding reading angle and nearly no power consumption. So if you can get one cheap, just take it:
There is somewhere a (basic) library written for Energia, so it’s no real effort to adapt it. (apart from the capacitive touch sliders, you need a MCU with hardware support for it (MSP430)

Wed Jul 27, 2016 9:23 am
i’d guess f7 would be more suitable for the ‘high end’ type of dev, it’d feel a somewhat expensive to start with an F7 blinking leds for ‘hello world” :lol:
but i’d think f7 would be better to run with external sdram say 512k or even 1gb at least and large amount of flash say > 1gb, that would allow full fledged OS such as linux and even android to run and it is no less an mcu i.e. with all that gpios, adc/dacs, spi, i2c, etc

another thing is there is something i like about the ‘evo (open4) primer’ concept is that ‘extension board’ concept … anical.PDF

this is something i’ve been thinking about and made a reality by Raisonance and ST. that is pretty much the attractive point about the ‘arduino shields’ concept and i’d think fill an important niche. the primer takes it beyond ‘development boards’ it is pretty much a complete appliance (almost a multi-purpose ‘game console’) and u’d be able to ‘plug and play’ ‘extensions’ such as gps, radios (e.g. wifi / bluetooth, gsm/lte (makes it a phone) etc), and perhaps many more possibilities

many higher speed arm ‘development boards’ failed to fill this particular aspect/niche of ‘plug and play extensions’ and it keeps arduino (even those ‘low speed’ unos) in a niche of its own.

Wed Jul 27, 2016 9:54 am
@ag123 yeah, pretty amazing what people have done with the fancy stm32 chips :D
Yeah, the eval and discovery boards are a bit costy for the f7, but still, the f7 PLUS a ‘big’ screen (4.3inch 480×272) PLUS Audio PLUS Ethernet still seems like a good deal IMO.
But the chip itself isnt that expensive compared to what it can do. You can get it for like ~10$ at digikey.

EDIT: I dont think you need linux on your wrist, let alone a full android version. I would LOOVE to use the android wear os in a stripped down version, but well, couldnt find the sourcecode. and seems like its qualcomm only again. else the chinese would already have 100 SW with it running for 20€ xD

@madias have to agree with you on the first and third point. always on is a must. I wanted to work with this full color oled for a moment, but i ordered just the screen to embed it directly into a project and it didnt turned out working on my side of things. maybe some day. Here is also a seller with really neat epaper screens, but still missing color. dont know if there is any manufacturer who got behind how they are doing 63 colors, but the maximum i could find was 3.
Touchscreens are just a nogo, only useful way is to have one or two buttons, but that will also limit the way you can interact with it really. Or something like the approach of the new samsung gear, where the outer ring acts like a small touch slider, with which you can navigate through the menues.
The Bluetooth range really seems to be a problem generally with bluetooth devices. also things like my bluetooth speaker wont handle more than 20 meters on the beach without starting to lagg around.
About the mode: Im pretty sure that, atleast in android marshmallow, you can select which functions you want to use from a bluetooth device. F.ex. you can deselect that the smartwatch also acts like a microphone and enable that function in your headset.


Wed Jul 27, 2016 10:26 am

as to android or android like os running on smart watches, i’ve come across this ‘bleeding edge’ attempt :lol:

actually my (accidental) foray into stm32 is basically to ‘patch some sensors’ to a device, smartphones these days are pretty much ‘non-extensible’, hence ‘arduino’ and this stm32 boards i come across seemed like a nice fit to that ‘extension’ concept.

Wed Jul 27, 2016 11:37 am
…Another MCU Candidate for smartwatches would/could be the ESP32, with this chip you have nearly everything “onboard”: WIFI(802.11n), BT (4.2), ADC, DAC, temperature sensor, hall sensor. Even I2S, so you can build a really “high-end” audio device with it. OP is freeRTOS. Here is the manual of the ESP-WROOM-03 dev board: … _EN_v1.pdf

Thu Jul 28, 2016 7:41 am
actually this is already a reality, u’d only need to google for it, but of course it is tad big to be a watch :lol:

Thu Jul 28, 2016 7:46 am
The ESP8266 isnt a very good candidate as it takes loads of power.

I know it has sleep modes, but AFIK they are not that easy to use.

Thu Jul 28, 2016 7:55 am
the challenge about making smart watches i’d think actually is *miniaturization*, it is relatively easy in a manufacturing context to make very compact devices in large volume, however, for a ‘hobbyist’ this is pretty much difficult unless one really go the distance to shrink the components. if one succeed it would amount to making ‘arduino swiss watches’ i.e. complicated custom hand made watches of the IOT age & if u run android in it with 4gb flash & 1gb ram it is a grand complication :lol:

Thu Jul 28, 2016 1:31 pm
RogerClark wrote:
I know it has sleep modes, but AFIK they are not that easy to use.

Tue Aug 02, 2016 3:53 pm
actually, u don’t really need to wait, it is already a reality – here comes pebble’s competitor and it is done in the name of ‘development kits’ ! :lol:

Hexiwear Wearable Dev Kit BLE for IoT – from MikroElektronika and NXP semiconductors … n:HEXIWEAR

and here is a teardown and review … ng-device/
the catch: bluetooth stack on device is not open sourced

Fri Sep 02, 2016 9:41 pm
There are now even cheaper hackable smartwatches


I have ordered 2 similar watches from eBay for $8 each from eBay, but they wont be here for several weeks

Goran Mahovlic is currently working to get it to work with my Arduino core for nRF51822 … atch/Lobby

Display is almost working. Accelerometer is working. Vibration is working. Bluetooth is working. Serial is working.

Sat Sep 03, 2016 8:35 am
I din’t find any IDO 003 smartwatch on ebay (maybe they dont’ ship to Italy) but I find a TW64 smartwatch that seems a clone.

But in the comments there is someone that say that there is a model with different hardware and a LCD instead of a OLED screen!
For TW64 in the description they say that the screen is an OLED…

Sat Sep 03, 2016 9:07 am
I ordered a TW64 and in the picture it looks like a OLED, but I don’t know what I will receive.


Sat Sep 03, 2016 4:03 pm
In the ebay link you posted in the other thread I read this
Model: TW64
Appearance material: Aluminum alloy shell, soft rubber strap
Bluetooth version: 4.0BLE (low power consumption)
Screen: OLED 64*32
Memory: 64KB RAM + 64KB ROM
Sensor: G sensor
The main chip: Quintic QN9021
Bluetooth chip: Quintic QN9021
Battery type: 301425
PCB size: 34.6*14.5*0.8
Display: OLED64*32
Compatable with: Android 4.3 or above, Ios 6.1 or above (such as iPhone 4S, iPhone 5, 5C, 5S),
Standby time: Normally use for 2-3 days, standby for one week.

So it should have an OLED screen

Sat Sep 03, 2016 8:24 pm

Perhaps it doesnt use the nRF51822 after all.

That would be a problem.

I will double check

Sat Sep 03, 2016 8:35 pm
I checked the item I have bought and this is the description

Brand: Makibes
Model: ID107
Bluetooth version: V4.0 BLE
Waterproof rating: Life-level waterproof
Main chip: Nordic nRF51822
Pulse sensor: Silicon labs Si1142
G-sensor: kx022-1020

Special Features
Bluetooth calling: Phone call reminder
Health Tracker: Heart Rate Monitor, Pedometer, Calories Counter, Distance, Sleep Monitor
Remote Control: Camera remote
Other Functions: Alarm Alert, Time Clock, Anti-Lost, Phone Finder (Alerts reminder for whatsapp , facebook, twitter, line, wechat message for Andriod cellphone ,IOS cannot support )
Alert type: Vibration
Available colors: Black, Blue, Orange, Purple
Single Key: Short Click and Long Press Control
Special Feature: Light on Wrist Up
Data Storage: Latest 7 Days
Compatible OS Android 4.4 / iOS 7.1 and above system

Display Size: 0.49 inch
Display Type: OLED

Battery Capacity: 60mAh Li-Poly battery
Working Time: Over 7 days
Charging Type: 3 Pins Clip Charger
Charging Time: 1~1.5 hours

Dial and Band
Dial shape: Rectangular
Case material: Plastic
Band material: Silicone

Weight , Size and Color
Dial size: 41.6 x 20 x 12.8 mm
Product weight: 25 g
Color: Black,Orange,Green,Dark Blue,Purple

Package Included :
1 x ID107 Bluetooth 4.0 Smart Bracelet smart band
1 x Charging Cable
1 x User Manual

So it seems I have ordered an ID107

I don’t know why the listing contains the “TW64”, it could be because the listing was for multiple products and you have to pick which one you want from the dropdown menu

I hope it is the ID107 e.g like this one … nd-review/

Anyway, I only paid $8 USD and if it is not the item in the listing with nRF51822 I will ask for a refund

Sat Sep 03, 2016 9:27 pm
Very confusing. I’m now not at all sure about what I bought. Description is missleading.

I will wait and see what I receive

Wed Oct 19, 2016 8:27 am
ok let all that detective work start again :lol:

$8 on amazon ! … B00T5UWF9A … clnk&gl=sg
TW64 Pro JW86 Heart Rate Smart Bluetooth 4.0 Wristband Watch Black
Wristband Material Medical Soft Rubber
Color Black
Usaging Temperature Range -20℃~45℃
Language English
Duration Time 5days(MAX)
Sensor ARM Cortex M4
Battery Li-ion
PowerSource Voltage: 5V, Current: 500-1000MA
Charging Time 1-2h
Material PC
Bluetooth Version V4.0
Memory 4M
Compatible with Above ISO7.0/Android 4.3
System WristbandLength 10.82″ / 27.5cm
Dimensions (10.82 x 9.06 x0.51)” / (27.5 x 23 x 1.3)cm (L x W x H)
Weight 1.13oz /32g
$21.00 [/quote] oh but that’s ‘pro’ version, not sure if it’s the same. but ‘ARM Cortex M4’

this enterprising person has got the *teardown* … r-t3393740

Q 9021 415P1
16 mhz crystal
and that 8×4 32 LQFP pins seemed to be some STM32 ‘clone’ & it looked too much like 1 of those STM32F103x 32 pin series :P :lol:

strangely can’t find LQFP 32 pins packages for STM32 F1, F4 series, but found one of LQFP32 for F0 (Cortex M0) series … 031k4.html

vcc on pin 9, rx on pin 10 – doesn’t seem to match F0 or L0 K LQFP 32 package as well

it would seemed instead NXP QN902x is a better match … ion:QN9021

yup NXP QN902x Ultra low power Bluetooth LE system-on-chip solution
32-bit ARM Cortex-M0
64k on-chip memory (possibly just ‘flash’? not sure where is the ram )
VDD on pin 9, RSTN on pin 19, pin 10 P1_7 RXD0 UART0 RX data input – matches,
has SWDIO pins, ok ‘sufficiently’ hackable :lol:
oops, but the RF h/w is only briefly stated in the docs, not sure if detailed specs to access the RF h/w is available.
even then to develop a bluetooth stack talking direct to h/w could be a staggering challenge, & that’s not all, the initialization & ‘driver stack’ (e.g. libmaple style) codes doesn’t seem easily available
apparently development probably means using nxp’s SDK which i’ve not yet explored if the s/w & tools downloads provided on nxp web is all it takes or that something else is needed

Leave a Reply

Your email address will not be published. Required fields are marked *