STM8S Encoder Interface Example

STM8S Encoder Interface Example

STM8S 2 Wire (I2C/TWI) LCD Example

STM8S PCD8544 GLCD (Bit-Banging) Example

STM8S ADC Example - Reading Analog Channel 0

STM32F7 - Tutorial LCD Screen

It's a small tutorial to make a project on the STM32F7 Discovery using System Workbench 32.

Full code here:

ST Microelectronics STM8S 8 bit Microcontrollers

STM32 Arduino Tutorial - How to use the STM32F103C8T6 board with the Arduino IDE

In this Arduino Tutorial, we are going to take a first look at the STM32 Arduino Compatible Board. This board is powerful and inexpensive. Let's see what it has to offer!

Hello, guys, I am Nick and welcome to a channel that is all about DIY electronics projects with Arduino, Raspberry Pi, ESP8266 and other popular boards. Today I am very excited because we are going to test this new board which uses the STM32 chip and we are going to learn how to program it using the Arduino IDE. As you can see, I have connected one of my favorite displays; the 1.8 Color TFT display and I have loaded the graphics test program. From this test, you can tell that the board is fast! Let's now take a closer look at the board!

I discovered this little board some time ago when cmb80amiga, a long time viewer of the channel suggested that I should give it a try. After watching some of his impressive projects with this board on his YouTube channel, I decided to buy one to try it. You can visit his channel by clicking on this card. The board costs around 3$,


STM32 Board:

FTDI Programmer:

Color TFT:



Power Bank:

OLED Meter:

Full disclosure: All of the links above are affiliate links. I get a small percentage of each sale they generate. Thank you for your support!

The board I bought, which is also called the blue pill because of the blue color of the PCB, features the STM32F103C8T6 chip, which is powerful, ARM processor! The board is tiny. It is slightly bigger than the Arduino Nano board. Apart from the chip itself, on the board, we can find an 8Mhz Crystal and a 32KHz crystal to drive the internal Real Time Clock. The board uses 3.3V logic levels, but most of its pins are 5V tolerant. Let's now take a closer look at the heart of the board the STM32 chip.

The chip is a 32bit ARM processor which is clocked at 72MHz! The chip does not offer WiFi or Bluetooth, but it offers, 20KB of RAM and 64KB of Flash memory which is enough to build large projects. It also provides 37GPIO pins, 10 ADC pins, SPI, I2C, CAN, UART buses and a DMA controller. These are impressive specs for a chip that costs 3$. If we compare the specs of the STM32 with the specs of the Arduino Uno, we can see that this small board outperforms the Arduino Uno in every field. The frequency at which the STM32 chip operates is 4.5 times higher than the frequency that the Arduino Uno operates. So, we expect the STM32 to be at least 4.5 times faster than the Arduino Uno.

First of all, to upload a program to the board, we need a USB to Serial module like this one which uses the FTDI chip. We connect Vcc from the module to the 5V pin of the board. Next, we connect GND to GND. Now we need to connect the RX pin of the module to pin A9 of the board and the TX pin of the module to pin A10 of the board. The last step we have to do is to place this jumper to position one, so the module to enter the program mode. We press the RESET button once, and we are ready. Let's go to the computer now.



FACT OR FICTION 2018 Quiz Game

You can download my latest Android Game which is called Fact or Fiction 2018 here:


Arduino Datalogger:
Arduino Weather Station Project:
Arduino Nokia 5110 LCD Display:
Arduino OLED display tutorial:
DIY Arduino:

-------------------- is a Youtube channel and website which is dedicated in developing high-quality videos about DIY hardware and software projects. In this channel we develop projects with Arduino, Raspberry Pi, we build robots and simple electronic circuits. Check out our website as well for more information:


Never miss a video:

RF Encoder / Decoder Chipset

- Introduction of the basic operation of RF600 Encoder / Decoder chipset

59. How to Use I2C to Read a Device's Register Part 1 - ARM STM32 Microcontroller Tutorial

Patrick's Tip Jar:
If you have found this video to be helpful, consider making a tip. Thanks.

In this video, I establish the first communication to read a register on the ADXL345 accelerometer

Recommended servos:
Futuba hobby servo:
High torque metal gear hobby servo:
HiTec hobby servo:
High precision, high torque metal gear hobby servo:

Equipment that I use to make videos:
Canon EOS Rebel:
Macro Lens:
3D Mouse to rotate/zoom/move the object (Must have for CAD!!!):
The drafting pencil I use on these videos:
The cheap oscilloscope that I use (because it's cheap and will work all of the projects in these tutorials):
A better oscilloscope and the one I would recommend:
The brand of multimeter that I use and the one I recommend:

Want to have your own Patreon campaign?

Advanced GUI on STM32F7 powered by Embedded Wizard graphic solution

Advanced GUI on STM32F7 powered by Embedded Wizard graphic solution

Embedded Wizard graphic demonstration on STM32F769 discovery kit

STM32F10X with ADC Amplitude Modulation

ADC girişinden okunan ses verisinin genlik modülasyonu uygulanarak DAC çıkışından gözlenmesi. (STM32F10X with AM Modulator) TA1AYO , 73.


Получаем IP адрес от DHCP севера. Отправляем и принимаем данные на TSP server народного мониторинга . Управляем светодиодом на плате через сервер народного мониторинга.



#11 The World's Fastest Arduino Compatible Board

A race between several Arduino compatible boards below 10$ shows how fast the boards are and how much energy they use.

The results are quite interesting...

Boards: Arduino Pro mini 3.3V and 5V

Maple Mini (STM32):

ESP8266 NodeMCU 0.9 Development Board:

All boards are used in Arduino IDE Mode (no LUA)



- External Interrupt Test -
Discovery USER Key (PA0)

Target : STM32F401C-DISCO
Tools : Keil uVision5, STM32CubeMX

STM32F7 I2C (IIC): Caminata de LED's

Se describe la manera de configurar y usar el módulo de I2C funcionando como Master.

Enlace para conseguir las tarjetas del Expansor de puertos:

Tutorial CubeMX - 7- USART RxTx Interrupts STM32F4 Discovery

Using HAL API and Cube Mx code generator, only 5 lines and 2 declarations are necessary in main.c and ISR for Tx and Rx interrupts, working with STM32f4 Discovery in non-blocking mode. Here we use the real HAL...IT instructions, which are very powerful, but a lot of attention must be payed in activating and deactivating the corresponding interrupt flags.
© Universitatea Hyperion 2016.

Hummingbird ARM Lesson 06: STM32 RTC Alarm

Demo stm32 RTC Alarm function.

Spindle PID Closed Loop Controller LinuxCNC

Short walk through of PID tuning using the Ziegler-Nichols method on a closed loop spindle controller in LinuxCNC.

I'm not the best videographer, sorry if it is a little disorganized. Probably should write a script or something next time. Thanks for watching.

Code and additional information can be found in this thread on

STMStudio STM32F407 discovery визуализация данных

Визуализация данных с помощью программы STMStudio

Motor Driver L9110 and Arduino control DC Motor

Motor Driver L9110 and Arduino control DC Motor


Check Also