r/diyelectronics

▲ 4 r/diyelectronics+2 crossposts

Is there any point in upgrading this?

  • Hi I've recently been learning how to build batteries as I have been restoring my grandpa's old nicd makitas so I can have a decent set of tools. Anyways I purchased one of those 12v spot welders ​Same design as this I was on a budget and the one I ordered had fairly good reviews for only being $10, I was wondering if there was anything I could do to make it better, and if yes is it even worth it. if there is anything I'd really prefer it to be cheaper than those 70 stations they have for spot welding, thank you in advance!
reddit.com
u/Wise_Piano_5369 — 5 hours ago

I'm trying to declutter, is this worth keeping?

I am trying to declutter and I've had a bunch of these ICs laying around for the past 15 years, are they worth keeping?

u/moistiest_dangles — 14 hours ago

Looking for cap replacement recommendation for discontinued caps?

Hey guys!

Currently doing a recap on a very high end VCR (Panasonic AG-1980p) and am coming up short on a few of the caps. The Panasonic VCR was built in the 90's and has seen many iterations of capacitors introduced over the years afterwards. Thankfully someone made a recommendation of a replacement on the recap list, but now those are also no longer being produced.

I realize this may be a pain of a post but I've never had to spec out replacement caps like this so I'm a little intimidated, especially on such a high-end machine. I'd prefer a Panasonic or Nichon equivalent if possible and don't mind shelling out a couple extra bucks for better caps, but could really use some help coming up with good replacements. Neither DigiKey or Mouser had any recommended alternatives which I found strange. I used 4 different AI assistants and got 4 completely different answers (some with bad info in their explanation), so I figured I'd ask here with people who actually know what they're doing. Height does not seem like a major issue but I'd obviously not to go significantly larger than the original. I'm also placing my order on Mouser so I'm looking for ones that are currently in stock.

The model numbers are:

ECEA1HKAR22 (recommended equivalent was EEA-GA1HR22)

ECEA1HKAR47 (recommended equivalent was UPJ1HR47MDD1TD)

ECEA1HKNR47 (recommended equivalent was UVP1HR47MDD1TD)

ECEA1HKA010 (recommended equivalent was UVY1H010MDD1T)

If I could get any help in finding the best modern equivalents that would be a huge help! Thank you so much for reading!

reddit.com
u/Speedi77 — 7 hours ago

Built my own variable switching power supply for my bench - here is what actually gave me trouble

I built a variable switching power supply rather than buying one because the output range I needed was not well served by affordable off the shelf options. The learning experience was worth it but the difficulty surprised me.

Feedback loop stability was the hardest concept to move from understanding to actual working implementation. An unstable loop produces output oscillation that makes the supply useless and can damage connected circuits. Getting the compensation network right took far more iteration than I had planned for.

Component behaviour under real switching conditions also differed from simulation in ways I had not anticipated. MOSFETs and diodes carry parasitic characteristics that simulators handle inconsistently and the physical build revealed that gap quickly.

Thermal management required proper calculation rather than guesswork for a supply that would regularly run at higher current outputs.

There is a margin note in my design notebook from a particularly frustrating debugging session that just says alibaba. I had been trying to identify an unmarked component and eventually found a supplier forum documenting the exact counterfeit marking pattern I was looking at. Completely unexpected but genuinely useful.

What DIY power project taught you the most through the problems it created?

reddit.com
u/tomatoboy19 — 6 hours ago

Question about getting started with Raspberry Pi

I have zero experience with Raspberry Pi (and basically none with electronics generally), but I want to give it a try. I had an idea for a project and I'm wondering the following:

  • Is this even an appropriate question for this particular subreddit?
  • Is this a suitable project for a first-timer?
  • If so, how much time and money is it reasonable to budget for this? (I'm not asking anyone to price components for me, just a general sense of whether I'm looking at 50 USD or 500 USD for this little experiment.

Project overview

I want to build a large digital clock/timer with the following features:

  • Display can be clearly read from a distance of 15 ft (5 meters), with a wide viewing angle
  • Three functions: display time in 12hr or 24hr format; count down; count up
  • Beep when countdown reaches zero
  • Mechanical keypad for input, like a 10-key number pad with some extra buttons to switch between clock and timer functions, etc.
  • 3d printed enclosure (here too, I have no experience, but a willingness to learn)

So that's it. Worth a shot?

reddit.com
u/crmdgn_86 — 11 hours ago

Are these fake?

It wouldn't be the first time i got counterfeit components from ali (that's what ya get for buying cheap electronics stuff)

I'm almost certain the one on the right, wich came in a sealed reel, got sanded and lasered, but what is your opinion. And if they're fake is there a way to estimate the current capability.

I intended to use 5 of them in parallel to switch the output of a big liion bank i built, since the irfz44n I've used before became lightening very quickly.

u/cookieklemens — 13 hours ago

Need help modifying a small USB rechargeable fan to use AA batteries or direct power

I have absolutely no expertise in electronics, so this might be a dumb question. I bought a small USB rechargeable handheld fan recently, but the battery only lasts around 20-22 minutes on a full charge. I opened it up and found it uses a single 14500 3.7V rechargeable battery.

I tried replacing it with a regular AA battery just to test it, but the fan didn’t work at all. I wanted to know if there’s a safe way to modify this so:

* it can run using AA batteries instead (would that even be a better option?), *or*

* it can work directly from a DC/wall power source without depending on the internal battery.

u/genesis_pig — 24 hours ago
▲ 2.2k r/diyelectronics+2 crossposts

Hey, 12 days ago I posted my 4-knob LED pattern controller here and the response was way bigger than I expected.

What changed since then:

- Designed my first PCB in KiCad (PCBway sponsored the manufacturing after seeing the original post — huge thanks)

- Swapped all 4 potentiometers for rotary encoders with push switches

- Cleaner case design to fit the new PCB and encoders

- All files on GitHub: schematics, PCB artwork (Gerber), 3D models for the case, firmware

I also built a website and just wrote the first post on it — a long build log looking back at the whole journey, in both English and Korean. Wrote it today while pausing to think about where this is heading.

GitHub: https://github.com/engmung/PatternFlow

Site + build log: https://patternflow.work/journal/v1-30-days

If it's useful to you, a star on the repo would mean a lot.

u/Aran_PCBWAY — 1 day ago
▲ 4 r/diyelectronics+1 crossposts

Making a MP3 player as a beginner in electronics and engineering

I’m a beginner at electronics and want to learn more I have been looking at tutorials on how to make an mp3 player but everyone uses premade pcb. I want to learn what I need for it and attempt to make my own pcb for the project. I’m very confused as to where and how to start. I have a LoRa 32 wifi BLE, 0.96” 128X64 OLED by HELTEC. I saw that you can make an mp3 using that but I want to make a good project and if esp32 is not the most suitable I can invest in something else. I need clarity on what to buy and where to research and study as to understand what I’m doing and how I’m doing it instead of blindly following an already made project. If anyone has any advice or tips would be very grateful.

reddit.com
u/Grand_Two3710 — 15 hours ago

Vehicle flashing light

My son picked this up from the street. Any ideas on how I can wire it up to make it flash. Not done much electronics since I was a kid.

Edit: possibly a BA15d socket? And 12V.

u/jamespter — 15 hours ago

Can anyone point me to the correct desoldering gun for Yihua 948 I on AliExpress?

There are many that look the same but they don't have pictures of the plugs and apparently the pin numbers vary. Mine is an 8-pin.

reddit.com
u/FumblingOppossum — 14 hours ago
▲ 894 r/diyelectronics+1 crossposts

17 days after open-sourcing Patternflow — first community pattern, v2 build guide, and the AI gacha problem

Hey!

Some of you might remember Patternflow — ESP32-S3, 128×64 LED matrix, 4 knobs, a device for generative patterns. 17 days ago I open-sourced it (the Open Source Hero badge still doesn't feel real, thank you). Here's where it's gone since then. A few things happened I didn't expect.

Someone actually made a pattern.

This is the part I keep going back to. A few days ago someone took the JS pattern template, wrote their own, and sent it to me. I helped port it to C++, and we posted it as a collab on our Instagram. Flashing someone else's code onto my hardware and watching it run was a weird feeling. Good weird. It's the whole reason I open-sourced this thing, and it happened faster than I thought it would.

The porting wasn't perfectly smooth, so I'm writing up the gotchas as a GitHub issue

The v2 build guide is real now.

The original docs were placeholder, honestly. The new one walks through four stages — parts, PCB, assembly, firmware — and there's a 3D preview on the site that updates per stage. It's here.

The cold-boot bug some of you helped debug (pull-up on GPIO0, for anyone else hitting it on AliExpress ESP32-S3) is fully fixed in v2.

Why AI is in this workflow.

The original section was unclear, so let me lay this out properly. AI shows up in two places:

  1. JS for web preview. I sketch patterns in JS first so I can see them in the browser quickly. AI helps translate what I want into that JS.
  2. JS → C++ port. Once a JS pattern looks good, AI helps convert it to C++ that runs on the ESP32.

The pushback focuses on #1. #2 is more accepted because it's well-defined code-to-code translation. But structurally, they're the same operation. #2 translates JS to C++. #1 translates an English description to JS. Same operation, different input format. If AI translating between two formal languages is fine, the case for AI translating from a looser source into a formal one rests on the same structure.

There are two reasons AI is here:

One: showing the device's range. The patterns I post daily on Instagram aren't curated artwork. They're mass-produced to demonstrate that this hardware can run a wide variety of generative styles, not just one aesthetic. AI lets me produce enough variations that the breadth becomes visible. Hand-writing every one would mean one pattern a month and nobody understanding what this thing can hold. (Side observation: audience reactions are wild. Ones I think are beautiful flop. Ones I'd discard go to 70k+ views. One did, this week. I clearly don't understand what people see.)

Two: keeping the door open to non-coders. My main goal with Patternflow being open source is that someone with no coding background can sit down and make their own pattern. The end artifact is still algorithmic code — noise, weighted random, modular arithmetic, reservoir sampling, exactly the techniques the top comment listed. AI is the bridge that gets a non-coder from "I want it to feel like X" to working code on the board.

There's a more general point underneath this. Most of us didn't get into coding because someone handed us a math textbook on day one. We got in because something small worked first — an LED blinked, a hello world printed, a sketch ran — and that "oh, this is mine" moment made the harder learning afterward feel worth doing. Interest came first. Discipline came after.

For someone with no coding background today, AI can be what produces that first "oh, this is mine" moment. It doesn't replace learning fundamentals — it gives them a working thing they care about, so that when they later open the code and want to know how it actually does what it does, the learning has something to anchor to. If a non-coder uses Patternflow with AI help, makes a pattern they love, and a month later starts reading the source out of curiosity — that's exactly the path I'm trying to build.

For what it's worth, I personally love the fundamentals. I plan to hand-write my own patterns eventually, and I think that's where the real art lives. The AI workflow exists so the system is open to people who don't have that background yet, not because I prefer it for myself.

The "gacha" framing in the original was about where #1 still falls short — current LLMs aren't reliable enough yet, maybe 1 in 10 outputs is interesting. So my next step is making that bridge more dependable: define the algorithmic primitives (noise type, color rule, knob mapping, motion function) as constrained options, let the LLM combine them, and always have a human tune the result. If anyone has better workflow ideas in that direction, I'd really like to hear them.

One question I want to ask you.

From the waitlist survey: about half of respondents said they want to make their own patterns rather than just run preset ones, and a handful asked about MIDI and OSC. I hadn't planned for performance use from the start, but the more I think about it, the more it fits.

If you have opinions — USB MIDI, network OSC, both, neither, something else — I'd really like to hear them. I'm at the stage where decisions stick.

More context

If you want the long, more personal version of all this, I wrote a blog post about it over the weekend — originally in Korean, translated to English. Fair warning, it's long.

https://patternflow.work/journal/me-and-patternflow

This subreddit has been a big part of why Patternflow kept going. Still is.

u/GlumPiece7281 — 2 days ago
▲ 157 r/diyelectronics+1 crossposts

Yet another “Baby’s first PCB” post

This is a board for a Monero-focused crypto wallet using an NXP SE050 secure element, STM32U5 MCU. Tomorrow I get the components. Hooray

Ps I am a know nothing wrench turner by trade so don’t redditor me if this is bad for whatever reason, I’m pretty stoked

u/No_Development5871 — 2 days ago

Couldn't find the light I wanted, so I learned to DIY electronics

Man, what an adventure! It's insane what we can do in the world today.

For the life of me I couldn't find a nice cozy evening light:

  • Warm 1800K-ish light
  • Full spectrum—no blue light
  • No flickering
  • Smart home controlled

...turns out you can just make this stuff yourself?

In the last few months, I got a 3D printer, learned PCB design, had JLCPCB assemble a custom board with an ESP32 (had an engineer there save my ass by flipping the TVS diode), flashed it with ESPHome and...boom. The thing I wanted.

My childhood's dream was to be an inventor. Looks like we're doing it.

Here's to the love for DIY electronics!

u/iamarcel — 1 day ago

Help with connector for new PCB

I am making a custom digital Dash for my 1992 Nissan Y60. These are the stock connectors (3 of them) which are plugged behind the stock cluster. I don't want to cut or de pin this connector and want these to be plugged on to my custom PCB.

As the stock had flex PCB and the connectors touch the PCB from the sides, what is the best way to get my PCB to receive these points ?

I have made the 3D socket design to get it printed and lock the connectors.

I have done only basic PCB designs for my Arduino and Pi projects, so I'm lacking ideas here.

The ideas I now have are to use spring loaded pogo pins, sandwich 2 PCB and then merge to one, etc but I believe there should be an better/easier way from people with experience.

Thanks a lot in advance!

u/3rroR431 — 1 day ago

Wondering where to start?

Hi there!

Im looking to get into tinkering and modifying electronics, and i was hoping if i could ask for some handy resources to learn, and any tips/ advice you'd have for this project

My Current plan for a starting project is to replace the AA battery slot in a second hand portable radio with a USB C rechargable battery, and then later experiment with raspberry pies and such.

reddit.com
u/Ruckeysquad — 1 day ago

H-bridge on custom surface mount protoboard

I designed this protoboard so I could build circuits directly out of surface mount components, rather than needing a pile of adapters on a standard 100x100mil protoboard. This circuit has a H-bridge and oscillator to drive an LED chain where the LEDs are wired with alternate polarisation.

The idea of the board is that the circuit can be built up in separate modules vertically, then the modules connected together via the horizontal traces on the back side. The built-in horizontal traces means that we don't need to solder on jumper wires crossing left and right across the board, which makes it easier to work with.

This is a real photo. I took it on an angle then straightened it in the image editor.

Happy for feedback or any other comments on the design.

u/rokusoku4d — 1 day ago