In ATmel section we learn about ADC (Analog to Digital Converter). In AVR microcontroller we have 10bit ADC: 210 , but in STm microcontroller we have 12bit ADC: 212. In AVR we have 5V as reference voltage that’s work on most sensors, but in STm microcontroller we have ref voltage 3.3V. The voltage 3.3V divide […]

In this article we interface servo motor & use ultrasonic sensor to detect small object. In our case the servo motor will rotate 450 in each step and ultrasonic sensor detects any object nearby. Before start first go through my servo motor control & ultrasonic sensor article. In our basic timer part we learn about

PWM : Small RadarRead More »

In STM32 there are different types of timer i.e. Advanced-control timer, General-purpose timers, Independent watchdog timer, Window watchdog timer. Example in STM32F030x8 mcu uses APB1 Timer Clocks for Advanced-control timer & General-purpose timers. In HAL_Delay function we can only have 1ms delay system delay. We will use TIM17 general purpose time to create 1us delay.

Timer Basic : Digital Temperature SensorRead More »