r/diyelectronics • u/antthatisverycool • 10h ago
Project Converted a weird light sound measuring thing into an Armstrong oscillator
I dunno just though it’d be fun.
r/diyelectronics • u/antthatisverycool • 10h ago
I dunno just though it’d be fun.
r/diyelectronics • u/Foraging-fog • 13h ago
I’ve been trying to get into this but it’s been kind of expensive(for me). Bought soldering iron, driver kit, etc. Then a few nice but non functioning tape machines and a turntable.
r/diyelectronics • u/Turbulent_Rooster_73 • 17h ago
I'm one of the people behind Electroscope, a free, open-source (MIT) viewer app for USB microscopes on Windows 11 and Apple Silicon Macs. This post is about one small part of it that turned out more useful than expected: the focus meter.
Why bother
The scope we built it around is a cheap Generalplus one (USB id 1b3f:2002, 1280x720). On a Mac it exposes no image controls to the app at all: no focus, no exposure, no brightness. Windows gives you more, but on most of these scopes focus is purely mechanical anyway. So the one thing you actually do all day is turn the ring, and at high magnification it's hard to tell by eye whether you've passed the sharpest point, especially on a laptop screen.
What the number is
About three times a second the app takes the current frame, scales it down to 640 px on the long edge, converts it to greyscale and runs a simple 3x3 Laplacian over it (each pixel's four neighbours minus 4x the pixel). The score is the variance of that result. A sharp image has lots of strong edges, so the variance goes up; blur smooths the edges out and it drops.
In the window you get the number, a little 16-bar history, and a peak hold. If you're within 2% of the best value seen it says "at peak", otherwise it shows the peak so you know to turn back. The peak decays by 0.5% per update, so after you move the board it follows the new scene instead of being stuck on an old high score.
Two things we learned:
The rest of the viewer
Zoom, pan, rotate, mirror, freeze, a grid and crosshair, your own circles/arrows/text that stay on the part when you zoom, and saving photos. Sliders a camera ignores get hidden instead of shown and doing nothing.
The image on this post is an illustration made for it, not a screenshot. Real screenshots of the app running on that Generalplus scope are in the first comment.
Getting it
Signed installers (Windows x64 setup/portable, macOS Apple Silicon DMG) are on the releases page, or build it from source with npm ci and npm start. No Linux build yet.
Repo: https://github.com/UnlikeOtherAI/electroscope
What I'd like feedback on: would a focus-peaking overlay (highlighting the sharp edges on the image itself) be more useful to you than a single number? And if you've got a USB scope that does expose focus or exposure controls on Windows, I'd like to know which one, so we can test against more than two cameras.
r/diyelectronics • u/cleonardo96 • 10h ago
Hi! I'm not sure if this is the right subreddit for this but here goes. My grandpa passed away in 2023 and it was hard on all of us and changed our family dynamics a lot as we take care of my grandmother. My mom was semi estranged from her parents before this and now flys across the country once a month to care for her mother for a week or two and it's been hard on her.
In 2018 I moved across the country and lived with my grandparents for a few months while I found my house. During this time my mom begged me to record my grandpa telling stories (he is famous in my family for telling his stories). I asked him and he said no but I secretly recorded video on my leg or in my pocket of some of his stories. After he passed I could only find one that wasn't very long or good. Last night I found the cache of all his videos. More than I even remembered recording honestly. Some are a minute but they go up to 8 minutes long. Though I wish I had recorded more honestly.
I want to clean up the audio and put some in a stuffed animal for my mom for Christmas (and maybe a second one for my grandma), but everything I am seeing only uses clips up to 60 seconds.
Does anyone have any recommendations for kits or just the recording device that I could use to plug into my computer, put the clips of my grandpa on and then put inside a stuffed animal for my mom?
r/diyelectronics • u/m4rkw • 10h ago
I wanted to power profile my vehicle tracker at the 12V input but I can't afford a Joulescope and the Nordic Power Profiler only works up to 5V so I designed this.
It's 2x INA228, one for low range across a 10 Ω shunt and one for high range across a 50 mΩ shunt, and an MCP2221A with a USB-C interface so I can control it from the computer.
Resolution in the low range should be around 31nA and in the high range about 1.6µA which should be plenty, my target device sleeps at around ~20uA and runs at full power around 30mA so I should be able to profile both of these.
Low range is limited to 16mA and high range 2A (by the fuse).
Since the MCP2221A had spare GPIOs I also added a few switchable inputs through MOSFETs so I can programmatically turn the ignition signal to the tracker on and off, this is one of the last things Claude isn't able to do autonomously so now my bench test setup will be fully automated with Claude able to drive the PSU, scope, power profiler and now also the ignition signal.
r/diyelectronics • u/Wobble-Engineering • 21h ago
I made some 18650 battery storage, to prepare for my big E-bike battery rebuild project. It houses 80 batteries, made into 10 rows of 8. Which is ideal to use with those 8 channel battery testers.
r/diyelectronics • u/Canuckistani2 • 18h ago
I have a portable device I'm building that currently uses 4 18650 cells to power some LEDs that draw about 1.3A at ~12v. I'd like to be able to manage those cells with a BMS & charge them with USB-C (PD would be nice). I don't really know what type of device or board I would need to do this though.
Can someone point me in the right direction as to what I should look for?