A tiny tine MCU. It is powered by STM 32F0 micro controller and offers a built-in ToF sensor , 2 x 2 RGB matrix , 3 GPIO's & UART all under a USB-C connector.
Because it's amazing, just imagine a tiny board of approximately 1 cm x 1 cm can fit STM32 powered dev board. and also I love making small things and I always wanted to build a tiny MCU. It has so much functionality and it's fully open source so anyone can alter it to their requirement and build their own dev board around it.
I've chosen STM32F042T6Y6TR as the brain of this project , as it offer two of the most important thing I needed for this project i.e. the size (2.6 x 2.7mm) & it offers USB interface . It comes in a pakage of WLCSP36 and offers 36 ball pins arrange in a matrix of 6 by 6 with pitch of 0.4mm. With flash memories of 32 Kbytes and an internal clock for usb make it even greater choice for this project .
Now for power/programing & also the thing which will decides the pcb size USB-C connector I used a 16 pin SMD USB-C connector .
The STM32F04X reqires 3.3v to operate so i used a 3.3v @300mah LDO from texes industries i.e. TLV74333PDQNR in a pakage size of 1mm by 1mm with two 1uf caps , one at the input and other at the output .
I have integrated a ToF (Time of Flight) sensor VL53L0X from ST and it comes in a pakage size of 4.4 x 2.4 mm With capability of accurate reading up to 2 m. This opens a large number of future projects which could be made with this tiny MCU(C116)
There is also a 2 x 2 matrix of RGB LEDs with support for WS2812B protocols. It comes in a package of 1 BY 1 mm.
For extra pins i have designed some custom footprints according to the PCB dimensions and integrated seven pins in total, which are 3x GPIO's , UART, VCC & GND.
There are two tiny push buttons for reset and boot .
It is a 4-layer PCB designed around a footprint of the USB-C connector with dimensions of 12.4 MM by 9.4 MM Top layer - signals Inner layer 1 - GND Inner layer 2 - VCC Bottom layer - signals
It is a HDI PCB so it required some special tuning before ordering Trace width is 0.1mm/4mil Via size is 0.25mm OD & 0.1MM ID Via should be filled and caped
To upload a code through USB-C we need to bring it in DUF mode and to do so hold the boot button and then press the reset button for a few seconds and release the reset button and then release the boo button , it will bring our MCU into DUF mode.
Use STM32CubeProgrammer for uploding the files .