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 […]
Category: STm arm tutorials
In ATmel section we learn about watchdog timer. In STm32 we have system window watchdog (WWDG) & independent watchdog (IWDG). Not all STm32 family has IWDG feature but all have WWDG feature. The system window watchdog (WWDG) is used to detect the occurrence of a software fault, usually generated by external interference or by unforeseen
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
Sometime we want to turn on/off some load using a remote. Audio, TV, AC remote available in market, which works on AM modulated signal. That when any key pressed, a burst of AM modulated signal send through IR transmitter. In AM modulated signal the carrier signal may be 30kHz/36kHz/38kHz/56kHz. In market may IR Decoder IC
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.