discuss.tchncs.de

FlanFlinger, to askelectronics in Radial resistors... has anybody seen these before?
@FlanFlinger@lemmy.ml avatar

I’ve had to buy some in the past for railway equipment, probably more 50’s/60’s than 70’s and 80’s

pneumapunk, to askelectronics 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?

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

Not entirely sure, but maybe these help you somehow:

The relay has a coil which requires 0.35W. The chip seems to have a maximum output current of 35mA.

The ‚switch on current‘ of an inductive load is usually 3 to 5 times higher than the ‚hold‘ current.

The valve may not have a free-wheeling-diode. This could create an issue by creating strange voltage spikes on all your supply voltages (connected by GND).

Max_P,
@Max_P@lemmy.max-p.me avatar

Yeah, decoupling cap here might as well just help OP fry the chip more effectively by ensuring it can sink all that current.

Solution here is probably a transistor/MOSFET that the chip turns on, which in turn turns on the relay. Relay coils are inductors, so that probably also needs a diode to protect the transistor from inrush current and also the kickback when it turns off: inductors resist changes, so it’ll try to keep sinking the current and result in temporary spike of very high voltage: spinningnumbers.org/a/inductor-kickback.html

ryanomite,

Thanks so much! It turns out that the relay (8x) module I’m using - https://www.amazon.com/gp/product/B00LX3UH9C - has isolated relays… but I’ll try a diode, too.

Link9454, to askelectronics in Non-Inverting LM358 Circuit Not Working

I recommend EEVBlog’s OpAmp tutorial. His explanation is pretty simple to understand. Basically there are two rules (note these rules are ideal, but the exceptions can usually be ignored):

  1. No current flows into the inverting and non-inverting inputs.
  2. For negative and positive feedback circuits, the OpAmp wants to keep the inputs the same by changing its output, and will sink power to its positive or negative power rails to achieve this.
dack, to askelectronics in How could a DC oscillator produce AC after a capacitor?

The oscillator is creating both DC and AC. The DC component is the average value of the signal. In the case of your 0-10v square wave, that is 5v. The AC compnent is the part of the signal that changes. The effect of the capacitor is to block the DC component, leaving only the AC component. The waveform is shifted vertically to be centered around 0v.

Nuuskis, to electronics in Finally over

With this pace your future will be brighter than sun!

sweafa, to askelectronics in How to remove press fit connectors

pressfit connections usually are very reliable. if there is a poor connection i would presume that the barrel of the via is broken and a new pressfit connector will not help. maybe putting solder in would help. did you already test for poor connections?

plasticmanufacturing, (edited )

Barrel of the via? I’m unfamiliar with that terminology – what is that? I did a continuity check from the very bottom to the very top and everything tested good. When the audio is out, twisting the header a bit would usually bring it back so I assume(d) it was just a poor connection somewhere despite the continuity check.

EDIT: Okay, some quick Googling got me understanding this better. As I mentioned, continuity is good, but I still suspect it’s something in this area. I suppose I could remove the connectors and install solder connectors, instead of press fit?

sweafa,

yes i think so, but u would have to make sure the solder will rise through the through-hole as mich as possible. maybe u can try to find the faulty pin with wiggling them separately

Susan_B_Good, to askelectronics in How could a DC oscillator produce AC after a capacitor?

The standard way of looking at this is to consider a capacitor-resistor series combination going to ground. Connect a 10v (wrt ground) supply to the capacitor and the voltage across the resistor rises to +10v, then decays. Now connect that capacitor to ground and that same resistor gets -10v across it, which then decays. Whatever is connected to the capacitor “top” terminal has to be able to sink current as well as source it.

That’s what generators in simulators do - they have zero internal impedance (usually). They sink currents as well as source them.

PCChipsM922U, to askelectronics in How could a DC oscillator produce AC after a capacitor?
@PCChipsM922U@sh.itjust.works avatar

That’s why they call it a decoupling capacitor, cuz you usually just need AC (signal) at the out of a circuit, you don’t need the DC part of the signal.

Krististrasza, to askelectronics in How could a DC oscillator produce AC after a capacitor?

That’s why the call it a DC-blocking capacitor.

FearlessPhoenix, to askelectronics in How could a DC oscillator produce AC after a capacitor?

True AC is sort of “balanced” in that it has just as much positive as negative. The positive area of the waveform is the same size as the negative area. For waveforms that are sort of symmetric across the 0V with a time offset, such as a sine or square wave, this means that it is centered along the 0V line. A DC source, on the other hand, never changes voltage.

The 0V to +10V source you have is actually a -5V to +5V square AC plus a +5V DC. The capacitor is getting rid of the DC component leaving just the AC, which happens to be the -5V to +5V AC that you are getting.

grasib, to askelectronics in How could a DC oscillator produce AC after a capacitor?

In my opinion an oscillator always produces an AC sine wave. There is usually no need for a DC overlapped oscillator signal. The DC supply of an oscillator produces a AC sine wave relative to GND.

Where exactly did you measure a DC sine wave, relative to what, and what do you mean by “AC removes a DC component”?

Susan_B_Good, to askelectronics in How to remove press fit connectors

Switch cleaner?? I use RS “own brand”.

plasticmanufacturing,

Do you have a specific link? Is it aerosol (that’s what I’m finding)?

Susan_B_Good,

I think that it is the same stuff, just will propellant added in the aerosol. A small squeezy bottle with a needle is better if you have live stuff nearby - but you can always fill one from an aerosol

andreyk0, to askelectronics in How to remove press fit connectors

I’d try deoxit first. If that fails, one pin at a time is a lot of work but doable

plasticmanufacturing,

Do I just individually put a drop of that in each through hole basically? No cleanup, just let it rest in the hole?

abff08f4813c, to RedditMigration in I just had my 14th cake day the other week

Welcome aboard and thank you for your service!

FYI see also https://kbin.social/m/RedditMigration/t/65260/PSA-Here-s-exactly-what-to-do-if-you-hit-the (no worries if you're cool with it, but just wanted to make sure you understood the limitations of PDS and weren't surprised by posts or comments remaining after PDS claimed to wipe everything out)

tias,

Go figure. After three days of my profile being completely empty, there are suddenly at least 30 pages of submissions that have returned.

abff08f4813c,

Even after you manually wiped using the links in your archive? If you just used PDS though it might be that reddit did some reindexing to make older stuff show up again, or a sub or a few going unprivate.

tias,

Nah it’s 13K comments, I can’t wipe them all manually. It could be as you say that PDS doesn’t see comments in private subs. In that case I’ll need to find something that lets me feed it all the links.

abff08f4813c,

Ah, recommend trying out https://github.com/andrewbanchich/shreddit - that one you can feed your archive and it will figure out the links on its own

tias,

Thanks. There’s been a lot of talk lately about comments not being properly deleted or Reddit restoring them after deletion. But I figure I can just run PDS multiple times over the next couple of weeks to get the ones that it didn’t catch on the first run. In any case, the “comments” section in my profile comes up empty right now.

I did do a full export through the request form on Reddit before going through with this. I had a total of 13K comments to wipe.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #