STM8S Encoder Interface Example

STM8S Encoder Interface Example

STM32Cube encoder STM32F407 discovery (СТМ32 Энкодер)

В данном видео уроке приведен пример настройки энкодера с использованием программ STM32CubeMX и Keil uVision5

CNC spindle speed control with PID using STM8S

CNC spindle speed control with PI controller, using
* Kress FM 530 spindle with TCRT5000L IR sensor
* STM8S Discovery board
* BTA08-600 Triac
* TM1638 Display

More info at

[DEMO] Điều khiển tốc độ động cơ sử dụng STM8S

Nhận làm các đề tài, đồ án liên quan đến chuyên ngành Điện tử. Bên cạnh việc làm và hoàn thành sản phẩm. MÌnh sẽ hướng dẫn chi tiết về đề tài cũng như cách bảo vể để các bạn có đc điểm số cao nhất.
facebook :

STM32Cube Encoder +PWM (СТМ32 энкодер + ШИМ)

STM32discovery - регулировка яркости свечения светодиодов используя PWM и энкодер.

STM8S - PWM Test (DC Motor Control)

STM8S - PWM테스트 (DC모터 속도 제어)

RF Encoder / Decoder Chipset

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

extracting read protected firmware (RDP level 1) from stm32f03

Based on vulnerability found by Johannes Obermaier & Stefan Tatschner

ServoClock minu

ServoClock minu

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

STM32 - BLDC Motor Control

Пример регулятора для бесколлекторного двигателя с датчиками Холла (Sensored BLDC).
См. также:

STM32F7 - Tutorial LCD Screen

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

Full code here:


Showing the circuit which uses an external interrupt to detect when the user has pressed a button. Pressing the button toggles the LED.

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:

3. STM32F4 Discovery Tutorial : Timer Basic with Interrrupt

Bài này sẽ hướng dẫn các bạn cấu hình một timer ở chế độ basic để tạo một khoảng thời gian có sử dụng ngắt tràn.

Link Download Project Đầy Đủ Nhé :

Fun with IAR ARM compiler while programming STM32F


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



MikroE Rotary Click Binary Clock

Stm32f7 - Disco serial data receive data (with DMA)

VoltLog #24 - Building A Cheap Automatic Plant Watering System

I started this project to solve a problem I was having and that is constant watering of these two pineapple plants that I’m growing. You know how things work, sometimes you forget to water them and sometimes you are away for a couple of days and there isn’t anyone home to water them.

Brushless DC Water Pump

BQ32000 Real Time Clock - Texas Instruments

DS3231 AT24C32 Real Time Clock Module

DS1307 AT24C32 Real Time Clock Module

Active Piezzo Buzzer

STM8 Programmer Debugger

Drip Adjustable Sprinkler

Leaflabs Maple Mini Clone STM32 ARM Cortex-M3

STM8S103F3P6 ARM Minimum System Development Board

Arduino source code and EagleCAD schematic on github:


Check Also