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.

Timer Basic : Digital Temperature SensorRead More »

In RTC section we interface an I2C IC DS1307. The STM32 has built in RTC. In STM32 the real-time clock (RTC) is an independent BCD timer/counter. The RTC provides a time of-day clock/calendar with programmable alarm interrupt. The RTC includes also a periodic programmable wakeup flag with interrupt capability. Two 32-bit registers contain the seconds,

RTC In STM32Read More »

Before interface OLED with STM32 microcontroller please go through my OLED section in OLED (SSD1306) interfacing. In this article we interface the low cost 0.91 Inch small OLED. In our previous article we discuss about I2C protocol and I2C LCD driver. STmcu works on 3.3V & I2C LCD works 5V so need DC power level

OLED with STM32Read More »

ARM stands for Advanced RISC Machines. ARM is a family of RISC instruction set architectures (ISAs) for computer processors. Due to their low costs, low power consumption, and low heat generation, ARM processors are useful for light, portable, battery-powered devices, including Smartphone’s, laptops, and tablet computers, as well as embedded systems. However, ARM processors are

Arm® Cortex® ST MicrocontrollerRead More »