Collection for simple projects to learn more about the STM32.
This project is designed to blink an LED Lights in the same pattern as a traffic light does.
This project is designed to have a simple counter, and then deisplay its value with the handle "Hello Dudes! Tracing X = ".
This project uses an interupt to input values from the keybored that will change the light on/off state.
This project uses an external timer that runes outside the "int main" and after the set time passes, a specific action is done, in this case the action in an LED on/off toggle.
This project uses a counter that counts how much the button is pressed, saves it in an integer, and finally displays on a serial port.
This project uses TIM4 to read the frequency that is getting inputed to the STM32, and then prints it on a serial port using the USART2.
This project is similar to that of 6a, but the main difference is that this project can read much higher frequency compared to the limits of 6a.
This projects configures a timer operate in input capture mode. This will make the stm32 read high frequency values in a higher accuracy. .
In this project an LED is connected to an GPIO-output that will work on a scale of intensity. This will make the LED go from its brightest state to the dimmest by passed through each state inbetween.
This project demenstrartes the speed of which the STM32F411RET6 can work on. By setting a delay of 1 micro second (DWT_Delay_us(1);).
In this project an LCD is connected to the STM that will display the state of the button that is also connected to the STM, if the button was released it will display "Released", and if it was pressed it will display "Pressed"
This project uses an DMA interupt to take in values from the sensor and convert it to difital value using the adc in the stm32 at sepicific times regardles of the situation of the code.
This project was the 1st successful attemp for an adc, even though the values were not accurate but the code was working.
This project is the fully functioning version of the stm32 adc code.
This prject attempts to take in values from the temperature sensor and convert the collected voltage value to a readable value of °C.
This project is similar to that od the LCD_Button, but using what we learned from that and from the ADC and combining the both. The LCD will display the value that the sensor collects.
This project is done to calculate how fast the ADC of the STM32 can work at. by setting a specific time were the code can run for, and adding a counter. It is possible to mathmatically calculate how fast can the STM32 convert values.
This project we set an external time that will excecute a command each second regardless of the code's situation.
This code uses the timer interrupt of 1 second to see how many adc values are collected through that 1 sec, by having the time taken for the values to be collected and the number of total values collected we can then calculate the speed of which the stm32's adc work at.
Go to the following link for more information: https://deepbluembedded.com/stm32-arm-programming-tutorials/#_STM32_Course_Table_OF_Contents