r/electronics • u/1Davide • 17h ago
General TIL that an single-BJT voltage reference is called a "rubber diode"
r/electronics • u/AutoModerator • 3d ago
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 • u/AutoModerator • 24d ago
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 • u/1Davide • 17h ago
r/electronics • u/Josef_Tech • 1d ago
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:
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 • u/Appropriate-Line5968 • 10h ago
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.










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.
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.
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 • u/pizzapiepeet • 2d ago
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 • u/Astron-Voice-25 • 1d ago
r/electronics • u/NearSideA • 2d ago
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!)
r/electronics
•
u/kingcolin
•
3d ago
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.
r/electronics • u/GauntletVSLC • 3d ago
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 • u/Zhixuan2333 • 5d ago
I'm developing Pinpoint, a robotic probing system designed to automate physical PCB debugging.
The project started with v1, an experimental setup focused on automatically moving a probe to specific locations on a PCB and taking measurements.
While developing v1, I realized that automating probe movement was only part of the problem. Accurate positioning, reliable electrical contact, and integrating measurement instruments were equally important challenges.
That's what led me to start developing Pinpoint v2.
The new version introduces several hardware improvements:
I've already implemented automated oscilloscope measurements and firmware flashing. The redesigned hardware and more autonomous debugging capabilities are still in development.
The long-term goal is to create a system that can take a schematic and a description of a hardware problem, select measurement points, physically probe the board, analyze the results, and iteratively investigate the cause.
There are still many challenges to solve, especially probe positioning accuracy, reliable contact with small pads, and coordinating multiple measurements.
I'm documenting the development, including the evolution from v1 to v2, here:
I hope this project can contribute to making hardware debugging more accessible and less repetitive.
r/electronics • u/denikty • 7d ago
Here is a little keychain sized toy created around CH32V003 MCU and 128x32 pixel SSD1306 OLED that is running the T-Rex runner game.
More details on the Github repo
r/electronics • u/D1cer47 • 7d ago
I posted this on Facebook and a lot of people were interested, so I thought you guys might appreciate this, they are cantilever probe cards..I design and make these, they are used to test silicon wafers, and bare die prior to packaging, the needles you see are sub 10 micron diameter.
We can achieve probe placement accuracy around 5 microns, and a pitch of around 40 microns.
r/electronics • u/Main-Butterscotch623 • 7d ago
Initial Audio Envelope Voltmeter Prototype is built on Solderless Wire Wrapped Perfboards
Took me about 3 and a half months from Idea to Initial Prototype on Solderless Wire Wrapped Perfboards
It’s also the Most Complex Prototype I've ever Built
r/electronics • u/kornerz • 9d ago
Recently I've found an interesting article - on how Peltier modules are vastly more inefficient if driven by raw PWM.
In short, resistive losses rise quadratically with applied voltage and actual Peltier cooling only rises linearly. So it's beneficial to feed Peltier modules with filtered DC.
Having my own Peltier setup (an over-engineered wireless phone charger in car with 80W peltier module and a 80mm PC fan), I've decided to test.
And indeed, raising PWM frequency to 20kHz and adding an LC filter ( 10uH + 2x 220uF, what I've had in spare parts) after the MOSFET significantly reduced self-heating of the Peltier module:
with the same cold side target of 17C, hot side temperature dropped from 40-42C to 27-28C, which is quite significant.
r/electronics • u/SupermarketSecure888 • 8d ago
So I successfully made the filtering part of a SMPS in a perfboard (quite risky) with a VDC output of 308V. Although it's noticeable that there is a burn resistor, which is the wrong one to be used (I did not bother to read the code). All components are salvaged from old electronics. Excited to do the switching part!
Will be fixing the solder.
r/electronics • u/Big_Head1308 • 8d ago
My first RS-485 data acquisition unit using STM32F4 + ML307A + W5500 + RTOS + HTTP is up and running!
r/electronics • u/cippooppic • 9d ago
r/electronics • u/Outrageous-Drink3869 • 10d ago
Ive never seen one of these, but i guess if you needed a ultra stable oscilator circut, more than a quartz crystal could offer alone, this is the way you would do it.
Its most likely from some kind of millitary radio my grandpa took apart.
Its really neet, the thing comes appart so you can swap out the crystal inside.
Idk what i want to do with it, but maybe ill make a really accurate and power hungry quartz clock with it. Or some kind of QRP transmitter.
Realisticaly none of my projects would need something more accurate than a unheated crystal tho.
r/electronics • u/mona20117 • 10d ago
Instead of LDO regulators, I used 1N4007 diodes to step down the voltage; this prevents the battery from draining while the device is idle. Since the charging module did not fit into the battery compartment, I placed it inside the device; with a fully charged battery, the device can theoretically operate continuously for 140 hours.DEVELOPMENT FOLLOWİNG THE CONVERSATİONS :I don’t understand why people are making fun of this. The device no longer looks like it did in the photos, and there’s no risk of electric shock; I simply wanted to convert my multimeter to run on a rechargeable battery.😭😭😭😭. OKAY OKAY, THAT'S ENOUGH, YOU'VE CRITICIZED ME SO MUCH THAT I AM CHANGING IT BACK, WHY COULD IT REALLY BE BAD?
r/electronics • u/ntrondle • 10d ago
hello everyone! I've been building my own pick-and-place machine for a while now (it finally has a name: Vectra), and I just made a wrote up about the toolhead electronics.
I couldn't find a toolhead board I could just buy, so I made one: three 70 x 47 mm PCBs stacked on top of each other, i think you may like it !
r/electronics • u/Opening_Pension_3120 • 9d ago
We couldn't get the display to work forever. We gave up and it was just sitting in my cupboard for the past few years.
Yesterday I uploaded and image of the available components and told it to build this... And the display just worked!
r/electronics • u/AutoModerator • 10d ago
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 • u/chapitathegreatest • 12d ago
I made it using a 27 MHz crystal oscillator and tuning the LC tank to the third harmonic multiple of the crystal (81 MHz), and i got a very very stable transmission and got a *somewhat* decent range with a crude dipole antenna i made (i got about 15 meters of transmission range in a crowded city.)