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 […]
Category: STm arm tutorials
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
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
Some time we need a square door lock or square entry for security reasons. RFID card has a unique ID with 1Kb ram. We can write or read from the memory block. The MFRC522 is a highly integrated reader/writer IC for contactless communication at 13.56MHz. Since on board we have 27.12MHz frequency, we have to
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 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.








Visit Today : 110
Total Visit : 28763