STM32F103 is an STMicroelectronics’s 32-bit microcontroller based on the ARM Cortex-M3 processor. The processor clock speed is up to 72MHz. It has 64 Kbytes of flash memory and 20 Kbytes of SRAM. There are several development boards for this microcontroller available on the market. In this tutorial, I will use this development board. It has 40 pins that fit into breadboard. It has 2× 12-bit ADCs, 7× timers, and Up to 9 communication interfaces (3× USART, 2× I2C, 2× SPI, 1× CAN, 1× USB).