STM8S Development Board

A project which aims to build a development board for STM8S003F3P6 (20 pin SMD) microcontroller.

Similar projects worth following
This project aims to build a development board for STM8S003F3P6 (20 pin SMD) microcontroller. STM8 microcontrollers are 8-bit general purpose microcontrollers from STMicroelectronics (STM). They are robust, has a lot of features and are highly economical when it comes to price. STM8 MCUs are one of the most unexplored yet efficient microcontrollers and this project aims to provide a platform for enthusiasts to learn and appreciate them.

The development board features STM8S003F3P6 microcontroller (with 8-Kbyte flash memory, 1-Kbyte RAM, 128-byte EEPROM), external crystal for clocking, type B mini USB port, a USB to UART converter, voltage regulator, LED, switch , buzzer, potentiometer for ADC input and general purpose IO ports for user applications.

The STM8S003F3 microcontroller development board is designed primarily for general purpose applications. The microcontroller features 16 GPIO pins all of which can be accessed easily by the user through the male header pins provided along the sides of the board. Separate header pins are provided for programming the board through ST-Link programmer as well as for switching the operating voltage between 5V and 3.3V. The board can be powered up through USB cable as well as through the ST-Link programmer. The on-board 3.3V voltage regulator has a current capacity of 800mA and can power up the board as well as interfaced external peripherals. The Type-B mini USB port along with USB to Serial chip (CH340G) provides communication with PC. 

Features of the development board:

  • STM8S003F3P6 microcontroller.
  • On-board 16MHz crystal oscillator 
  • A Buzzer interface
  • One switch
  • One reset button
  • One user LED 
  • A 10kohm potentiometer for ADC interface
  • USB Type-B mini port for powering up as well as for data transfer
  • On-board 3.3V voltage regulator - LM1117
  • On-board USB to serial chip CH340G for communication via UART
  • A 4 pin SWIM port for programming via ST-LINK programmer
  • On-board power selector pins for switching the operating voltage between 5V/3.3V
  • On-board power indicator LED
  • All port pins available through male header strips 
  • Highly compact with dimensions of 4.53 cm x 7.6 cm


Zip Archive - 2.40 kB - 11/27/2018 at 02:20



document - 8.95 MB - 11/27/2018 at 02:10



Bill Of Materials

plain - 16.66 kB - 11/27/2018 at 00:36


STM8S003F3 datasheet.pdf

Adobe Portable Document Format - 1.47 MB - 11/26/2018 at 08:31



Layout of the board

brd - 193.28 kB - 11/26/2018 at 08:35


View all 8 files

  • 1 × STM8S003F3P6 IC Microcontroller IC
  • 1 × CH340G USB to UART converter IC
  • 18 × Capacitor
  • 10 × Resistor
  • 31 × Pin header GPIO pins, SWIM port and Power select

View all 13 components

View all 7 project logs

  • 1
    Schematic and layout designing

    Schematic and layout designing is done on the Eagle PCB design software. The design is made taken into consideration of the different requirements of the ICs used in the board. The important design aspect  to be taken care of is to choose the value of VCAP of the microcontroller. The value of the VCAP is to be choosen between 470nF and 1uF. If the value is not choosed carefully then the whole design wont work. The schematic and the layout files are uploaded in the files section.

  • 2
    PCB fabrication and soldering of the components

    The layout is checked and each layer is verified using Gerbview software. Then it is given for the fabrication. After the PCB is received, the components are soldered in the main PCB and are checked for any short connections.

  • 3
    Testing of development board and working of the peripherals

    The development board and the working of the peripherals is tested using the codes which are uploaded. The programmer used is ST-Link V2 and is programmed using the SWIM port . The compiler used for the codes is IAR Embedded Workbench. 

View all 3 instructions

Enjoy this project?



Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates