STM32 SDIO.

STM32 SDIO.
STM32

There are already several articles on this site about working with an SD card connected via SPI. But SPI has one drawback: it is not "native" for the card and, as a result, it doesn't support some commands and doesn't provide the maximum data transfer speed. As for command support, I'm not very interested in that for now, but I would like to increase the data transfer speed...

A Chinese Thermal Camera for Electronics Repair.

A Chinese Thermal Camera for Electronics Repair.
Железо

About a month ago, a friend of mine bought an iPhone 6s Plus. He was over the moon. He kept showing me its viewing angles, how great the touchscreen worked, and that it was the best thing in the world. But the best thing had one drawback: its battery drained quickly. The previous owner said he had recently replaced the battery, but apparently a Chinese one had arrived, so he ordered another one, this time...

Pro'sKit SS-331H Electric Desoldering Pump.

Pro'sKit SS-331H Electric Desoldering Pump.
Железо

The other day the nozzle of my old mechanical desoldering pump finally burned out and it stopped sucking up solder. I had a choice: order a nozzle from a lathe operator, buy the same new one, or order an electric one from China. A mechanical desoldering pump has only two drawbacks: the first is the lack of temperature control, the second is that it's mechanical. I would most likely have ordered a new nozzle from a lathe operator if not...

Multi-Channel Power Supply.

Multi-Channel Power Supply.
Железо

In today's world, all electronic devices ultimately get their energy from a wall outlet. For the end user it looks like this: plug it in and the device works or charges. But in reality electronic devices are more complex and often need several supply voltages, or even more, to operate. For example, a computer power supply generates 4 voltages...

Good and Not-So-Good Purchases on ALIEXPRESS.

Good and Not-So-Good Purchases on ALIEXPRESS.
Электроника

For a long time I had felt the need for a good set of screwdrivers for repairing various gadgets. It's not that I had no screwdrivers at all; I had plenty, but they all had some drawbacks. Some had bits made of soft material, others were uncomfortable to hold, and when disassembling a laptop or something similar my hands got tired. And of course I also ran into screwdrivers...

BMW Diamond Key Repair.

BMW Diamond Key Repair.
Авто

The other day a friend called me and said that the central locking wouldn't respond to the button on his key; the car is a BMW i530 with an E61 body. Since I have had a spectrum analyzer at my disposal for several years, I told him to bring the key over. During the check it turned out that the key's radio channel wasn't working, and he asked me to see whether it could be restored...

Simplify3D Settings for ABS.

Simplify3D Settings for ABS.
Железо

In one of my articles written a few years ago, I described how to calibrate a 3D printer and print a model. Interestingly, the printer printed the first PLA model perfectly, but I bought it for other purposes, namely to print parts that will be under load, so I planned to print with ABS at 100% infill...

STM32 ONE PULSE MODE.

STM32 ONE PULSE MODE.
STM32

In one of my projects I used the following mechanism to control a buzzer: I turned it on manually, started a timer and turned it off in the interrupt triggered by the timer overflow. Over time the number of interrupts in the project grew, and other interrupts often prevented the one that turned off the buzzer from firing. As a result, the buzzer always produced a beep of varying length...

FPGA PLL.

FPGA PLL.
ПЛИС

In the previous FPGA article we wrote a program that blinked LEDs, but learning FPGAs just to blink LEDs is an unjustified waste of time. In real life FPGAs are used either to capture and process data at high speeds, for example to read data from an ADC running at hundreds of megahertz, or where non-standard peripherals are needed, for example a dozen SPI modules...

First FPGA Program in Verilog.

First FPGA Program in Verilog.
ПЛИС

In one of my previous articles I described how to flash an FPGA with existing firmware; in this one we'll try to write the firmware ourselves. Let's start simple: blink an LED. To write the program we'll use Verilog, a language similar to C. First, let's create a project...

A $50 Soldering Iron.

A $50 Soldering Iron.
Железо

In one of my previous articles I described the tools I use for soldering, and in the same article I mentioned that my main working tool is a Lukey702 soldering station. At some point the temperature of the station's iron started living a life of its own, and it became clear that I needed to buy a new heating element with a temperature sensor. And while the heating element was on its way from China...

STM32 I2S.

STM32 I2S.
STM32

The I2S protocol, not to be confused with I2C, is designed for transmitting an audio stream. In my device this protocol is used to transfer the audio stream between a codec and the MCU. I'd like to note right away that STM32 has no separate I2S module as such; the one it has is implemented on the basis of the SPI module, and they share the same DR[0:15] register...

STM32 I2C.

STM32 I2C.
STM32

Lately I keep coming across negative reviews of the I2C bus on STM32, saying that working with it is like performing a ritual dance and so on. Over the past month I managed to get two I2C chips working without any dancing, just careful reading of the datasheet...

Anti-Aliasing Filter.

Anti-Aliasing Filter.

I think everyone has seen at least once on TV how the wheels of a fast-moving car rotate slowly or even turn the other way. As a child I was very curious about this, but I found the answer much later, when I started figuring out how an ADC works. First, let's look at what an ADC has in common with a spinning wheel on a TV screen. When...

Multimeter Test Leads.

Multimeter Test Leads.
Железо

This site has many articles with photos and screenshots of an oscilloscope, but not a single photo of a multimeter, even though the multimeter is what electronics engineers use most often. Not long ago I had to part with my old multimeter and bought a UNI-T UT61E to replace it, but this article is not about it; it's about the test leads I bought in addition to it...

STM32 FLASH.

STM32 FLASH.
STM32

I think regular visitors to the site have noticed that I prefer to do everything with registers, but sometimes I still use SPL. For example, the article about a custom bootloader used library functions to work with flash memory. Once again connecting this library, I decided that it takes up too much space and decided to implement the necessary functions myself. To work with flash memory...

STM32 RTC, Calendar.

STM32 RTC, Calendar.
STM32

Let's start with the fact that RTC is an abbreviation that stands for Real-time clock. In the old days, when I used AVR MCUs, I used a separate chip as the RTC and communicated with it over a specific protocol. On STM32, however, the RTC is a module implemented inside the MCU. On STM32 the RTC has the following...