STM32F103C8T6 development board

STM32F103C8T6 development board Introduction

STM32F103C8T6 development board

The STM32F103C8T6 development board also known as STM32F103C8T6 arm development board, it is a circuit board that uses the 32-bit Cortex-M3 RISC ARM core STM32F103C8T6 chip as the main chip. It is mainly used to learn the development tools of STM32F103C8T6 microcontroller hardware and software.

The STM32F103C8T6 development board is a minimal system board, so it is called STM32F103C8T6 minimum system development board too. The minimum system is generally composed of an external reset circuit, an external clock circuit, and an MCU body. In addition, there are no other external devices such as Bluetooth, external EEPROM, clock chip DS1302, and SPI interface display. (Note: Although the development board which using the STM32 microcontroller can support the internal clock and power-on reset, the smallest system in the traditional sense is composed of an external reset circuit, an external clock circuit, and the MCU body.), so this STM32F103C8T6 minimum system development board is one of the most streamlined circuit boards, which can only maintain the most basic normal work of the MCU.

stm32f103c8t6 board

STM32F103C8T6 pin diagram

STM32F103C8T6 development board consists of power supply system, STM32F103C8T6 clock configuration(internal/external clock source), reset circuit, downloaded interface circuit 5, and boot circuit.

STM32F103C8T6 development board has onboard GPIO pins, STM32F103C8T6 processor, memory, USB port, STM32F103C8T6 ADC, SWD download interface and other peripherals (external modules).

The design of this STM32F103C8T6 board is very ingenious, all pins are drawn out, and four interfaces are reserved for easy access to display screens and other devices, and a SWD debugging interface is reserved, and ST-LINK can be used to download programs and simulations. STM32F103C8T6 discovery board can be used with many modules. It is widely used in low-end products such as temperature guns, oscilloscopes STM32F103C8T6 oscilloscope, POS machines, smart cars, small civilian toys, and low-end PLCs.

STM32F103C8T6 pin diagram

STM32F103C8T6 Chip comparison

The following is a comparison of STM32F103C8T6/C6T6/C8T6/CBT6 chip parameters:

STM32F103C8T6/C6T6/C8T6/CBT6 chip comparison

seriessTM32F1sTM32F1sTM32F1
specific modelSTM32F103C6T6ASTM32F103C8T6STM32F103CBT6
core processorARMR CortexR-M3ARMR CortexR-M3ARMR CortexR-M3
core32-bit32-bit32-bit
Speed72MHz72MHz72MHz
connectivityCAN,I2C,IrDA,LIN,SPI,
UART/USART,USB
CAN, I2C,IrDA,LIN,SPl,
UART/USART,USB
CAN, I2C,IrDA,LIN,SPI,
UART/USART,USB
peripheralsDMA, motor control PWM.PDR, POR, PVD, PWM, temperature sensor, WDTDMA, motor control PWM.PDR, pOR, PVD, PWM, temperature sensor, WDTDMA, motor control PWM, PDR, POR.PVD, PWM, temperature sensor, WDT
Number of IOs373737
Program memory capacity32KB(32Kx 8)64KB (64Kx 8)128KB(128Kx 8)
Program memory typeflash memoryflash memoryflash memory
EEPROM capacity
RAM capacity10Kx82oKx820Kx8
Voltage – Power2v~ 3.6v2v~ 3.6v2v~ 3.6v
data converterAD 21x12b;D/A 2x12bA/D 21x12b;D/A 2x12bAD 21x12b;D/A 2x12b
oscillator typeinternalinternalinternal
Operating temperature-40c ~ 85°c-4o℃ ~85°C-40°℃~ 85°℃
Package/Case48-LQFP48-LQFP48-LQF
Supplier Device Package48-LQFP (7×7)  

stm32f103c8t6 evaluation board Product Features

stm32f103c8t6 board in pakistan
  • 1. The stm32f103c8t6 evaluation board is equipped with the most basic circuit based on MCUSTM32F103C8T6 microcontroller, 8M and 32768 crystal circuit, and USB power supply circuit.
  • 2. The STM32F103C8T6 core board is divided into two rows to lead out all the I/O ports, and there are 37 IO ports in total.
  • 3. With STM32F103C8T6 SWD simulation debugging download interface, it is simple and convenient, and the debugging speed is fast.
  • 4. The STM32F103C8T6 Micro USB interface is used, which can be used for USB communication and power supply. The USB interface is compatible with the ordinary Android mobile phone charger interface.
  • 5. High-performance 32768Hz RTC crystal oscillator, easy to start and more stable.

stm32f103c8t6 minimum system board hardware design

STM32F103C8T6 hardware design

STM32F103C8T6 development board datasheet


Model
STM32F103C8T6 core board
Size53*23MM
PCB2 layers, black immersion gold
CPUSTM32F103C8T6,48PIN,STM32F103C8T6 64 FLASH, 20KB RAM
Main frequency72M
Download1 SWD download port, 2.54 pin header leads out
Button1 reset button, 2 user buttons
STM32F103C8T6 Micro USB port1, for 5V power supply and USB-Device function
STM32F103C8T6 blink LED1 power LED, 3 user LEDs
STM32F103C8T6 GPIOExcept that the crystal oscillator occupies 4 IOs, all others are led out through 2.54 pitch pin headers
powered by5V power supply, 5V power supply can be realized through USB or pin header interface
interface2.54-pitch pin header interface, which is convenient for DuPont lines to connect to other modules

STM32F103C8T6 Development Board Dimensions

STM32F103C8T6 Development Board Dimensions

STM32F103C8T6 chip Introduction

1. STM32F103C8T6 chip

Package type: LQFP;

Number of STM32F103C8T6 GPIO pins: 48;

Core: Cortex-M3;

Working frequency: 72MHz, 1.25DMIPS/MHz;

Storage resources: 64K Byte Flash, 20KByte SRAM;

Interface resources: 2x SPI, 3x STM32F103C8T6 UART, 2x STM32F103C8T6 I2C, 1x CAN, 34x I/O ports;

Analog-to-digital conversion: 2x ADC (12 bits/16 channels);

Timer: 3 ordinary STM32F103C8T6 timers, 1 advanced STM32F103C8T6 timers;

Debug download: support JTAG/SWD interface debug download, support IAP.

2. RT9193: 3.3V regulator chip, the maximum output is 300mA STM32F103C8T6 output current.

STM32F103C8T6 development board Interface Introduction

1. SWD interface: supports simulation, download and debugging.

2. Micro USB interface: power supply and USB communication function, does not support downloading. Therefore, if you want to connect to a computer to view serial port printing or use the serial port ISP download function, you need to prepare a USB-to-serial port cable STM32F103C8T6 pinout.

When using the serial port to download, use a separate USB-to-serial cable to connect the RX pin of the board to PA9, the TX pin of the serial cable to the board PA10, and GND to GND. Before downloading, manually jump BOOT0 to 3.3V, the original jumper of BOOT1 GND does not move, then power on again or press reset, ISP lower box selects not to use RTS and DTR, after downloading, manually jump BOOT0 back to GND.

3. USART1 interface: STM32F103C8T6 USART interface can be used for downloading program with USART1, or use USART1 for communication.

4. MCU pin interface: lead out all I/O port pins, which is convenient for connecting with peripherals.

5. 5V and 3.3V power input and output interfaces: often used for external power supply, or for common ground processing with other modules..

STM32F103C8T6 development board Other Devices Introduction

1. STM32F103C8T6 power supply LED (PWR): Power indicator status, which can judge whether the power supply is stable.

2. User LED (PC13): It is convenient for I/O output test or to indicate the running status of the program.

3. Select the programming method for start-up jumping: (1. User flash memory 2. SRAM 3. System memory).

4. STM32F103C8T6 reset button: used for the user to reset the chip program.

5. 8M crystal oscillator: the main frequency of the system can be set to 72MHz through frequency multiplication.

6. 32.768KHz crystal oscillator: It can be used for built-in RTC or used for calibration.

STM32F103C8T6 development board schematic

STM32F103C8T6 minimum system board schematic
STM32F103C8T6 board schematic
STM32F103C8T6 circuit diagram
STM32F103C8T6 development board schematic
STM32F103C8T6 board schematic

STM32F103C8T6 example project

STM32F103C8T6 led blink example

Experiment 1: STM32F103C8T6 led blink example

1: Run the KEY APP and use the buttons on the STM32F103C8T6 board to control the LED lights. After entering the APP interface, press KEY1 and KEY2 on the STM32F103C8T6 dev board to control the LED on and off. You can also click the two “KEY” buttons on the interface. When the button is pressed, the corresponding LED light will be lit. Pull the slide bar to control the LED light to run for a short period of time in the form of running water lights. The position of the slide bar is related to the speed of the LED light flickering.

2: Click the “Touch Calibration” button on the interface to enter the touch calibration interface, then click the screen, and follow the prompts to click the small circle that appears on the interface. After the calibration is successful, it will return to the main interface.

STM32F103C8T6 example project

Experiment 2: Humiture APP

Humiture APP can be used to display the detected temperature and humidity data. Before powering on, you need to connect the DS18B20 STM32F103C8T6 temperature sensoror DHT11 temperature and humidity sensor to the upper right corner of the STM32F103C8T6 dev board.

Clock APP

Experiment 3: Clock APP

The Clock APP uses the RTC function of STM32. If connect the STM32F103C8T6 development board battery holder to the battery, the RTC of the development board will continue to run after the main power supply is cut off. You will see an updated version when you open the Clock APP next time. time. (The battery holder is under the LCD screen, the battery model is: CR1220)

Experiment 4: STM32F103C8T6 ADC example

The ADC APP can collect voltage and display the STM32F103C8T6 voltage as a waveform. Rotate the potentiometer on the upper right of the board to change the STM32F103C8T6 input voltage, and the voltage detected on the APP will also change accordingly.

STM32F103C8T6 projects

Smart car
track the car, read the data from the photoelectric sensor or camera, and drive the motor to move forward and turn.
robot
Drive the steering gear to control its joints to make the robot move.
drone
Read the attitude data of the gyro accelerometer, and control the motor speed according to the control algorithm to ensure the stable flight of the aircraft.
Low-end PLC master control

STM32F103C8T6 is a single-chip microcomputer based on ARM 32-bit Cortex M3 core, 2.0 ~ 3.6 V wide voltage supply range, CPU operating frequency up to 72 MHz, with single-cycle multiplication instructions and hardware division, as well as programmable priority Interrupt the system. At the same time, it also has 64 KB of STM32F103C8T6 flash memory and 20 KB of STM32F103C8T6 SRAM memory, and also integrates very rich on-chip peripherals, such as watchdog, STM32F103C8T6 timers, STM32F103C8T6 GPIO port, DMA controller , STM32F103C8T6 ADC, STM32F103C8T6 UART, SPI interface, STM32F103C8T6 i2c interface, etc., have the advantages of low cost, fast speed, and high cost performance. Therefore, STM32F103C8T6 microcontrollers are often used in low-end products such as smart cars, robots, drones, low-end PLCs, and STM32F103C8T6 oscilloscope etc.

Contact us

You can contact us for STM32F103C8T6 price,STM32F103C8T6 datasheet pdf, STM32F103C8T6 schematic pdf, STM32F103C8T6 manual and other more details.

STM32F103C8T6 reference manual is a technical reference manual for STM32 microcontroller products. It is specific information on how to use the product, with STM32F103C8T6 reference manual you can get many files including the internal structure of each functional module, all possible functional descriptions, the use of various operating modes and STM32F103C8T6 GPIO registers configuration and other details.

We have a variety of different development boards to meet the needs of users of different levels. For example, if you are a beginner, we introduced which STM32 development board is suitable for you in the article “best stm32 development board for beginners”. The STM32F4 series development board such as STM32F429 Discovery Board (STM32F429IGT6) is more suitable for users who have a certain understanding of the operation of the development board, and its functions and performance are stronger than the STM32F1 series. Most of the functions of the STM32F7 series development boards (such as STM32F767IGT6),are complete, and the performance is much higher than that of the F4. you can view “which stm32 to choose”) , or you can contact us for more consultation.

STM32F103C8T6 development board Shipping List

stm32f103c8t6 discovery board
1 of STM32F103C8T6 Core board
1 of STM32F103C8T6 Micro USB] data cable

Compatible STM32F103C8T6 module for STM32F103C8T6 development board

  • OLED module

The STM32F103C8T6 development board can be used with a 0.96-inch yellow-blue two-color OLED module. The communication method is IIC and the resolution is 128*64.

OLED moduleSTM32F103C8T6 core board
Pin no.Pin name.Pin Description
1VCCPower supply, 3V3 power supply3V3
2GNDlandGND
3SCLclock linePB6
4SDAserial data linePB7
STM32F103C8T6 module
  • ESP8266 WIFI module

The STM32F103C8T6 development board can be used with the ESP8266 WIFI module. The ESP8266 module is a serial port type WIFI module, the speed is relatively low, and it cannot be used to transmit large-capacity data such as images or videos. It is mainly used in occasions where the amount of data transmission is relatively small, such as temperature and humidity information, and the switching value of some sensors.

Esp8266 ModuleF103C8T6 Core board
Pin No.Pin NamePin Description
1VCCPower supply, 3V3 power supply3V3
2GNDlandGND
3URXDserial data inputPB10
4UTXDserial data outputPB11
5CH_PDChip SelectPB8
6RSTreset pinPB9
STM32F103C8T6 esp8266 example
Connection between ESP8266 module and STM32F103C8T6 development board
STM32F103C8T6 module
ESP8266 module pin description

Timer interrupt priority configuration

We set the interrupt grouping to 0, the main priority to 0, and the preemptive priority to 3.

Timer Interrupt Service Routine

The timer interrupt time is 1ms. We define a global variable time, and let time record the number of interrupts each time an interrupt is entered. If we want to achieve a timing of 1s, we only need to judge whether the time is equal to 1000, and 1000 1ms are 1s. Then clear time to 0, count again, and repeat this cycle. At the end of the interrupt service routine, remember to clear the corresponding interrupt flag.

Main function

The main function does some necessary initialization, and then continuously judges the value of time in an infinite loop. The value of time changes when the STM32F103C8T6 timer is interrupted. Each addition means that the timer has passed 1ms. When time is equal to 1000, 1s time is up. LED1 flips once and clears time to 0.

For more examples, please contact us.

Macro definition to control the LED lights on and off

In order to facilitate the control of LED lights, we directly define the controls of on, off and state inversion that are commonly used for LED lights as macros.

LED GPIO initialization function

Use the above macro to write the initialization function of the LED light.

Main function

After writing the control function of the LED light, you can test it in the main function.

Download the compiled program to the development board and reset it, you can see that the RGB lights display different colors in turn. For more examples, please contact us.

The STM32F103C8T6 minimum system development board has the following two programming methods.

Compiler support--STM32F103C8T6 KEIL programming

ide can be used to write programs and flash codes into the STM32F10C8T6 development board.

STM32F103C8T6 KEIL programming

KEIL/CubeMX and STLink software are also used to compile and upload programs. To program the STM32F103C8T6 minimum system development board. An external USB or serial converter is required, using a USB-to-serial cable to connect the STM32F103C8T6 board to the computer USB. This is done through the single-wire debug interface, which is designed for the ARM core for transmission and memory access.

Arduino IDE—STM32F103C8T6 programming with Arduino IDE

This MCU is compatible with Arduino software. It can be programmed using the Arduino compiler. Arduino uses two compilers, AVR-g++ and arm-none-EABI-g++. The code can be programmed to the MCU via external USB using the UART1 pin.

To do STM32F103C8T6 programming with Arduino IDE via the Arduino software, the desired board must be selected from the board menu provided by the software. Then download the appropriate files for efficient programming of the board.

STM32F103C8T6 development board supports 3 kinds of program download methods. According to different principles, it can be divided into ISP serial port download (use USB-TTL to connect PA9, PA10), SWD download (use ST-LINK to connect PA13, PA14), JTAG download (use JLINK to connect PA13, PA14, PA15, PB3, PB4).

1. ISP download

The full name of ISP is In-System Programming, which means online system programming. The STM32 development board can generally be programmed through the UART1 pin. When burning, it needs to be realized with the grounding of BOOT0 and BOOT1. BOOT0 and BOOT1 can be combined into four states, and the meanings of different positions are shown in the figure below, where X is an irrelevant item.

To use the ISP re-port to download, you need to use a jumper cap to short BOOT0 to the 1 position, and BOOT1 to the 0 position before powering on the MCU, that is, the system memory mode, and then you can download the program through the serial port.

After the ISP serial port is downloaded, the power is turned off. Before the MCU is powered on, it is necessary to short the BOOT0 to the 0 position with a jumper cap, that is, the main flash memory mode.

Due to the TTL level communication protocol used by the single chip microcomputer, the serial port chip needs to be used for serial communication with the USB port of the computer. The common ones are CH340 series (such as CH340N), FT232, PL2303, etc. The following figure uses CH340T as an example.

 ISP downloader

The GND of the downloader is connected to the GND of the single-chip microcomputer (just connect one), the 3.3V of the downloader is connected to the 3.3V of the single-chip microcomputer (or the 5V of the downloader is connected to the VIN of the single-chip microcomputer), the RXD of the downloader is connected to the PA9 (U1TX) of the single-chip microcomputer, and the TXD of the downloader is connected to the PA10 of the single-chip microcomputer (U1RX) connected.

2. SWD download

To use the SWD interface to download, you only need to connect 3.3V (if the board for programming the program has its own power supply, the 3.3V pin does not need to be connected), GND, SWDIO (PA13), SWCLK (PA14), RST (unnecessary connection), You can buy more than a dozen ST-LINK downloaders (this U disk shape is not actually produced by ST, but it can also be used after burning their firmware).

Using the SWD interface can not only burn the program, but also realize online simulation (debug). During the simulation process, data such as register STM32F103C8T6 GPIO registers can be monitored, which is very suitable for software development (finding problems). It is worth noting that ST-LINK/V2 only supports programming for its own STM32 and STM8, and does not support programming for microcontrollers from other companies (even if it is also equipped with a Cortex-M3 core).

 ST-LINK downloader

3. JTAG download

The JTAG interface needs to use TMS (mode selection), TCK (clock), TDI (data input), TDO (data output), nTRST (reset, not necessary), corresponding to the STM32F103C8T6 development board is PA13 (TMS), PA14 (TCK ), PA15(TDI), PB3(TDO), PB4(nTRST) pins, the first function of these pins is the JTAG interface. The STM32-DAP downloader can be used when downloading with JTAG.

JTAG download