First commit

A project log for Smartwatch

This is a smartwatch powered by a STM32l4+ mcu. It has a 390x390 OLED screen, IMU and bluetooth.

Joakim WennergrenJoakim Wennergren 07/15/2019 at 14:143 Comments

So if we fastforward, I've actually got the disco board working with TouchGFX running on it. This was in 2/6 -19.

I have also started making cad drafts for the case and pcb. 

One problem has come up and that is the voltage regulator for the OLEDscreen is using an obsolete component on the disco board (the tiny blue daughterboard). so i have been searching for a replacement and found the STOD32A. 

This component will now be tested  to see if it works with the screen. 

So right now i'm working on the testboard and will wait for it to arrive in maybe 10-15 days from china. 


colton.baldridge wrote 07/18/2019 at 17:34 point

How did you learn how to control the display? I actually had the same idea with a smartwatch and bought the same dev board a few weeks ago. I'm new to STM32, but not to microcontrollers and it's taking me quite some time to get acquainted with the HAL that they use. It doesn't help that none of their examples work on STM32cubeIDE, nor do the binaries upload using ST-Link Utility (flash address error). So far I've gotten the basic LED blinking and UART COM port working, but learning all this is slow and the documentation is poor/straight up wrong at some points.

  Are you sure? yes | no

Joakim Wennergren wrote 07/18/2019 at 17:55 point

What i did to get the display working was to download TouchGFX 4.10.0 Designer and TouchGFX 4.10.0 Environment. I think there is  adequate documentation on this framework on their website. 

Start the designer and choose STM32L4R9 discovery board from their templates. 

Once inside hit the run target button and it should work. Note that this will erase the preprogrammed demo. 

I agree that the documentation around STM32L4+ is poor. But just keep your head up and spend alot of time googling, mailing ST and bury your self in datasheet and everything's possible. 

There is actually good schematics on the Discoboard on ST's website if your'e still trying to make that smartwatch. I use these schematics as a base/reference. 

  Are you sure? yes | no

colton.baldridge wrote 07/18/2019 at 18:27 point

Thank you very much! I will try this later.

  Are you sure? yes | no