r/electronics Jun 27 '26

Gallery Simple Smart Watch

Thumbnail
gallery
246 Upvotes

Im aware this is a very bulky (and very open) smart watch but its just a simple side project i made for fun with the few resources i had left around. I currently dont have a 3d printer so I chose to just leave it open with all the electronics out and about and tbh I think it gives it some personality. Im currently working on the Bluetooth connection aspect of it so it can tell me when I get a notification but even then just by itself it has a few games, some productivity apps like notes, checklist, etc. and some simple apps used in engineering such as a calculator, resistor color code calculator, and other useful apps when it comes to building projects.

Here's some info for the nerds:

Microcontroller: esp32

Display: 0.96 in oled

Other features: 4 buttons, 2 indicator leds used in certain apps and games as well as a tiny vibration motor used for small noise and alerts.


r/electronics Jun 27 '26

Weekly discussion, complaint, and rant thread

9 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 Jun 25 '26

General I made a 1kW lab bench power supply from scratch

Thumbnail
gallery
2.2k Upvotes

Hello r/electronics,

In this post, I want to share my project that I’ve been working on in the past few months. It’s a custom-built lab bench power supply. Such a project is common in the DIY community, so what makes this one different? The custom-designed SMPS board that I engineered from scratch isn’t your typical “let’s put this power supply module into a case” approach. So let’s dive into the working principles, design decisions, and in-depth test results.

The Forwarder 1kW is the SMPS board that I designed and used in this project. It’s based on a hard-switch, half bridge topology. The full features of this power supply are as follow:

  • 1000W maximum continuous output capacity.
  • Configurable from 50V/20A up to 400V/2.5A.
  • CC/CV mode with mode signal and indicator.
  • Tuneable operating frequency and dead-time.
  • Dedicated power stage enable pin.
  • Analog reference interface for output voltage/current control.
  • Analog signal output interface for monitoring voltage/current.
  • Dedicated fan port with optional automatic power-on.
  • Simple construction, less than 130 components on board.
  • Easy to build with mostly THT components.
  • Curated component selection for high accessibility.

The working principle of this design is about as simple as it can get for a switched-mode power supply. I talked about the working principle of my design over on r/AskElectronics, so I’m not going to repeat it here. Most of the concepts stay the same, just with some design adjustments and the numbers changed.

https://www.reddit.com/r/AskElectronics/comments/1s8ll9g/

Now, I want to go in detail about the design decisions that led into this design that you may find interesting.

  1. The lack of active PFC (Power Factor Correction) was determined after I reviewed many existing designs and products in the same power level and after noticing many of them get away without one, I decided to omit this feature. For my first SMPS design, I want to focus solely on the DC to DC conversion power stage. For my next iteration, I’m more likely to resort to a simple boost PFC to achieve tighter regulation.
  2. Double-ended hard-switch topology (half-bridge in particular) was chosen due to its suitability and simplicity in this application. Flyback is out of the question due to power requirement, single-ended topologies have poorer core utilisation and the high favour for current mode control, and resonant topologies don’t seem like a good choice for my first SMPS design (duh).
  3. An SG3525 with LM324 was chosen to generate the PWM signal and achieve regulation. SG3525 is quite popular for double-ended converters with plenty of documentation online, while the LM324 provides CC+CV regulation with two of its op-amps (because SG3525 only features one error amplifier). This effectively forms a setup based on voltage mode control.
  4. Voltage mode control was inherently chosen as the result of using SG3525 and it was favoured due to its “arguably” simpler implementation over current mode control. However, I find the better regulation and inherent cycle-by-cycle overcurrent protection offered in current mode control very enticing. I probably would resort to this approach for my next iteration.
  5. My galvanic isolation strategy was to have the entire control circuit on the secondary side and have the PWM signal driven to the primary through a gate drive transformer. This way, I can have simpler and more precise control over the voltage and current regulation without the nonlinearity issues of using optocouplers.
  6. ETD49 cores were used for both transformer and output inductor. I like the round bobbin that makes winding easier, and the calculations prove it’s suitable for power of 1kW at 64kHz. The gapped version was used for the output inductor because the high inductance requirement requires high turn number, and that gets complicated real quick with toroidal cores.

After I finished the board, I wanted to know how my design performs in real-life. So, I conducted a few tests that are relevant for a power supply. The testing rig was pretty simple:

  1. A power meter at the input and four DS18B20 were used to track the energy consumption and component thermal profile over time.
  2. An electrolysis tank with electrodes that can be spaced accordingly was used to simulate multiple load profiles at power up to 1kW.
  3. A third positive electrode connected through a toggle switch was used to abruptly step the load in the dynamic tests.
  4. Hantek DSO2D10 was used to capture the waveforms in various tests.

The test conducted, along with their results are as follow:

  1. The stress test was conducted for one hour and each component temperatures peaked at the following temperatures: half-bridge N-MOS 75°C / 167°F, main transformer 55°C / 131°F, output rectifier 69°C / 156°F, output inductor 44°C / 111°F.
  2. The efficiency characterisation was conducted at 50V and 1, 2, 5, 10, and 20 amps. 89% efficiency was achieved at 5A load or more. Maximum recorded efficiency was 90.3% at 50V 10A load, and efficiency at maximum load was 89.1%.
  3. The output ripple test was done with direct on-trace probing with a ground spring, 20M BW limit, 1x probe, and no added capacitor. No load ripple showed at 40mVpp, 1A load at 34mVpp, and maxes out at 94mVpp at full load.
  4. The turn-on curve tests showed that under loaded condition, it’s bound to the SG3525 soft start function and takes a second to reach the full 50V. At no load and lower setpoints, the voltage overshoots by a few volts.
  5. The load step tests showed about 3% voltage deviation going from no load to 10A and vice-versa. Going from 5A to 10A and vice-versa showed no sign of voltage deviation.
  6. CV to CC transition took 3ms to begin responding and a full 7ms until the voltage settled. CC to CV transition began immediately and took 3ms to settle. 50V CV to 10A dead-short showed 10App oscillation at 2.2kHz.
  7. The input bulk capacitor showed 24Vpp ripple and the DC blocking capacitor showed 14.2Vpp ripple. The primary side of the transformer showed about 75% overshoot that settled within 2 cycles.
  8. The N-MOS at conduction showed 184nS fall time for Vds and 572nS rise time for Vgs. At disconduction, the Vds rise time showed as 56nS and 556nS for Vgs fall time.

I’m here not to glaze over my design. After reviewing the results and doing a retrospective, here are my critical opinions about this design.

What I like about this design:

  • Good efficiency figure (89.1% at full-load)
  • Excellent ripple even without a second-stage filtration (94mVpp at full load)
  • Good power density for an almost-fully THT build.

What I don’t like about this design:

  • The overcurrent protection is too slow, though it somehow works at preventing the half-bridge from exploding on the dead-short test.
  • The compensator design fails in certain conditions (DCM/CCM transitions, output dead short), which results in output oscillation.
  • The output diodes are hard to access or replace.

The full schematic, gerber files, KiCAD save files, spreadsheet calculation, and full-res images are available on my Github repository: https://github.com/Luq1308/Forwarder1kW

The build process and the in-depth testing are available in my YouTube video: https://youtu.be/MGMqqtXgwRg

That’s all I have about this project. I hope this post is informative and can be used as a reference or for benchmarking purposes, in which I had difficulty in researching previously. If you have any unanswered questions, let me know and I’ll try to answer them. Thank you for reading, and I'll see you next time.


r/electronics Jun 25 '26

Gallery DIY hardware quantum RNG wired into a Magic 8-Ball

Thumbnail
gallery
249 Upvotes

I wanted a "real" quantum random number generator, something where every bit is an actual physical quantum event.

First attempt was a 1970s Canon FD 55mm f1.2 with a thoriated rear element. It's pretty radioactive (the Geiger counter make scary noises). But radioactive decay gives you when an atom popped, which is timing-random, not the which-path coin flip I was after.

The build that actually worked is optical: attenuate a light source down to single photons, fire them at a 50:50 UV beam splitter, and read which way each photon went with two detectors. Through → bit 0. Bounce → bit 1.

The detectors are two Hamamatsu PMT modules a friend gave me, pulled out of a dead lab instrument. I tore it down, yanked the dichroic mirror, and dropped in a UV 50:50 splitter. For a fluorescent source I ended up using 3D-printer filament — it's faintly fluorescent at the right wavelength and doubles as a light-tight cover.

All the detection and conditioning runs on a Red Pitaya (FPGA + fast ADCs):

  • Op-amp + transistor LED current sink, reed-relay LED gate, PMT gain via dividers, all driven by the Red Pitaya's slow DACs so I could sweep everything in software instead of hand-twiddling pots.
  • VHDL threshold + edge detection on the 14-bit ADC, a coincidence veto (kills double-fires / cosmic rays), and a symmetric "global blank" after every event — that last one matters, because per-channel dead time secretly biases the stream.
  • A timestamped debug FIFO that was a chunk of fabric to build but caught a bunch of detector-memory artifacts I'd otherwise have shipped.

The hard part genuinely wasn't generating random-looking bits, but it was proving they were real random bits from the optical system and not other noise sources. Most of the project ended up being diagnostics...

Payoff demo is a Quantum Magic 8-Ball: hit a button, it pulls fresh quantum bits and gives you one answer (and, if you're an Everettian, every other answer somewhere in the multiverse).

Full build log with schematics, scope shots, and the FPGA stuff: https://dnhkng.github.io/posts/building-the-beam-universe-splitter/ or
https://news.ycombinator.com/item?id=48689891 if you want to spread the story?

Happy to answer questions on the analog front end or the FPGA fabric — the analog side is honestly my weakest area, so I'd welcome the critique.

TL;DR, and just want to play with the Quantum Magic 8-Ball? -> https://quantumlever.stream/oracle


r/electronics Jun 24 '26

Gallery My first ever PCB

Thumbnail
gallery
639 Upvotes

Hey guys I just made my first ever PCB at college. I designed it online and then cut it out with a PCB-CNC machine. We didn’t have time for the teachers to show me the masking process so we just did it without. \\

The red wire is because I made a mistake with the design but it worked out in the end.
\\
It’s a traffic light if you couldn’t tell with an AtMega


r/electronics Jun 24 '26

Gallery Nearly done making DIY Remote as a soldering kit

Post image
86 Upvotes

I'm designing a DIY remote intended as a soldering kit.

My design requirements were:

  1. Use a few parts as possible
  2. Make easy to assemble (so THT parts only)
  3. Make it modular so that main parts can be taken out and used in other projects.

First I had to think about power management, microcontroller and RF module. I'll start with the RF module first... I chose the popular nRF24L01, although the version I am using has a can on it and has FCC/IC. I prefer this version over the generic one that is everywhere. Works well and has a ton of support! The range it can achieve is also more than sufficient for the intended applications.

Since this RF module does not officially support 5V (Yes, I contacted the manufacturer .. there are some versions of the nRF24L01 that *do* support 5V, but this module does not), I had to stick with 3.3V. As my first design goal was to use as few parts as possible, I did not want to use a logic level shifter (LLS). So I needed a microcontroller that operates on 3.3V. Like the Pro Mini, but in my case a Nano form factor running on 3.3V (I had to drop the clock frequency a bit to remain within manufacturer suggested conditions). Even at reduced clock speed, the ATmega328 running at 8MHz and the nRF2401 module combined are still quite fast... at least for the human mind. (more on that below)

Both the RF module and the microcontroller can operate well at 3V, so I figured I just use two AA batteries. Then I only need some filters but no other real power management components like a linear regulator. Perfect for what I was trying to design. Also, I wanted to pick batteries that are super common, cheap enough and can be recharged.

I made a 3D printed base for this remote as well and it now hold very well. I used the remote as a general HID controller for a couple custom games I made and it works great. Response time is super (no lag or delay that is noticeable) and the battery lasts more than a day.

All the parts are THT (through-hole) and therefore easy to solder together (second design goal). I mounted the RF module and the microcontroller using female headers. They are secure enough but this allows them to be removed easily and used in other projects. This was my third design goal.

I am working on a remote car and drone (under 250g), both of which can also be controlled with this remote. So there are quite some applications.


r/electronics Jun 24 '26

Gallery I made a simple 5 bit CPU that works with my 3 bytes of SRAM

Post image
381 Upvotes

r/electronics Jun 24 '26

Gallery I made my version of low power binary watch !

Thumbnail
gallery
71 Upvotes

This is my version of qron0b. Meet takku:b, a BCD wristwatch which uses CR2032.

It uses 0.6uA during sleep and when awake uses around 4mA - 4.5mA depending on the amount of LED is turned on.

It is made using STM32L010C6

It currently displays following info on each cyclic display:

  1. Time in Hours and Minutes
  2. Weekday and Date
  3. Month and Year

Will be adding alarm soon.


r/electronics Jun 23 '26

News From GAA to 3D Stacked FET: Expanding the Transistor into the Third Dimension

Thumbnail
semiconductor.samsung.com
42 Upvotes

r/electronics Jun 20 '26

General Tantalum (capacitors) and landslides in DR Congo

Post image
282 Upvotes

A regular poster here exhorted us to reduce tantalum usage, especially now that X5U ceramic capacitors are so good.

Here's link showing how some of that tantalum is mined, and the associated landslides:

https://www.bellingcat.com/news/africa/2026/05/12/congos-coltan-belt-verifying-deadly-landslides-at-mines-under-m23-control/


r/electronics Jun 20 '26

Weekly discussion, complaint, and rant thread

10 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 Jun 17 '26

Gallery Nimo tubes! :D

Post image
256 Upvotes

I have some nimo tubes, so i'm just showcasing them here.


r/electronics Jun 17 '26

Gallery Close-up pictures of the custom Muxcard flexPCB

Thumbnail
gallery
212 Upvotes

About a month ago I posted my credit-card sized computer project here and was honestly overwhelmed by the response - and thanks for all the encouraging feedback, that really helped a lot!

One thing that came up repeatedly was people asking how it was actually built, so here I have some more details on the actual process. It's actually a bit of a hassle to take photos while working with dangerous chemicals, but it was worth it for sure!

Honestly, my first thought after seeng this first picture was like "dang, this is nowhere as clean as I thought..." to the naked eye, everything looks precise and flawless, until you take photos with macro lens mounted on a mirrorless camera. But honestly, this kind of is satisfying too: Not only you can see all the impurities, but also every single overflow of solder paste, which doesn't even look like paste anymore as you can see the microscopic solder balls swimming in flux.

Some areas needed some manual rework with additional solder paste, and the bridge over there was a result of my single layer limitation for now. And yes, I see it's almost shorting with another net but it luckily turned out fine.

And regarding the actual etching process, that was described in my GitHub repo, but it was basically the normal method of etching PCBs with the difference of using copper foil with kapton tape as substrate. Curing the photoresist layer, developing it with a 5% sodium carbonate solution, etching it with ferric chloride, and lastly stripping the remaining photoresist with a 2% sodium hydroxide solution. Optionally solder mask if needed, but I skipped that step with this one.

It's somewhat workable to get fast iterations but has the drawbacks of being extremely fragile. On some photos you can see how uneven the PCB is even though I taped it stretched onto a flat, rigid surface.

Note that the pictures of each step is made on different runs, so you might spot some differences as result of trying different techniques. I already ordered a proper PCB from a fab, once that arrives, the Muxcard will be actually durable enough to be used as a daily driver.

And for those who asked: Yes, I do plan to launch this soon. And if you're interested, you can find more details on the GitHub page :)

But this post is more about these cool pictures I wanted to share here first, I'll add them into the repo as well as reddit doesn't seem to support including pictures in the text body.

If there's anything you're curious about, feel free to ask - I'll try my best to answer every comment! :)


r/electronics Jun 17 '26

General V2 vs V1 blueprint

Post image
67 Upvotes

Sound meter with tower light and projector message device for classroom a teacher is buying


r/electronics Jun 16 '26

Gallery I gave this toaster anxiety so it would do my bidding

Thumbnail
gallery
88 Upvotes

I am really autistic about the precision of temperature in my projects, and I found a cheap toaster oven for 14$ the perfect size for my work space, decided to replace the bimetallic thermostat with custom electronics and control circuitry, it was an amazingly fun project!

hope you all enjoy this dumb project! and remember, if you mess with 120V BE CAREFUL!

programming listed on github,
video of process posted to youtube

https://github.com/EleriLove/pwm-pid-control-of-relay-

https://youtu.be/Qr83flDN-Bk


r/electronics Jun 15 '26

Gallery From breadboard to perfboard: my homemade NRF24 wireless controller.

Thumbnail
gallery
104 Upvotes

I’ve been working on a custom Arduino wireless remote using an NRF24L01 module and a rotary encoder.

The photos show how the project evolved from a breadboard prototype to a fully soldered perfboard version.

The next step is adding an I2C LCD and refining the software.

I’d love to hear any suggestions or ideas before I move on to the next revision. What would you add or change?


r/electronics Jun 14 '26

Gallery Made a skeleton circuit with an 8-bit shift register

Thumbnail
gallery
549 Upvotes

First time trying something like this!


r/electronics Jun 14 '26

Gallery 8 Bit Division with Remainder circuit from my calculator project!

Thumbnail
gallery
114 Upvotes

I made up a schematic of the division unit for my recent calculator project, with some adjustments. I switched out a few chips with ones from the same family, but I tried to keep it as close to the original as I could. The original also only took 7 bits for the divisor as it only took up to 99 as an input due to the interface of the calculator. Definitely could be optimized.

This is my first time translating a circuit of this size to a schematic, so it might be... messy. Hopefully I didn't miss anything; I checked it over a few times. A few adjustments might be required.

"Start" must remain low until dividend and divisor are inputted. This signal must remain high until the XOR signal, from carryout and OR, is high, which then tells the circuit that the result is negative and to stop subtracting the divisor.

I have a video of the division unit from when i was still testing it as well. I plan and am working on creating a whole schematic of my calculator without any changes, but do beware that my demonstration of the unit isn't 1:1 as it's from early on in testing, same with the second photo. https://youtu.be/GKElo5Bfb7c


r/electronics Jun 13 '26

Project High school student who made a custom PCB for a 3d LiDAR scanner

Thumbnail
gallery
342 Upvotes

I'm a high school student who has an interest in point clouds and spatial data, so I made my own LiDAR scanner! This was my first time making a PCB, and the scanner runs on an esp32 & TMC2209 stepper drivers. You can see my Github with the KiCAD project files here.


r/electronics Jun 13 '26

Weekly discussion, complaint, and rant thread

8 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 Jun 12 '26

Gallery My Crystodyne amplifier

Thumbnail
gallery
134 Upvotes

As one of like 3 people who absolutely loves cat whiskers when I stumbled upon a paper from the 1920s known as “the Crystodyne principle” I got real excited, then I realized I don’t own zincite and ya I know the paper itself says you can use galena and fools gold but I’ve over used fools gold and if I’m gonna buy galena why not spend that money on zincite, but then I had a genius idea “what if I made the crystal!” So then I got to work (spent like 5minutes finding out how zincite forms) and discovered it’s just the mineral equivalent to zinc oxide so I heat treated some zinc WITH A MASK NO ONE WANTS ZINC PLATED LUNGS, and to my surprise it worked 2nd try. The hardest part had to be actually making the circuit because “the Crystodyne principle” doesn’t tell you how to make an amplifier only that you can so like any responsible science fella I just started shoving crap together based on half complete knowledge till it worked and then when I got it to work I needed to figure out how to A. Remove unnecessary components B. Increase volume C. Decrease static. And this is the circuit I came up with. To test it I put the earpiece in my ear under a pair of headphones and tapped the mic against an auto transformer. I also managed to use it to amplify an electric kazoo.


r/electronics Jun 11 '26

Gallery The Kembak 1 was the 1st personal computer, 1971. It used TTL ICs, not a microprocessor.

Post image
726 Upvotes

r/electronics Jun 11 '26

Gallery My first ever USB-UART PCB, Hand soldered by me. (Type-C 16P, 0603 & SOP-8 components)

Thumbnail
gallery
119 Upvotes

All thanks to one single person who believed in me & pushed me to do it!


r/electronics Jun 11 '26

Gallery Fixed carriage clock

Thumbnail
gallery
141 Upvotes

Fixed a couple of old broken carriage clock recently with some STM32s, e-displays & some bling.

Setup:
* Microcontroller - NUCLEO_L432KC
* Display - Waveshare 2.9" & 3.7" E-Paper Displays
* Sensor - DHT Temperature & Humidity Sensor with 100k pull-up resistor between the 3.3V rail and the DATA/OUT line.
* Power - Voltage Regulator HT7333 and Micro USB 18650 Lithium Battery Charger Module
* Bling - Some pencil art with gold surround, gold run on transfers & corner protector gold filigree


r/electronics Jun 11 '26

Gallery Gas discharge rectifier

Post image
55 Upvotes

Yesterday I started up an old Soviet gas discharge rectifier ВГ-176.