STM8S Encoder Interface Example
STM8S ADC Example - Reading Analog Channel 0
STM8S PCD8544 GLCD (Bit-Banging) Example
STM8S 2 Wire (I2C/TWI) LCD Example
STM8S motor control and display TM1638
Управление двигателем контроллером STM8S и индикацией на модуле TM1638
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 educ8s.tv 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$,
WHERE TO BUY
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.
ARDUINO IDE ADD ON
CODE OF THE PROJECT
FACT OR FICTION 2018 Quiz Game
You can download my latest Android Game which is called Fact or Fiction 2018 here:
Arduino Weather Station Project:
Arduino Nokia 5110 LCD Display:
Arduino OLED display tutorial:
Educ8s.tv 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:
SUBSCRIBE ON YOUTUBE
Never miss a video:
ST Microelectronics STM8S 8 bit Microcontrollers
The cheapest wireless thermometer with using only a HC-12( Si4463 + STM8 )
An example of using a HC-12 as a sensor and a transmitter simultaneously.
You can click the link below to download the firmware and read the description
STM32 INTERNET WIZNET W5500
Получаем IP адрес от DHCP севера. Отправляем и принимаем данные на TSP server народного мониторинга . Управляем светодиодом на плате через сервер народного мониторинга.
STM32F4 Programming in C 1- LED Blinky coding in Keil using STM32CubeMx
We have launched Study Focus and Sleep Music Android Mobile App. *** No Ads at All ***
Focus on your study and work while listening to these beautiful melodies
Blink LED on STM32F4 Discovery Board. The code was generated using ST Microelectronics STM32CubeMx software.
The STM32F4DISCOVERY Discovery kit allows users to easily develop applications with the STM32F407 high-performance microcontrollers with ARM®Cortex®-M4 32-bit core. It includes everything required either for beginners or for experienced users to get quickly started.
Based on the STM32F407VGT6, it includes an ST-LINK/V2 or ST-LINK/V2-A embedded debug tool, two ST MEMS digital accelerometers, a digital microphone, one audio DAC with an integrated class D speaker driver, LEDs and push buttons and a USB OTG micro-AB connector.
STM32F407VGT6 microcontroller featuring 32-bit ARM Cortex® -M4 with FPU core, 1-Mbyte Flash memory, 192-Kbyte RAM in an LQFP100 package
On-board ST-LINK/V2 on STM32F4DISCOVERY or ST-LINK/V2-A on STM32F407G-DISC1
ARM® mbed™ -enabled ( with ST-LINK/V2-A only
USB ST-LINK with re-enumeration capability and three different interfaces:
Virtual com port (with ST-LINK/V2-A only)
Mass storage (with ST-LINK/V2-A only)
Board power supply: through USB bus or from an external 5 V supply voltage
External application power supply: 3 V and 5 V
LIS302DL or LIS3DSH ST MEMS 3-axis accelerometer
MP45DT02 ST MEMS audio sensor omnidirectional digital microphone
CS43L22 audio DAC with integrated class D speaker driver
LD1 (red/green) for USB communication
LD2 (red) for 3.3 V power on
Four user LEDs, LD3 (orange), LD4 (green), LD5 (red) and LD6 (blue)
2 USB OTG LEDs LD7 (green) VBUS and LD8 (red) over-current
Two push buttons (user and reset)
USB OTG FS with micro-AB connector
Extension header for all LQFP100 I/Os for quick connection to prototyping board and easy probing
Comprehensive free software including a variety of examples, part of STM32CubeF4 package or STSW-STM32068 for legacy standard libraries usage.
For more embedded system tutorial visit
and Subscribe this channel for more videos.
Please subscribe this channel to get live updates directly into your inbox whenever I upload a new video.
Support us on KGPTalkie Facebook Page
Please don't forget to LIKE this video and SUBSCRIBE this channel. Thanks for watching.
stm32f4 discovery board,
stm32f4 discovery tutorial keil,
stm32f4 can bus,
stm32f4 adc example,
stm32f4 accelerometer tutorial,
stm32f4 adc dma example,
stm32f4 adc multiple channels,
stm32f4 audio dsp,
stm32f4 bluetooth example,
stm32f4 bldc motor control,
stm32f4 blinking led,
stm32f4 bootloader usb,
stm32f4 boot0 boot1,
stm32f4 cubemx tutorial,
stm32f4 can bus tutorial,
stm32f4 cubemx examples,
stm32f4 cdc example,
stm32f4 discovery board - keil 5 ide with cubemx tutorial,
stm32f4 discovery board - keil 5 ide with cubemx tutorial 9,
stm32f4 discovery board - keil 5 ide with cubemx tutorial 18,
stm32f4 discovery programming,
stm32f4 ethernet phy,
stm32f4 external interrupt,
stm32f4 embedded linux,
stm32f4 encoder mode,
stm32f4 encoder example,
stm32f4 flash write example,
stm32f4 flight controller,
stm32f4 fsmc tutorial,
stm32f4 freertos example,
stm32f4 freertos tutorial,
stm32f4 floating point performance,
stm32f4 freertos keil,
stm32f4 getting started,
stm32f4 gpio tutorial,
stm32f4 gyroscope example,
stm32f4 gsm module,
stm32f4 gpio read pin,
stm32f4 hal i2c example,
stm32f4 hal spi example,
stm32f4 hal timer interrupt,
stm32f4 hal driver,
stm32f4 hal ethernet example,
stm32f4 hal adc dma,
stm32f4 hal timer example,
stm32f4 hal printf,
SSD1331 & STM32
SSD1331 Library & example:
RF Encoder / Decoder Chipset
- Introduction of the basic operation of RF600 Encoder / Decoder chipset
I2C Slave Receive demo with ARM and AVR boards
Atmega644P is confured as slave and ARM's STM32F030 is configured as Master Transmit. This video shows the demo of I2C library which I have shared in my blog
#027: Using an AT24 EEPROM on NuttX
In this video I explain how to use an AT24 EEPROM memory on NuttX
Showing the circuit which uses an external interrupt to detect when the user has pressed a button. Pressing the button toggles the LED.
Progress with HY32D Colour 320x240 LCD.
Finally got some display action after sorting out some code prerequisites with the Freescale coldfire mcf51je256 microcontroller.
STM32 RC522 Source Code
Mifare RC522 RFID Card reader 13.56 MHz
STM32F103C8T6 RFID RC522 in SPI out UART (IDE: CooCox)
Link 1 to source code:
Link 2 to source code:
RC522 + STM32F103 / Keil (HAL) + CooCox (SPL) Source Code
Mifare RC522 (price 1.88$) -
STM32F103C8T6 (price 2.35$) -
Programmers STM32 (price 3$) -
S117 - nRF905 Wireless Module 433,868,915Mhz (NRF905)
Demo Information :
GitHub Source Code :
[STM32DISCOVERY] EXTERNAL INTERRUPT Test using CubeMX
- External Interrupt Test -
Discovery USER Key (PA0)
Target : STM32F401C-DISCO
Tools : Keil uVision5, STM32CubeMX