STM32F4Discovery

STM32F4Discovery Introduction Series

Tutorial 1 - Introduction

In this tutorial we will get an introduction about this tutorial series of STM32F4Discovery board. We will understand what exactly a microcontroller is. We will understand about the ARM architecture. We will understand what is meant by ARM cortex. We will then directly get an introduction on the STM32F4discovery board. Finally we will run a demo code on the discovery board.

Tutorial 2 - Getting Started

In this tutorial we will get an in depth knowledge about the technical things of embedded programming. We will understand what is meant by datasheet. What are the datasheets we have? What kind of information we get from each datasheet? How to look for information in the datasheets? We will create our first project and start writing the code. We will understand how to write code for the microcontroller on the discovery board. We will then create a program for the board. And then finally we will execute the program on the discovery board.

Tutorial 3 - Libraries

This is the third video on the video tutorial series on stm32f4discovery board. In this tutorial we will learn about libraries. What is a library? What are the benefits to use a library? How to use library. We will understand the line by line program we have written in the previous tutorial. And how we have used the st library.

We will then modify the already written program in the previous tutorial. And understand how our code is interacting with hardware in reality.

Tutorial 4 - Clock Frequency

This is the fourth video tutorial on the tutorial series on stm32f4discovery board. In this tutorial we will understand about clock frequency. We will learn what is meant by clock frequency. How clock frequency is related to speed of microcontroller. What are crystal oscillators. How program execution speed depends on clock frequency. We will then see what is the current speed of our stm32f4discovery board. How we can change that speed. Then finally we will modify the code written in previous tutorial and learn how to write code for selecting a particular clock frequency.

Tutorial 5 - LEDs Blinking

In this tutorial we will learn how we can connect external electronic components to discovery board. Till now we have written programs that only work on leds present on the discovery board itself. But now we will connect external components with the help of breadboard. We will learn how to work with breadboards. We will then connect external leds to the discovery board using wires and breadboard. And then we will write program to make them blink in a particular pattern.

After completing this tutorial, you can easily connect external electronic components to discovery board like sensors. leds etc. and you will not be limited only to the features available on discovery board.

Tutorial 6 - Working with Switch part 1

In this tutorial we will learn about how you can connect switches to the discovery board. Till now we have learned about the output mode of microcontroller pins. But in this tutorial we will now learn about the input mode of microcontroller pins. How you can configure the gpio pins and connect them to switch so that we can control program execution by just pressing a switch.

Tutorial 7 - Working with Switch part 2

This is the second part of the previous tutorial. In this tutorial we will be actually writing the code. We have already setup the circuit in the previous tutorial. So in this we will directly start with writing the code for working with switch. We will make program in such a way that we will be controlling the leds with the switch. In this tutorial we will also learn about a new term called de bouncing effect. And how we can solve that problem with the help of few lines of code. All this we will learn in this tutorial.

STM32F4Discovery Interrupt Series

Tutorial 1 : Interrupt Introduction

This is the first tutorial on the interrupt series of tutorials on stm32f4discovery board. In this tutorial we will learn about interrupts. We will get to know what is meant by interrupts. How interrupt process works. Why to use interrupt. What benefits you will get if you use interrupt driven approach. After that we will start creating a circuit with stm32f4discovery board, breadboard, leds, switch and connecting wires. We will build this circuit for understanding and practically seeing how interrupt works in microcontroller world.

Tutorial 2 : Interrupt Programming

In this tutorial we will learn how to program interrupts in the stm32f4discovery board. We will write code for the circuit that we built in the previous tutorial. We will write code for configuring the interrupt of the microcontroller in the stm32f4discovery board and then will execute it. Hence this tutorial will be a kind of practically seeing the interrupt process working on our built circuit.

Tutorial 3 - Interrupt Types and Priority

In this tutorial we will go a step further into the interrupt process. Till now we were just learning about the external interrupt. But now we will see what other types of interrupts are available in the stm32f4discovery board. Then we will learn about a new concept called interrupt priority. We will understand how interrupt priority works. Then finally we will write program to understand how interrupt priority actually works in the microcontroller. How you can program interrupt priorities in the code.

Tutorial 4 : Motion Sensor

We have learned about interrupts and types of interrupts available on the stm32f4discovery board . In this tutorial we will create a very cool product called motion sensor detection. The product will detect human motion and if it detects it will just light up a led. Hence you will find this to be a very interesting tutorial.