Skip to main content

Posts

Showing posts from October, 2026

TDA1516BQ 12W x 2 Stereo Amplifier

These days, it is easy to find high-power Class D and Class T audio amplifiers. Compared with classic Class A, B, and AB designs, they are tiny and deliver very high output power. I have built and used many Class D and T amplifiers, but I still prefer the warm, organic, and smooth sound of older Class A, B, and AB topologies. Prototype build of TDA1516BQ amplifier. The problem is that older amplifier chips are getting harder to find. While shopping for electronic components some time ago, I came across the Philips TDA1516BQ . It delivers 12W per channel on a 12V - 14V supply, and the circuit is extremely simple. It turned out to be one of the easiest stereo amplifiers I have built so far. I designed a small PCB for this amplifier (62 mm × 41 mm) and had it fabricated by PCBWay . The design is also shared on PCBWay, so if you are interested, you can order the board directly from there . The Gerber files are available in the release section of repository as well. Top view o...

Flash C - Compiler

Flash C is a small C compiler with a full-screen, text-mode IDE. Both are written from scratch and both run on Linux. The compiler, fcc , reads C source code and writes a native x86-64 Linux executable directly. No assembler, linker or C library is used at any point. The IDE, fc , wraps the same compiler in pull-down menus, overlapping edit windows, an error window , option dialogs , a source-level debugger and hyper-linked online help. Its layout follows the classic Turbo Vision style IDEs. This post shows what is in the project and how it works inside. The Flash C IDE. The whole toolchain lives in one repository: the lexer and preprocessor, the parser and type checker, an optimizer, the x86-64 code generator, an ELF writer, a run-time library written in C, the IDE, a debugger and the help system. Flash C compiles C89 with a few C99 conveniences, such as // comments. C++ is deliberately not supported. Two programs come out of the build. fcc is the command-line compiler. Runn...