r/electronics • • 2m ago

Weekly discussion, complaint, and rant thread

1 Upvotes

Open to anything, including discussions, complaints, and rants.

Sub rules do not apply, so don't bother reporting incivility, off-topic, or spam.

Reddit-wide rules do apply.

To see the newest posts, sort the comments by "new" (instead of "best" or "top").


r/electronics • • 1d ago

Gallery Surplus component score - Vintage gold plated ICs, silicon, and more!

Thumbnail
gallery
88 Upvotes

Got these from mixed component bags at a surplus store. There are some really neat Sylvania ICs as well as marked bags from HP with vintage diodes! Tons of pots and transistors too that are going to be fantastic for diy pedals/synthesizers. Still trying to figure out a few obscure components.


r/electronics • • 3d ago

Workbench Wednesday My Dream workbench

Post image
125 Upvotes

r/electronics • • 4d ago

News John Blankenbaker, maker of the Kenbak-1 computer passes away

Thumbnail
kenbak.com
33 Upvotes

r/electronics • • 4d ago

General New open source firmware for the Zoyi ZT-703S is amazing!

Thumbnail
youtube.com
80 Upvotes

I can't believe how good this project is.

It's amazing how much compute power is built into these things and how terrible the stock firmware is. And how much they can be improved by upgrading the firmware.

I am not affiliated with the devs or the YouTuber that made this video.


r/electronics • • 4d ago

Gallery Diy music player, Adafruit feather rp2040 adalogger

Thumbnail
gallery
74 Upvotes

I added a rotary encoder as a controls, pcm5100 dac to play of the sd card. And a DIP switches, to shutoff and go into usb stick mode, such i can move music on to it. My first project, need a better soldering setup for sure.

I want to build it around 18650 battery for more of the day battery life,only have a 350mAh currently…


r/electronics • • 6d ago

Gallery Inside of the powerbank that i got years ago

Thumbnail
gallery
862 Upvotes

r/electronics • • 6d ago

Gallery Thermal wand

Thumbnail
gallery
96 Upvotes

Had an MLX90640 on a Pi for a while but wanted something I could actually use at the bench, so I rebuilt it as a handheld.

Parts:

• SparkFun MLX90640, 110° version

• LilyGO T-Beam v1.2 (AXP2101). It was sitting in a drawer. LoRa and GPS rails are shut off in firmware, so it's basically an ESP32 with battery management and an 18650 holder

• 4" ST7796 SPI display with XPT2046 resistive touch

• PETG case, two halves plus a separate pod for the sensor

Firmware is Arduino with TFT_eSPI and the Adafruit MLX90640 library. It reads each half of the chess-pattern frame as it comes in instead of waiting for both, at 16 Hz with I2C at 1 MHz. A 3×3 blur before upscaling gets rid of the checkerboard you normally see with chess mode. Spot/max/min readings come from the unblurred data so small hot spots don't get averaged down. Tap the screen to move the spot meter.

Stuff that went wrong:

• First front shell printed mirrored, so the buttons were on the wrong side

• Skipped through the touch calibration on first boot without realizing what it was, and the bad values got saved to flash

• Display MISO doesn't tristate on these modules, so I left it disconnected and only the touch chip uses MISO

32×24 is pretty coarse, but it's fine for finding hot regulators and shorted caps, which is all I need it for.

Happy to share the STLs and code if anyone wants them.


r/electronics • • 6d ago

Gallery Inside of a Radar Detector

14 Upvotes

After many years it died. I have no idea what the components inside are but seems like interesting technology.

https://streamable.com/9xxhuw


r/electronics • • 7d ago

General First Computer!

Post image
65 Upvotes

This monstrosity is an 8-bit computer built in logisim-evolution. It uses Harvard architecture for instruction and data memory and has 4 registers. It only has 8 operations, but I think that's enough. It can handle conditionals and branches, but my implementation is horrendous (I write directly to the PC with a standard MOV operation).

The project file is linked, along with the instructions and data for a multiplication circuit. The inputs are in locations 0 and 1, and the output is stored to location 3. please do not touch location 2 as this stores a constant necessary for the algorithm.

I'm very happy with this, and spent way too much time on it. At least now I can focus more on my university work! :)

TheSilentArcadia/8bitComputer: A simple 8 bit computer

Gives me a much deeper respect to all of the people who actually try to build stuff like this in real life, must be an utter nightmare.


r/electronics • • 7d ago

Weekly discussion, complaint, and rant thread

3 Upvotes

Open to anything, including discussions, complaints, and rants.

Sub rules do not apply, so don't bother reporting incivility, off-topic, or spam.

Reddit-wide rules do apply.

To see the newest posts, sort the comments by "new" (instead of "best" or "top").


r/electronics • • 7d ago

Gallery Look at this cute little spicy boi

Post image
80 Upvotes

r/electronics • • 8d ago

Gallery PaperMP3

Thumbnail
gallery
735 Upvotes

I'm building PaperMP3, an open-source e-ink music player with a "hi-fi" DAC (CS43131), a tooless battery and microSD card.

Im still working on it so i would love some feedback, more details are in my Github.

This is my first project ive focused on documentation as I go so I might have missed bits as I went. Gray white is because I was iterating the buttons (Cant get tolerances consistent).

Declaration that Ive used AI with the firmware (Opus 5.5 and Fable 5.2). Everything I talk about Ive got working for a few weeks now. Source files are in the github.


r/electronics • • 7d ago

AI vibe coded MCP_ITSpice — A Rust SPICE schematic & waveform GUI for ngspice with Verilog/VHDL blocks, Python terminal, and MCP server

0 Upvotes

Hey everyone,

I build MCP_ITSpice, actually AI built it XD, it is an open-source SPICE (GPL v3 licence ) schematic capture and waveform viewer written in Rust (egui/eframe) on top of ngspice / libngspice. The style as you can see it is similar to a famous spice tool. My intention is to build a simple, intuitive and powerful UI, supporting mixed signal simulation and a python console for analysis.

Key features:

  • Schematic & Symbols: Grid-snapping canvas, orthogonal wiring, Move/Stretch-with-wires, .asc/JSON support, and a built-in Symbol Workbench (.asy).
  • Verilog & VHDL Mixed-Signal Blocks: Built-in zero-dependency XSPICE synthesizer (logic, flip-flops, counters, case FSMs, plus optional Verilator d_cosim), sharp CMOS input buffers (3.3V/5V presets), per-port custom thresholds & wired analog reference pins, and an integrated Symbol customizer tab.
  • Waveform Viewer: Dual Y-axes (V / A / W), multi-graph panes, separate Voltage/Current/Power (Alt+Click) probes, and fixed cursors (Δt, 1/Δt).
  • Python Analysis Tab: Embedded Python REPL synced with simulation traces, plot() / set_xaxis() for custom units (e.g. FFTs in Hz), and script recording/playback.
  • Built-in MCP Server (--mcp): Lets AI assistants build schematics, add/edit Verilog & VHDL blocks, run ngspice simulations, and inspect traces with live GUI sync.
  • Cross-platform: Linux, macOS, and Windows.(unfortunately tested only on linux )

It is still a proof of concept, don't expect a production tool.

Repo: https://github.com/fra888/MCP_ITSpice


r/electronics • • 8d ago

Gallery Anyone beat triple-stacked 0402?

Post image
127 Upvotes

Needed 33nF to test something and I'm impatient so used 3x10nF


r/electronics • • 8d ago

Gallery MITO: A cusotm split wireless keyboard

Thumbnail
gallery
20 Upvotes

MITO is a custom wireless hot-swap low-profile split keeb running on ZMK (ik, a lot of buzzwords)

It has:
- an nRF52 as its MCU, which is running on ZMK
- custom 4-layer PCBs that I assembled by hand
- choc v1 hot-swap sockets
- per-key RGB (thumb excluded, since I put the MCU under there)
- USB-C charging and connectivity
- a transparent PETG case and keycaps

All the source files are available on GitHub

I have to thank everyone on the r/PrintedCircuitBoard subreddit who reviewed my PCBs!

PS. I made this like 2 years ago and didn't post about it. This was also my first PCB, so it has a lot of violations of best practices


r/electronics • • 10d ago

General TIL that an single-BJT voltage reference is called a "rubber diode"

Thumbnail
electronzap.com
77 Upvotes

r/electronics • • 10d ago

Project Spectrum visualizer with clock and weather station

Thumbnail
gearip.net
6 Upvotes

https://gearip.net/spectrum-visualizer-with-weather-station/

This is an audio spectrum visualizer I built around the ESP32-S3 Espressif DevKit and the Adafruit 64×32 RGB matrix. The device shows the spectrum graph while audio signal is detected at the RCA inputs and defaults to a screens showing the clock and weather details using WiFi.

Electronics and PCB design

The central piece of the project is the ESP32-S3 Dev board from Espressif. It drives the RGB matrix (Adafruit 2279, 62×32 pixels, 3mm pitch). Since the ESP32-S3 outputs 3.3V signals, level shifters SN74HCT245N wer used to step up the voltage to the 5V needed by the RGB matrix. I’ve tried on the breadboard without the level shifter and the matrix was driven without problems, but the voltage is at the limit where the matrix could not handle it properly so I decided to use the level shifters. Between the SN74HCT245N chips and the matrix I placed 33 ohm resistors to help with ringing (voltage spikes and oscillations) and voltage overshoot on the ribbon cable that connects the PCB to the matrix. I actually used 4116R-1-330LF resistor arrays for space and simplicity reasons. The buffer chips have their DIR pins tied to HIGH to enable them to pass signals from A side (ESP32) to B side (matrix).

R17 is a pull-up resistor that keeps the display blank which the buffers are disable during initialization. It’s not essential, but without it, until the ESP32 initializes and the buffers are disabled and in high impedance mode, you’ll see weird flashes and figures on the display. R13 is the pull-up resistor that keeps the buffers disabled until ESP32 fully initializes. R3-R5 keep the unused pins of the buffers to a logic LOW rather than leaving them floating.

J2 is the connector of the ribbon cable that links to the RGB matrix that follows the HUB75 standard. It carries six color data signals (R1, G1, B1 and R2, G2, B2) for the pannels’s upper and lower halves, row address signals (A-D), clock (CLK), latch (LAT), output enable (OE) and GND. The matrix receives 5V power from the PSU on a separate cable.

The analog part of the PCB does the isolation and mixing of the audio source and shift the signal over 0V to prepare it for the ESP32 ADC.

The device is designed to be run in parallel with a power amp signal input. So it shouldn’t interfere with L/R channel separation or add noise to the audio source. Initially I tested without the transformers but I got noise back in the amplifier probably from the ESP32 digital side, matrix signals or WiFi. So I found these relatively cheap Triad TY-250P transformers. They have 1Kohm impedance on primary and secondary. RV1 adjusts the signal level so it doesn’t go over the 3.3V needed for the ESP32 ADC and to avoid clipping.

The most important part of this opamp section is to shift the level of the audio signal in the positive range. Normally an audio signal swings both positive and negative relative to ground. The ESP32 ADC can only handle voltages on the positive side. So to preserve the full waveform of the signal (both halves), the circuit adds a DC bias. R9 and R10 establish a reference of around 1.67V, which becomes the center voltage of the amplifier’s output.

R12/C19 and R18/C21 for a passive low-pass filter before the signal reaches GPIO1, to attenuate high-frequency signals and noise before sampling, to reduce aliasing. The cutoff is at about 20KHz. It’s important that C21 (1nF) is placed as close as possible to ESP32 GPIO1 to reduce interferences picked up by the circuit from WiFi or other digital signals. I’ve been experimenting all kinds of interference while on breadboard.

I ordered the PCB from JLCPCB, I couldn’t dream of etching it myself, too complex and double-sided. There’s a keepout area around the Wi-Fi antenna to avoid blocking the signal. There’s sockets for all ICs and the ESP32 Dev board. You can find the KiCAD files for the schematic and PCB at the end of the article.

I used a small 5A switching power supply to powers the RGB matrix and the PCB separately. The RGB matrix can (theoretically) draw up to 4A at 5V, but I haven’t seen anywhere near that. During operation, the PSU is just a bit warm.

ESP32-S3 Firmware

The firmware is written in C++ using the Arduino framework. It handles audio sampling and analysis, matrix rendering and clock, WiFi and weather functions. The ESP32 is sampling the mono audio signal received at GPIO1 at 40.000 samples per second. I fiddled around with Codex to display the spectrum accurately and it ended up splitting the dividing the spectrum between high and low frequencies, with different sampling rates and FFT sizes. The result is mapped to the 64 columns of the matrix covering the audio spectrum from 40Hz to 16KHz, which I found to be adequate. The frequency spacing is logarithmic, giving more space to lower frequencies. The bars rise quickly and fall more slowly, while white peak markers decay separately.

To accomodate for a signal that is picked up after volume control I added a global dynamics compressor that adjusts the scale of the spectrum analyzer.

There is no noticeable flicker or refresh on the display; I struggled with that as well for a while.

With no detectable audio signal for 30 seconds, the display switches to the clock and weather screen. It switches back to spectrum after 2 seconds of sustained audio signal. The screen shows the NTP synchronized clock at the top, then current temperature, today’s maximum and general weather conditions. After 18:00 it shows next day’s maximum and conditions, with an “N” in front. The weather data is pulled from open-meteo.com. If you use the same firmware, modify the location and add your WiFi SSID and password. Brightness changes from maximum during daytime and a lower setting after sunset (also linked to the location set in the code).

You’ll find the code at the end of the article.

Chassis build

I have to admit this was the hardest part for me. I designed the case in Fusion, without having any prior knowledge whatsoever about Fusion and product design, so it was a steep learning curve.

Having 3D models of the PSU, power connector and RCA connectors from the vendors helped a lot. I imported the PCB STEP model from KiCAD and built a model for the Adafruit matrix, of which I only had a picture with measurements. After I had all that built and imported I could build around them the case, that consists of 3 parts – a front frame that supports a glued acryl white translucid “window”, a middle chassis that has supports for the matrix and a back lid on which the PCB, PSU and connectors are mounted. For me, the hardest mental excercise was imagining how everything will be organized, where the acryl will sit, how will the matrix be mounted to sit behind the acryl and still leave 1mm of space for diffusing effect and where the other components will be screwed in. That on top of my total ignorance regarding Fusion.

The front frame has a recessed “pocket” that thins the normally 2mm wall of the frame to only 1mm and adds a 2mm lip around the acryl. The acryl is glued in that pocket. There are mounting posts in the corners for M3 inserts to connect with the middle chassis part with screws. This part was also new for me, using the inserts, but I found out it to be not that complicated. You can just use a soldering iron with a thicker tip to heat the inserts and then press them into the plastic. Leave 0.5-1mm of the insert above the rim and the use a flat object to press it down and cool it.

The middle chassis part also has posts to connect to the back lid, diagonal slots for ventilation and big “ears” to hold the matrix. The back lid has a cutout for the power connector, as described in the vendor’s documentation and cutouts for the RCA connectors. The PSU is sitting on posts and has its own threads for M3 screws. The reason I used posts is to shift the weight center inwards to the chassis so it doesn’t tip over easily. The PSU has a metal chassis and should be earthed but I didn’t have room for a big power connector with PE, so to counter that I’m ordering some (pretty expensive) M3 screws made from PEEK (Polyetheretherketone) which is an insulator. That way, even if the PSU chassis gets connected to mains, the screws won’t connect that to the outside. I should I add that this is not a replacement for the requirement to connect PE to the chassis of the PSU, so don’t launch this product commercially 🙂

M3 insert and chassis “lip”

RGB matrix screwed on the middle chassis

Repository with KiCAD schematic and PCB files, code and 3D models for print: https://github.com/gabriel-gearip/spectrum-analyzer.

And a sample of the spectrum analyzer in action: https://youtu.be/PjzRuayRK4k?si=L_JQ4ZCLeP2Vl_IA


r/electronics • • 11d ago

Project Built an open-source through-hole STM32 Voltage & Resistance Meter with a 1.8" TFT display

Thumbnail
gallery
87 Upvotes

Wanted to share an open-source hardware project: a through-hole STM32 Voltage & Resistance Meter with a 1.8-inch TFT display. The goal was to build a practical, beginner-friendly bench tool that’s easy to hand-solder while still covering basic everyday measurements.

Here are a few technical notes on the build:

  • Measurement Capabilities: Measures DC voltage from 0–15V and resistance from 0–100kΩ, along with continuity and diode testing (plus an active buzzer for audible alerts).
  • Power & Analog Front-End: Powered via USB-C (5V). Uses an STM32F103C8T6 minimal system board as the main controller, LM358 op-amps for signal conditioning and constant-current sourcing, and an XD7660 charge pump to generate the -5V rail.
  • Voltage Stage: Manual range selection via slide switches, paired with a dual-channel voltage divider and differential stage so the MCU can automatically detect the active switch range.
  • Resistance Stage: Uses a standard voltage divider for 1kΩ–100kΩ, and switches to a 1mA op-amp/MOSFET constant-current source for low resistance (less than 1kΩ) to maintain measurement accuracy.
  • PCB Layout: Kept the entire BOM 100% through-hole on a 2-layer board so anyone with a basic soldering iron can assemble it without dealing with fine-pitch SMD components.

Source Files: The schematic, PCB layout, firmware, and full BOM are released under GPL-3.0.

You can inspect the schematic, Gerber files, and BOM here: https://oshwlab.com/oshwhub.com/project_lwazzvha


r/electronics • • 12d ago

Gallery Homebrew Superhet Airband Receiver

Post image
441 Upvotes

Built this dual-conversion VHF AM airband receiver on a copper clad board. RF frontend uses two tuned FCZ144 coils around a J211 JET amp. A NE612AN mixes down to 10.7MHz and a NJM2552V handles second conversion to 450 kHz and AM detection. Radio section is on the bottom board, top board the control bridge. RPI pico 2 interfaces with an LCD, rotary encoder, and buttons and sends I2C to a Si5351A clock generator on the radio board for tuning. First time doing a manhattan build, and first time building anything RF since maybe a crystal radio from a kit 30 years ago.

It's still got all sorts of problems but nearby aircraft come in loud and clear. Was a great learning experience, especially for learning how to use an oscilloscope.


r/electronics • • 12d ago

Gallery Just got the PCBA samples back from the fab

Thumbnail
gallery
9 Upvotes

Been messing around with these prototype boards for the past few days to put them through their paces. Everything checks out and meets spec so far, so I figured I’d share a few shots of a product I've been working on.

Just from looking at the board, can anyone guess what it's built for? (Also open to any feedback on the layout if anything catches your eye!)

Since a few folks were super close on the guesses, here is the full breakdown of what this board actually does. It's a compact adapter that lets anglers view an underwater analog HD (AHD) camera feed directly on their phone.

Here is the basic I/O layout:

• 3.5mm jack: Takes in the AHD video signal from the camera tether.

• USB-C (left): Outputs standard UVC video straight to a smartphone.

• USB-C (right): Takes external power to keep the phone, board, and camera running for extended sessions.

• Side tactile switch: Toggles the illumination LEDs on the camera head.

Appreciate everyone chiming in and taking a crack at it!


r/electronics • • 13d ago Bravo

Gallery HDMI Ambient Backlight 4k60

Post image
189 Upvotes

Another project that's been on my list for years. I know it's been done a bunch of times but I wanted to take a shot at my own version of an HDMI ambient light controller. With the price of Raspberry Pis these days, I didn't want to waste a whole Pi or wait for it to boot and run Linux.

The board uses a GSV2001 splitter, MS2130 capture card, ESP32-S31 controller so its all-in-one. HDMI in one side, HDMI and LEDs out the other. It's got a web interface with lots of controls.

Note that Fable 5.2 did basically all the work here with little prompting. It built firmware for those obscure chips, picked parts and designed the PCB, and did all the board bring-up. I ordered the PCBs mostly assembled from JLC without really looking at the design, and I'm super impressed that it works! This was mostly a test since they announced new models can do electronics and I had my doubts - turns out it does a really decent job. Looking at the PCB now, there are many routing decisions I'd change, but overall it has HDMI and USB lines on board and they all worked.

https://coliniuliano.ca/projects/hdmi-light/

https://github.com/coliniuliano/hdmilight


r/electronics • • 13d ago

Gallery Digital Message Repeater for Dark Ride Sound Effects

Thumbnail
gallery
92 Upvotes

Got two of these EPROM based Solid State repeaters from the Haunted Mansion dark ride from Funland Rehoboth. I thought they’re pretty awesome. From 1984 and 1986 and still functioning perfectly. I plan of getting a EPROM programmer to preserve digital copies of the sound effects used.


r/electronics • • 14d ago

Weekly discussion, complaint, and rant thread

5 Upvotes

Open to anything, including discussions, complaints, and rants.

Sub rules do not apply, so don't bother reporting incivility, off-topic, or spam.

Reddit-wide rules do apply.

To see the newest posts, sort the comments by "new" (instead of "best" or "top").