askelectronics

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

Saigonauticon, in Reuse cellphone battery for robotics

Well, for #2, there are excellent modules based on the TP4056 that cost 1$. They charge lithium-ion batteries only. So check the label (yes, I know it clearly says Li-ion but don't trust strangers on the internet for safety facing stuff...), if it says Li-ion, then these are great.

For #1, probably one of those fat traces in the flexible cable is BAT+ and the other is BAT-. I would look for a way to safely remove the plastic coating in such a way that I can't accidentally short circuit it. For example, exposing the copper for BAT+ on one side, and BAT- on the other.

Rolive, (edited ) in Shift register > Relays - inconsistent results when load is attached to relay

Seems your linked website as a very believable conclusion attached to it. I have a similar issue where the relay module would behave erratically. In my case it was when the relay module/595 chips received power before the Arduino was fully powered up. It’s unlikely that a load affects your relay module as they should never be connected to the main circuit.

I guess something like a pulldown resistor on the SER, CLK and RCLK pins would solve the issue since that would kill any noise. The noise is probably the kind of voltage that BARELY registers as HIGH but highly random.

That or making the relay module only turn on after the microcontroller has finished starting up using a mosfet or something.

wheresbicki, in Connecting several tracks to the same pad

Why not just connect all the resistors together with one straight trace, and put on trace between that and the cap. They’ll save copper and make the board cheaper.

aabizri,

I know of no PCB fab house that prices production on how much copper is etched out of the foil (even though they recycle the dissolved copper afterwards). On the contrary, i usually got the advice of leaving as much copper on the board as I could, as it makes their life easier (and balancing becomes very easy).

Kratzkopf,

Would they really? I made only one PCB so far, but there your price was independent of design. I also don’t think they save a significant amount of copper either way. Would they notice at all? When you etch away the copper from your PCB you would need to measure how much copper your etchant took in and I would imagine that’s not worth the effort. Feel free to correct me if I’m wrong though.

pneumapunk, in Shift register > Relays - inconsistent results when load is attached to relay

That’s interesting, so you can flip the relays all you like without trouble as long as the 24DC supply isn’t connected? If that’s true then your problem presumably isn’t the typical inductive kick from the relay coil. It looks like your relay board has stuff on it which is presumably drivers and snubbers so let’s assume all of that is adequate to the job.

So, if it’s inductive kick from the valve solenoid it’s being coupled all the way from there, back through the 24DC supply to the outlet, then forward through the USB supply to your shift register, which is impressive! But not implausible.

Anyway, three places I’d add some stuff:

  • The main thing you need is a snubber network across the valve solenoid coil itself, ideally physically close to the valve (you want to minimize the area of the loop formed by the valve coil - wiring - snubber). Something as simple as a freewheel/clamping diode would probably help a lot. This will also improve the lifespan of your relay contacts which are probably arcing a little.
  • Small decoupling cap on your breadboard, say 0.1µF on the power supply rails, to keep your logic happy.
  • Larger decoupling cap on your 24VDC rails (the bus on the left), just to eat any transients the snubber doesn’t deal with. Maybe 1-10µF or so?
ryanomite,

Thanks for your thoughtful response… and sorry it took so long to get back to you. I tried different combinations of capacitors, a diode on the load lines, etc… nothing worked. And then I put a 0.1uF capacitor directly between the power leads on the valve itself… and everything started working fine. Admittedly, I’m not 100% sure why… but I won’t complain :)

pneumapunk,

That makes sense, it forms a simple snubber network. A capacitor in series with a low-value resistor might work even better. Did you try a freewheeling diode directly across the valve leads?

nothacking, in Not Electronics related: Banner and logo of this community?

We could use a macro-photograph of an electronic component again.

aabizri, in Connecting several tracks to the same pad

If it’s for a digital or power-electronics design, you might want to bypass that question entirely and put in a plane/copper pour/copper fill (all synonyms) that encompasses all these pads.

This helps with power dissipation and lowers resistance though has parasitic inductance and capacitance ramifications. It depends on what goes through that net !

On the other hand if this is analog, high frequency, rf or mixed-signal, I would suggest looking at what kind of requirements you have for that net mathematically. You can find the parasitic inductance and capacitance equations (approximations) online quite easily.

velourium_camper, in Help finding value of burnt resistor.
@velourium_camper@lemmy.world avatar

According to this, 1GΩ ±5%

Saigonauticon,

That looks correct to me, by the color codes...

...but how in the world do you burn a 1 GΩ resistor? That looks sort of like it could be a 1 watt resistor too. So back-of-the-napkin this would have to be from over a 30kV supply. So that sounds a bit off.

Unless it isn't. One hell of a bread maker then. I want one.

pneumapunk,

Only thing I can think of, maybe it’s a bleeder resistor for that cap, and it failed by some kind of internal short which reduced its resistance (and increased its heat dissipation hence the blackened board)? But fails-short is an unusual failure mode for a resistor and 1 GΩ is pretty high even for a bleeder, so maybe we’re misreading something.

rstein,

It got really hot and the colours changed.

pneumapunk,

Yeah, I think you’re right.

Saigonauticon, in Help finding value of burnt resistor.

It looks like 1GΩ (black-brown-white gold). But that doesn't sound likely unless you have a very high voltage bread maker.

If we treat the black band as discolored-brown, and read it the other way, we get (yellow - white - brown - brown) which is 490Ω and closer to your measured value. I wouldn't rule out (yellow - white red - brown) either at 4.9 kΩ, although that doesn't match closely to your measurement.

A good question is 'why did the resistor burn?'. If I didn't know why, then I would assume that replacing it will just result in it burning again, although maybe not immediately.

rouqee,

Isn’t it safer/better to start by replacing and testing with a higher resistor? Or is my thinking too simple?

Saigonauticon,

Well, arguably keeping the resistor the same value would result in a somewhat known state, and changing it would put it in an unknown state. The unknown state could be better or worse. I can't see enough to know what the circuit does to say.

What you could do instead, is set the resistor to the same value, but rated for higher thermal dissipation. Then measure how hot it gets to identify if the real problem is somewhere else. Another part might burn/explode instead though, so I'd consider carefully how to proceed, and probably wear goggles + have a fire extinguisher in the room.

My main concern is by 'fixing' it with a resistor with higher thermal dissipation, I've created a fire hazard because that dissipated heat now has to 'go somewhere', which may be the plastic case. A thermal camera is handy to see if some part of the board gets unacceptably hot during normal operation.

rouqee,

Thank you for the detailed insight! I miss some basics in electronics but am eager to learn how to test and fix circuits.

Years ago I tried to repair an old keyboard/synthesizer by cleaning it and replacing leaked/bloated capacitors. Unfortunately the onboard sound memory could not be loaded anymore or was wiped entirely as far as I understood. But due to lack of knowledge (me and community that time) it was too complex to got the keyboard up and running again. It’s sometimes sad to loose good hardware…

Back to the resistor/thread: I can’t imagine a resistor to be the source of the problem. Isn’t it more possible that a capacitor wears out or a transistor cooling fails?

Saigonauticon,

Those things are indeed more common!

However, if the circuit was in an abnormal state (e.g. the contact with the case), then a resistor could very well blow. It would not be surprising if it took some other components down with it, and that this damage is not obvious yet. “The transistor blows to protect the fuse” is a common fail-state, facetiously stated.

Another possibility is just… bad design. You could call me adequate at circuit design (I mostly design prototypes, not finished systems that have to last thousands of hours), but regularly see commercial products designed poorly with some stupid point of failure. For example, using a 1 watt resistor that is dissipating close to 1 watt, instead of designing a more efficient system that doesn’t require dissipating heat at all.

I spend a lot of time answering questions for people just getting started. Probably 75% of them boil down to a few things. Here is that list in case amusing / useful:

  1. Relays are not a great solution in general, and there are many better alternatives (MOSFET, SSR, etc).
  2. Output impedance matters: you can’t power a huge motor off a microcontroller pin.
  3. Back-EMF from inductive loads can burn out your control system unless you add a protection diode.
  4. Lead acid batteries aren’t a magic solution to power everything. Especially automotive ones. Understand and use lithium ion.
  5. Connecting LEDs in parallel then adding a single resistor will lead to failure pretty quickly.
  6. Generally, don’t pass significant power through a switch. Use the switch to control the state of a power MOSFET or similar.
  7. Button debouncing.

Most of the rest is refusing to do other people’s homework, help people build weapons, or do unwise things with mains power / high voltage / centrifuges. Occasionally people ask me really interesting questions though, so I don’t mind that the interactions are a bit scripted the rest of the time! I’ve noticed on Lemmy I’ve gotten much more interesting questions so far!

WaltzingKea,

The case is basically fully metal, just a bit of plastic inside for mounting the PCB to and a few other bits of plastic outside. Plus there is a temperature fuse in the case also.

From the resistor size (11.5 x 4.5mm) I think it would have been a 2W resistor when comparing to sizes on Digikey. I made a 500 Ohm 2W resistor from 8 1/4W 1K resistors then put a larger resistor in parallel to that to bring it down, measured it to 489 Ohms.

I’m going to run it a few times then open it up again to see if there is any new damage to the board before returning it.

Saigonauticon,

Sounds like science! Let us know what happens.

WaltzingKea,

Four loafs of bread later with no issues, opened it up and everything looks fine :)

Saigonauticon,

Excellent news!

The science gets done, and we bake a fresh bun, for the people who are still alive!

WaltzingKea,
WaltzingKea,

Thanks! I’ll try replacing it with a 490 ohm resistor and see if it works again.

The element in the bread maker looks like it came loose a bit and made slight contact with the internal metal housing. I wonder if that caused the resistive element to sink more current than the PCB was designed for, burning out the resistor.

zik,

You’ll need a fairly high wattage resistor. That one looks like maybe 1W but it might be more.

Saigonauticon,

That sounds like a possible fail state. Also shitty design. It should use a resettable thermal fuse or something to detect faults without parts burning.

Consider maybe adding a fuse to the design?

Forced_Dspic, in Connecting several tracks to the same pad

As other have mentioned, what you got is fine for most basic applications. If you use a polygon pour you can decrease the resistance of the trace and consolidate it all into one large trace. I also see you using traces for ground, the general rule is if you have the room, make all the unused space on at least one of your layers ground with a polygon pour. This makes connecting ground easier, makes your ground more reliable (decreased resistance) and makes your board less susceptible to external noise

breadsmasher, in Struggling to find a PCIe USB controller IC. Either unavailable or expensive
@breadsmasher@lemmy.world avatar

The ASMedia one you have linked is x2 anyway.

https://i.imgur.com/aGWlkmR.jpg

marcosscriven,

Sorry, wrong link www.asmedia.com.tw/product/…/f32YQ14SmApn1wNA

I’ve updated the original post. In any case, the question still stands - would at least like to find more available options, and understand why the ASMedia ones aren’t available.

collegefurtrader, in Struggling to find a PCIe USB controller IC. Either unavailable or expensive

How many do you need

marcosscriven,

Sorry, I should have said, just one or two. But even if just one, I need the datasheet.

sweafa, in Making a USB desk fan from spare CPU fan

usually fans have a min start voltage. u can try if your fan starts at 5v and if the resulting RPM is ok for you, just solder it without any resistor on USB

Devils69Advocate,

I actually tried that and it moved a little, then stopped.

sweafa,

ah well, then it doesn’t work proper with 5v unfortunately

JakenVeina, in Help finding value of burnt resistor.

You measured the resistor at 403 Ohms? That would qualify it as “not failed” then. Resistors pretty much exclusively fail open, or on rare occasions, out-of-tolerance on the high side. After 5 years of doing electronics diagnostics for USAF aircraft, I never say any other type of resistor failures.

boothin, in What kind of connector is this?
FrankOcean,

thats the one!

Susan_B_Good, in Help finding value of burnt resistor.

I’m old school. I’d reverse engineer that part of the board, work out what the resistor was doing and then choose a value, much as the original designer did.

From that small section of the board - I’d guess that it is a resistor in the CR voltage dropper, used to power the electronics.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • askelectronics@discuss.tchncs.de
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #