The universal synchronous asynchronous receiver transmitter (USART) offers a flexible means of Full-duplex data exchange with external equipment requiring an industry standard NRZ asynchronous serial data format. The USART offers a very wide range of baud rates using a programmable baud rate generator. It supports synchronous one-way communication and Half-duplex Single-wire communication, as well as […]

In our previous article we use AHT20 sensor which can measure temperature & humidity. But it can’t measure air biometric pressure, so we use another sensor either BME280 or BMP280. Both BMP280 & BME280 can measure biometric pressure & temperature, but BME280 has one extra feature of measuring humidity along with temperature & pressure. In

I2C : Weather ForecastingRead More »

The Universal Serial Bus (USB) is technology that allows a person to connect an electronic device to a computer. It is a fast serial bus type. The STM32 performance line embeds a USB device peripheral compatible with the USB full-speed 12 Mb/s. The USB interface implements a full-speed (12 Mbit/s) function interface. It has software-configurable

USB : Real Time Sensor DataRead More »

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 »