Category Archives: STM32


OLED display for your soldering iron

This STM32F031-based OLED display for soldering iron tips is a very compact design and displays various stats like tip temperature, power consumption, supply voltage, etc. I found some projects where is used Weller soldering tips designed for WMRP soldering iron with standard 3.5mm jack and inside the tip is also thermocouple for sensing temperature. These tips are not so cheap but the quality is really great, especially for fine soldering. Hardware design is based on similar projects but with some modifications and improvements. Also my request was to make the hardware small as possible to fit into handle and capable

Read more

Very affordable DIY oscilloscope

This DIY oscilloscope project is powered by a STM32 processor and the details of its design are shared by Vitorbnc on Instructables. As an oscilloscope, it displays signal waveform, voltage magnitude, frequency, and duty cycle. Besides, it also features capabilities to measure inductance, temperature and pressure.

Read more

STM32’s internal RTC

A Real Time Clock (RTC) is a timing element dedicated for keeping time. In many applications, especially where precise timed-operations are needed to be performed, a RTC is a very useful tool. Examples of such applications apart from clocks and watches include washing machines, medicine dispensers, data loggers, etc. Basically a RTC is a timer-counter but unlike other timers of a MCU it is much more accurate. Previous to this post, we explored STM32 timers but those were useful for applications like PWM generation, time-bases and other waveform-related tasks. Those were not suitable for precise time-keeping. In most 8-bit MCUs

Read more

STM32 Digital-to-Analogue Converter (DAC)

After having played with Analogue-to-Digital Converter (ADC) of STM32 micros, the obvious next internal hardware block to deal with is the Digital-to-Analogue Converter (DAC). As the name suggests this block has just the complementary function of ADC. It converts digital binary values to analogue voltage outputs. The DAC block has several uses including audio generation, waveform generation, etc. Typically in most 8-bit micros, this block is unavailable and its need is somewhat loosely met with Pulse Width Modulation (PWM) block. This is partly because of their relatively less hardware resources and operating speeds. All STM32 micros also have PWM blocks

Read more

STM32 Analogue-to-Digital Converter (ADC)

Most of us who have experienced 8-bit MCUs previously know how much important it is to have an Analogue-to-Digital Converter (ADC) built-in with a microcontroller. Apart from other hardware extensions unavailable in the early era microcontrollers, many former 8051 microcontroller users shifted primarily to more robust Atmel AVRs and Microchip PICs just for this important peripheral. I don’t feel it necessary to restate the advantages of having such a peripheral embedded in a micro. In traditional 8-bit MCUs aforementioned, the ADC block is somewhat incomplete and users have to work out tricky methods to solve certain problems. The ADC block

Read more
« Older Entries