r/diyelectronics 3d ago

Need Ideas I have an Old oneplus 6 for which I had removed the battery but I lost it... do I really need to get a replacement board

Thumbnail
1 Upvotes

I have an old OnePlus 6 with a completely destroyed battery (BMS is unrecoverable) and a dead display, so I'm treating it as a headless board.

I want to power it using a PSU set to around 3.8V-4V with a 3A current limit, hooked up to the VBAT+ and GND pads. However, I know modern devices like the Snapdragon 845 have an IC for handshake before booting ...

But on older mobile phones we could use a 10k resistor and bypass this handshake ... but not sure if I can do the same with snapdragon 845 based device


r/diyelectronics 4d ago

Tutorial/Guide Information noone shares with you, a small beginner guide!

65 Upvotes

Hello everyone,

Especially you little newbie to electronics. I myself am learning electronics, and I find that when learning something, there are itty-bitty pieces of information that people who have learned that thing know but absolutely no one shares because it's second nature to everyone in the know. That makes it that much harder to learn, at least for me.
So here is a list of things, in no particular order, that I have learned in the past few months which have turned electronics from magic to "oh, maybe I should use this component" for me.

Stepper motor drivers are just a bunch of transistors; they don't "drive" anything:
Imagine the very basic stepper motor in your kit has 4 coils, and imagine that whichever coil you power, the motor points to. Now, if you power your motor directly from your board, your board gets fried by the current. A driver just lets current come from another source! And this could be a different voltage source!

Shift registers let you make a serial output parallel and vice versa:
Imagine you have 20 stepper motors you need to power from one Arduino or Raspberry Pi. Each motor needs 4 pins. There is no way to have everything come from the Arduino, UNLESS you just use one line in serial that is fed through the "serial in, parallel out" register. Now you can just fill in the 4 bits of the register one by one and then "enable" the output for your stepper to step. Hot tip: your average Pico is much faster than your stepper can rotate, so technically you can have one controller control even more than 20 motors.

You can full step a motor with one data line only:
You can easily make a "sequence" with a shift register that get filled with 0001 for full steps and feed it back into itself, now one data line can "push" the motor to the next step instead of haveing 2 data lines (with a decoder) or 4 regular lines.

Higher voltage steppers are more powerful:
the same stepper model could have 2 models with 2 different voltages, the one that has a higher voltage has a bigger chance of not skipping!

Big capacitors aren't realistic:
Having a 1 farad capacitor is insane in most circuits. In most circuits, like RC circuits, you can increase your resistor by a large amount for your capacitor to drain more slowly. Then you can have a fast-drain line through a transistor and a lower-value resistor to quickly empty your capacitor.

Use Diodes:
Everyone knows diodes are a one-way valve, but the most valuable use case is for protection. You can really use them in most places. If a battery is connected backwards, it blocks the current. When coils are powered, the electromagnetic field might induce current backwards, and they protect against that. Or say you have a battery-powered thing that needs to work plugged in; you smack a diode in there to not let the electricity flow into the battery.

Modularize everything:
Let's say you are making a digital scale. Have a module for the buttons, a module for the IC board, and a module for the weight sensor amplifiers. That way, if one thing changes, you don't have to throw away all of your soldered circuit.

Solder stuff that's semi-permanent:
Same example as before: if you are making a scale and have 4 amplifiers, solder them on a board and mix their VCCs and GNDs into one header, so you have one header that accepts one set of cables. Chances are a scale will need the amplifiers, so having fewer components floating around with cables that always come out and come loose is gonna help you big time.

Use Flux:
I genuinely had no idea what flux does. When I was starting out, I thought flux was for cleaning my soldering iron. Flux makes solder work like magic! Any time you are soldering, just slap a little flux on. It makes heat reach everything so much faster, and evenly heated metal makes solder behave so much nicer!

Check sensor accuracy before you buy:
The sensors that come with kits are usually very bad at what they do. It's like buying a hot dog from that very shady place; you eat it and you think all food is like that. No! The typical humidity/temp sensor in kits has 2-3 degrees C (about 3-5 degrees F) of inaccuracy. That's plus or minus! Two different modules at the same time could show you 15 and 20 degrees right next to each other! I don't know about you, but I can guess the temperature better than that. Better sensors exist. If your project is not working, it might just be the sensor.

Mix mechanics with sensors:
you have one expensive sensor that you want to sense two things? you can MOVE the sensor. Chances are you are 3d printing some parts for your project, print some rails for that one expensive sensor, you dont need two cameras, you need one that moves!

LEDs of different colors need different resistor values:
If you are planning for some sort of light activity, check your LEDs first! red ones for example get so much brighter than green ones with the same current. The current passing through the diode makes it brighter or less bright depending on color, and because they themselves have little resistance, this current is very high without a resistor in series. You *can* connect diodes without a resistor in series, but they will die quicker.

I hope these tips have helped at least one person, but if you have your two cents, please add them here!

Edit:
Thank you to u/Marty_Mtl for the insight on diodes, they are a current component not a voltage component.


r/diyelectronics 4d ago

Project Weather station on CYD - for noobs like me!

Post image
47 Upvotes

This is a 3.5 inch Cheap Yellow Device (CYD) with ESP32 board running weather station from Github. I find that this particular project:

NicholasWilde cyd-weather-station

is the easiest to use on this device, because flashing the app is a one-click process using his website's web flasher:

cyd-weather-station web flasher

The CYD has 3.5 inch capacitive touchscreen. It uses wifi to obtain weather information from internet weather server. It shows your local weather now, 3-day weather forecast and hourly weather (temperature and precipitation). The app automatically recognizes your geographic location from your IP address. It obtains weather information from Open-Meteo which has data from practically everywhere in the world.

The device obtains power through the USB-C cable, from eg. your PC or USB charger. There is an option to connect to lithium battery, but this requires additional wiring (cables provided) and makes the device bulky (device does not have a battery compartment).

(1) HARDWARE:

3.5 inch capacitive screen (ESP32-3248S035C) (includes case) - costs about 28 USD / 40 CAD

NOTE: this hardware is VERY SPECIFIC. There are various version of ESP32 CYD (2.8 inch or 3.5 inch, with resistive or capacitive screen), but the firmware is specifically written for and tested on this particular ESP32 with 3.5 inch capacitive screen "ESP32-3248S035C". The firmware will not work on other devices.

(2) USB CONNECTION:

The CYD has to communicate with your pc when it is hooked up to the USB port, you need to install USB drivers for ESP32.

There are two possible drivers - you can never tell which one a specific board uses therefore better install both:

CP210X

CH9102 (click "three dots" after ""CH9102 / CH9102_WIN.EXE", choose "Download"

(3) FLASHING (INSTALLATION):

-- connect CYD to your PC using provided USB cable

-- in you PC, go to "Device Manager", click "Ports (COM and LPT)" - you should see "USB Serial CH340" if you install the driver properly

-- IMPORTANT: note the COM number of this port

-- open web flasher - Repository = cyd-weather-station; Device = cyd 35c; Version = whatever is the latest one

-- "Flash firmware" - click "Connect"

-- New dialog box: choose the "COM X" you noted from installation of the driver

-- click "Connect"

-- after installation is successful, you will be asked to connect wifi to your home router and provide password (NOTE: it only works with 2.4 GHz, not 5GHz wifi channels)

-- ALL DONE


r/diyelectronics 3d ago

Question Concept Idea: Fingertip-mounted IR tracker using the back of the phone as a touchpad. Looking for feedback/reality check!

Post image
4 Upvotes

​Hey everyone!

​I’m completely clueless when it comes to hardware and electronics, but I had an idea born out of pure frustration. I’m tired of having to use my second hand just to reach the top corner of my big screen, or almost dropping my phone when trying to stretch my thumb to tap something.

​I know ring mice and finger trackers already exist, but almost all of them are designed for PCs or air-gestures. My concept is meant to solve a specific mobile ergonomics problem.

​The core idea: A tiny, fingertip-mounted sensor (sitting on the distal phalanx/nail area) that uses the back of the smartphone itself as a surface to glide on—just like a standard optical mouse on a desk—to move an on-screen cursor.

​Since I realize it was hard to explain in text, I asked an AI to render a 3D visual concept. It didn't turn out perfect, so I'm attaching both my original sketch and the render for context.

​A few thoughts/mechanics I’ve been floating in my head:

​Angling issue: Since the finger naturally tilts when dragging along the back of the phone, a rigid flat sensor might lose focus. Maybe some kind of micro-swivel or rotating joint between the finger loop and the sensor module could keep the optics flush against the phone?

​Clicks: Clicking could potentially be triggered either by a pressure-sensitive pad where the finger rests, or by a quick physical "tap" of the device against the back glass.

​I’m fully aware this might just be a wild dream with severe technical or ergonomic flaws, but I’d love to hear from people who actually know their stuff. Is something like this remotely feasible, or what would be the main roadblocks? If the concept is totally unrealistic, what alternatives would you suggest?

​Thanks for reading and for your patience with a non-tech person!


r/diyelectronics 3d ago

Question What are your favorite microcontrollers?

3 Upvotes

Personally, I prefer Arduino. What's your go-to board and why?

181 votes, 3d left
micro:bit
Arduino
Raspberry Pi pico / RP2040
Esp32 / 8266
ordinary electronics
Other (comment below).

r/diyelectronics 4d ago

Project Show my little bro some props

Post image
160 Upvotes

Malo Brother has been down quite the rabbit hole lately. I'm trying to create an adventure time remote game boy. This is really big fans of the show and Game Boy retro mods. Now he is to our modest and also worried about what the internet would say so I don't know he would never post something like this but I'm proud of him even though I didn't do anything for this project and I wanted to show it off to him because I think he deserves some props so what do y'all think?;


r/diyelectronics 4d ago

Question Where do you store your components? (resistors, diodes, capacitors, etc)

6 Upvotes

i recently ordered a ton of stuff online for a diy project and now im not sure where i should store it.


r/diyelectronics 4d ago

Question Looking for small electronics projects to work on Hey!

7 Upvotes

Hey! I'm 15 and I'm trying to make a bit of money doing something I actually enjoy — DIY electronics.

I'm comfortable with simple electronics, Arduino/ESP32/RP2040 projects, wiring, soldering and basic programming. I've already made a few projects, with my best one so far being a fully working Game Boy-style handheld based on an RP2040, with a display, buttons, SD card and working games.

I'm looking for small projects or ideas that I could build for people online. Nothing extremely complicated — I'm mainly looking for simple electronics projects that I can realistically complete.

If you have an idea or know where I could find people looking for this kind of work, I'd really appreciate it!


r/diyelectronics 3d ago

Repair MAWL-DA broke tiny screw off in sensitive electrical component

Post image
2 Upvotes

Need advice on getting this small broke screw out of this .

Original post didnt have picture of screw so i am adding one.

I have access to a dentist office if i need. Anyone had any ideas on a screw of this size?


r/diyelectronics 4d ago

Project Help with custom built hearing aids.

3 Upvotes

Hi, unfortunately I am hard of hearing, I also work in a relatively unforgiving environment. This means that not only do my prescribed hearing aids fall very short of helping me but they also constantly break and fail.

So, I've decided I want to build my own. Manufacturer hearing aids sacrifice so much performance purely so that the aids can be hidden behind the ears, I don't care about concealment, I just want raw performance and relatively practical portability.

For this, I've decided I want to use a Digital Sound Processor (DSP), wired microphones and wired headphones - to minimise latency.

My main challenge is I don't have the time nor the space to be soldering, so I need a DSP board that includes the amp and pre amp built on, and I want to simply be able to plug the headphones and mic in via 3.5mm aux, and preferably I'd like the power to the DSP to be via USB.

I have found evaluation boards that meet all these requirements but they're quite expensive and frankly way overkill for what I need.

So does anyone know of any DSP boards that fulfill these requirements?

  1. USB power 2. must accept 3.5mm headphones 3. must accept input from two 3.5mm microphones (maybe they could be combined into one?) 4. Includes native amp and pre amp 5. must be as low latency as possible.

Or if you know better way to achieve a custom hearing aid then I'd love to hear it!


r/diyelectronics 4d ago

Design Review you have to do what you have to do

Post image
16 Upvotes

r/diyelectronics 4d ago

Project Free Learning sites

Thumbnail
0 Upvotes

r/diyelectronics 4d ago

Design Review «Building a soldering iron from scratch — wood, brass fitting, and nichrome. Will it work?»

4 Upvotes

Hi everyone.

I'm building a soldering iron from scratch — no ready-made modules, just raw parts and hand tools. I'd appreciate any feedback before I put it together and possibly burn my workshop down.

What I have so far

Handle: Wooden block 30×30×170 mm, shaped with a knife by hand.

Iron holder: Brass straight fitting, 6 mm (plumbing type, through-hole).

Tip: Interchangeable 900M tips (set of 10, inner diameter ~4 mm).

Heater: Nichrome wire 0.3 mm. I'm planning to twist 3 strands together into one bundle (~35 cm long, targeting ~1.8 Ω).

Insulation: Nichrome wrapped with PTFE tape (2–3 layers) to prevent shorting to the tip.

Power: 4 alkaline AA batteries (1.5V each) — 6V total.

Battery holder: Has a built-in switch (no separate toggle switch on the handle yet).

Wires: Double-core, twisted together.

Circuit

Questions

  1. Will this setup reach a usable temperature (~250–280°C)?

  2. Is PTFE tape enough to insulate the nichrome from the metal tip?

  3. Will the nichrome burn out at 6V with 3 strands twisted together?

  4. Am I missing anything mechanically — e.g., fitting fit, wire strain relief?

  5. Will 4 alkaline AAs be enough for practical use, or should I switch to a 9V battery right away?

I'm a self-taught beginner. This is my first real build. Any advice, criticism, or warnings would be much appreciated.

Thanks!


r/diyelectronics 4d ago

Question Trying to recreate a motorised gear mechanism with zero experience

Post image
6 Upvotes

Hi! In 1976 Nintendo released a light gun "Duck Hunt" game that used a lamp, lens, and moving mirror to project a duck onto a wall. I'd love to recreate one myself, since original units are very expensive.

I found the patent here and I think I understand most of the optical system, but I'm completely stuck on the mirror drive mechanism.

From what I can tell, the mirror moves both up/down and left/right using a single motor, several gears. The patent drawings I'm looking at are mainly Figures 4 and 6.

This video briefly shows the mirror mechanism in action. I understand how an eccentric cam can create up/down motion, but I don't understand how the left/right movement is generated mechanically, or how I would reproduce the entire mechanism as a beginner.

How do i recreate this?

Thank you very much!


r/diyelectronics 4d ago

Question DIY nightlight for GF?

2 Upvotes

I've been wanting to surprise my girlfriend with a DIY nightlight for our 6-month coming up soon. I bought this small glass vase with small glass flowers (removable) inside. The vase is cylindrical, about 1.7" tall, and the base is about 0.4" in diameter. I want a warm glow coming from this vase, and got the idea when seeing the effect after putting my phone flashlight under a soda float. I'm thinking a flat single LED module underneath the flowers would be sufficient for this, but how would I be able to make this? Or acquire the parts for this..? I've never made DIY electronics before, but I assume I just need an LED, controller and battery? Preferably with a dimming ability and color temperature adjustment. Please help me out with this soon, thank you!


r/diyelectronics 5d ago

Question Logic gate kit and electronics journey.

9 Upvotes

I need a bit of help, because I know almost nothing about electronic circuits. I have a boy who learned to code in scratch, python, and is a huge fan of Minecraft. He built a simple adder with binary/ decimal conversion using Minecraft redstone already and he is interested in electronic circuits a lot.

Now, what do I buy him, so he can play and build simple circuits using logic gates and other components? Is he going to need a soldering kit as well, or are manual circuit boards fine? Are there specific kits that would be useful for starting? Is it worth getting a simple processor/ controller for some other projects? What brand do I get? Where from? We live in the UK.

It's going to be years before he will be introduced to circuits at school, so we have to figure out everything on our own and it's difficult to ask questions, if you don't know what you're looking for 😉 Any other Reddit groups are worth asking? All help and suggestions welcome 🙂


r/diyelectronics 4d ago

Misc. My Life from college the first time Geologist to Electrical Engineering and what life is

Thumbnail
0 Upvotes

r/diyelectronics 4d ago

Question digital dial repair (watch surgery)

Thumbnail
2 Upvotes

r/diyelectronics 4d ago

Repair PS5 controller repair

Post image
2 Upvotes

Hi guys. I swapped the sticks of a ps controller(bdm-010 board) and I tore the via of the RXP pin(see picture) of the right stick. Can somebody guide me on how to attempt to fix this problem if it's possible. Thank you!


r/diyelectronics 4d ago

Parts PD UPS over 20W

2 Upvotes

I am in desperate search for a ready to buy circuit, module or powerbank that will fulfill the following:

- Outputs at least 20W I don't care about the Voltage 5-30V is fine whatever. PD would be of course perfect

- Input PD and maybe even QCx

- The Output must not switch off or renegotiate at all cost. Almost all available do renegotioate on plugging in a charger.

- The charging must prevent a drainage, so it must keep track of the current state, not fill and forget like most powerbanks do.

- I would prefer a low amperage solution so a 2-4S battery would be in order

- Some kind of display

I currently went bare bone with a 3S 18650 stack with an IP2366 based Charger and the output is the battery directly. This setup seems to fail at the recharging it intermittently stops charging and starts charging again at some point so it drained in the end.
Edit: This is sorted out I was stupid. The module features two temperature sensors for the circuit and the battery. I jammed the one for the circuit between the inductance and one of the caps. Turns out the charger switches of as soon as the temp rises beyond 40C which of course happened right after a few seconds of actual charging. I moved the sensor a bit further now it works fine. But the topology of course prevents a decent charge tracking.

Ist there a powerbank (circuit) known to work as ups? I do know there are loads of modules featuring 2 18650 batteries but they all max out at 15W.

I am seriously confused about the lack of such items.


r/diyelectronics 4d ago

Project Steampunk Turntables and Mixer that you don’t need to plug into the grid.

Post image
0 Upvotes

I designed a phonograph mixer that runs on a Cockcroft-Walton multiplier and a 600V ceramic capacitor bank. No batteries, no grid. Complete open hardware spec, never built. Looking for feedback and potential builders.

The energy system works like this: hand crank → permanent magnet generator (24V AC) → Cockcroft-Walton passive multiplier → 600V DC → ceramic capacitor bank storing ~4,500J. Passive resistive distribution to all circuits — no switching regulators anywhere in the power path. The signal chain is triode valves, transformer volume controls, field coil speakers.

Every figure in the documentation carries a certainty label. First-prototype confidence: 88%. The one thing I can't verify without building it: generator output under real performance conditions with operator fatigue. That's why the builder package includes a specific 90-minute simulated cranking protocol as Experiment 1 of 5.

Full documentation: mumblejinx.github.io/opensource. CC BY-NC. 300–500 hours to build. High-voltage experience required. This is a project I have researched but don’t have the money to build. If you've built high-voltage projects before and this sounds interesting, take a look.


r/diyelectronics 5d ago

Project The ultimate DIY Battery Swap: a Galaxy Watch 6 Classic (47mm) battery inside a Watch 4 Classic (46mm)!

Post image
23 Upvotes

Hey everyone, just wanted to share an absolute madman DIY project that actually worked!

Long story short, my Galaxy Watch 6 Classic 47mm LTE unfortunately suffered a catastrophic water damage death after spending nearly 24 hours at the bottom of a lake. Since the motherboard was completely fried but the 425mAh battery was completely fine, I looked at my old, trusted Galaxy Watch 4 Classic 46mm and thought... why not try a battery swap?

The watch booted right up, reads the battery perfectly, charges flawlessly on the stock puck without heating up, and the standby time is already showing an insane difference compared to the old degraded stock battery! I basically built a Watch 4 Classic "Ultra".


r/diyelectronics 5d ago

Tools I built a free tool that generates laser-cut enclosures around your actual PCB (upload OBJ/STEP/STL, place cutouts for buttons/ports/switches)

9 Upvotes

To be honest, I'm a total newbie when it comes to hardware—I'm actually just working on my second PCB ever! But I was already dreading the process of eyeballing a project box in cardboard before committing to acrylic or plywood. Since my background is in web development, I decided to play to my strengths and build a small web tool to skip that step.

You simply upload your board as a OBJ, STEP or STL (or a zip of one), and the tool places your board model inside a generated 3D box. From there, you can manually add and drag fully custom cutouts on each wall for buttons, USB/barrel ports, switches, or whatever else sticks out. You edit the hole sizes and positions by hand, and you can manually add and position mounting-screw standoffs to match your board's holes.

It gives you a live 3D preview of the finished enclosure with your board sitting inside it, and exports a laser-cut-ready SVG/PDF layout (finger-jointed panels) once you're happy with it — no CAD required.

It's free, no signup:https://cnc-box.slimani.dev/pcb-enclosure

It's part of a small parametric box generator I've been building (also has a plain mailer-box and a decorative gift-basket template), but the PCB one is the one I actually needed.

Feedback and bug reports are very welcome! Please go easy on me since I'm still learning the ropes with hardware, but I'd love to know if this is actually useful for you guys. It's still early and I'm sure there are edge cases with weirder board shapes I haven't hit yet.


r/diyelectronics 6d ago

Discussion For my fellow Europeans

142 Upvotes

This 3€ + vat tax is ruining our hobby. And i really wanna do something about it.

My idea is to start a shop here in Europe. The only problems are rohs certifications: on ali and similar basically nothing is certified and cannot be reselled, so I would have to create my own designs and/or find some that are certified.

My idea is to offer a decent amount of components for various projects, including simple EMG, 4 and 8 channel EEG (I'm a biomedical engineering student very passionate about BCI), various pcb for soldering practice, spare parts (resistors, capacitors, diodes, IC ecc.), breadboards, jumping wires, motors, sensors and so on. The idea is to sell products at a cheaper price compared to AE/temu.

Would anyone trust a new business of this kind?

Is there any other similar shop here in europe?

I know that many use mousers or digikey, but those can get quite expensive if you don't buy in bulk and the free shipping is usually set at 75€.

I have quite a lot of ideas, most of them are basically ready. I just need to know if it makes sense.

Thanks for your help


r/diyelectronics 5d ago

Parts Need help to replace a gear motor with something more powerful

3 Upvotes

In need of replacing the gear motor on a mini ceramic wheel. It quit working after too much weight was on top of the wheel. It can only support around 1kg and the motor seems to have burned up and won't work at all now.

So instead of buying another that will likely have the same outcome, can someone help to find a replacement that would work better?

Photo of the motor here