EMBO turns a ten-dollar Blue Pill board into six USB instruments
The first wall every hardware beginner hits is instruments. An entry oscilloscope costs hundreds, a signal generator hundreds more, and a logic analyzer hundreds again. Before the first chip is soldered, the bench bill can approach two thousand yuan.
EMBO is an open-source project that answers with a low-cost board: a Blue Pill STM32 development board, flashed with firmware, plugged into USB, becomes six instruments selected from a host application. The six are an oscilloscope, logic analyzer, voltmeter, frequency counter, PWM output and signal generator. Switching between them does not mean reflashing.
The project was created in late 2020 by Jakub Pařez, a measurement-engineering graduate of the Czech Technical University in Prague, as his master's thesis work, with support from ST engineers. It is MIT-licensed and the repository ships precompiled HEX images, host applications for three platforms and a full parameter table. This article reports the design as the project documents it; we did not reproduce the build or test the firmware.
It is not a bench oscilloscope
The official parameter table puts the sampling rate in the range of 0.8 to 4 MSa/s. By the rule of thumb that a waveform needs at least ten samples per cycle, the signals it can display clearly top out in the hundreds of kilohertz. Bandwidth, input range and accuracy are not in the same class as a bench instrument.
Within those limits it handles everyday jobs: checking a PWM output, looking at a serial waveform, verifying a sensor output or learning how ADC sampling works. For a beginner it is less a low-end oscilloscope than a zero-cost way to see waveforms at all.
The clever cut: remove the screen
Most STM32 oscilloscope projects solder a TFT color display onto the board and draw the waveform on the device. EMBO does the opposite. The board displays nothing. Acquisition, triggering, rendering, FFT and measurement all run in the host application on a computer. The board does one job: sample, then send the data over USB.
That choice pays in three ways. Screens and their driver circuitry are the most expensive part of such a project, so removing them leaves little more than a Blue Pill and a USB cable. Rendering on a PC also sidesteps the refresh ceiling of a TFT driven by a microcontroller, which turns into a slideshow as channels increase. Finally it frees RAM. A framebuffer for a 320 by 240 display at 16 bits is 150 KB, while the Blue Pill has 20 KB. With no framebuffer, all of that 20 KB is available for the acquisition buffer, which is how 4 MSa/s streaming is possible.
How the signal moves
The chain is short but follows the design of a real instrument. The probe connects directly to an ADC input pin. The on-chip ADC samples, DMA moves the data straight into RAM without the CPU copying it, FreeRTOS packs the data into frames, and USB virtual serial carries it out using standard SCPI text commands. The host application receives the data and draws it.
SCPI is worth calling out. It is the common language of real instruments; the multimeter and programmable supply on a bench likely speak it. EMBO does not invent a private protocol, so a Python script can drive it like a proper instrument. Learning the communication protocol of a costly instrument on a twenty-yuan board is a reasonable trade.
One detail of the six-instrument set is easy to miss. The signal generator uses the on-chip 12-bit DAC, but the F103C8 has no DAC. On a Blue Pill, the signal generator entry in the host application is therefore greyed out. That is not a software fault; the silicon is simply absent. To use that function, move to an F303RE.
Firmware support is also narrower than the repository tree suggests. The officially stable targets are F103C8, F103RE, F303RE and L412KB. Projects for L0, G0, G4 and F4 are experimental branches, not a good starting point for a first build.
The probe that cannot touch high voltage
The input has no protection circuitry. The probe connects straight to a microcontroller pin, and the STM32 ADC input is only safe from 0 to 3.3 V. Negative voltage or overvoltage will damage the chip.
The author states this plainly in the documentation: no input protection and no hardware range switching. The rule is simple. Only measure a signal confirmed to be within 0 to 3.3 V. PWM outputs, 3.3 V logic levels and sensor signals are fine. For a 5 V signal, add a two-resistor divider. Mains voltage is not what this board is for.
Extending the range to plus or minus 15 V means adding an analog front end: an op-amp buffer, a resistor divider and clamping diodes. That is a separate project.
Who should build one
For a student just starting, a twenty-yuan board buys an instrument that can be used freely, enough to build a mental model of waveforms beyond a multimeter. For someone learning embedded systems, ADC, DMA, RTOS and the USB stack all appear in one project, and the source is the textbook. For an experienced builder, the Blue Pill gathering dust in a drawer gets a job, and a single board in the toolkit replaces a bag of instruments.
It is not for precision work. If the job needs accuracy, bandwidth and a wide input range, buy a bench instrument.
What EMBO gets right
The most interesting thing about EMBO is its definition of an instrument. An instrument is not the metal box. It is the whole flow of sampling, triggering, analysis and display. The box is expensive; the flow is the part worth learning. EMBO hands over that flow with source included.
After building one, looking at any bench instrument changes. What you see is no longer the panel and knobs but the same data chain that runs on the small board in your hand.