red_nuts

u/red_nuts


r/vscode•

When I compile C++, I can see errors, but not warnings.

-I have turned on the error squiggles. I see errors just fine.

-I have warnings turned on for the compiler. -Wall. 'make' on the command line shows warnings

-I have the build task set up to execute 'make all'. This shows me the errors in the problems window, but not the warnings.

I cannot find a relevant configuration, or anything else searching Google.

17


r/diyaudio•

I've designed and built a prototype of a mixer that takes the audio line out from two computers and plays it on one set of speakers. The power supply right now is a lab power supply, with a ground that I can disconnect so the output floats. The two inputs also connect the ground from each computer to the ground in the mixer. So, obviously, this is a ground loop, and when these grounds are connected, I get the expected hum.

I know that I absolutely must not disconnect the power supply ground. I can completely eliminate the ground loop hum if I disconnect the grounds from the two computer inputs. The mixer has its own ground through the power supply, and each computer has its own independent

24

I started a 36:12 schedule back in August and it's been fine. I really don't find it that difficult to do. Basically, I eat every other day, starting at lunchtime. So, either 3 or 4 days a week without eating at all.

Now I'm wondering if that's overdoing it. I've gone from 180 to 160 pounds, and I'm 5'8". So I'm at a pretty good weight right now. It would have been more, but I love to cook.

So, is this overdoing it?

23

r/AskElectronics•

I'm designing a power supply for an amplifier that I'm working on. I'm aware that when building circuits that are connected to mains voltage, some things need to be considered. I know there has to be a fuse on the hot side of the circuit for example, and I should not be tying the neutral line to the ground. I know that if I'm using a capacitor anywhere on the mains side of the transformer, it has to be a class X or Y as appropriate. I don't have any of those, but I am aware of that. I'm also building a circuit to deal with inrush current limiting.

So I have two questions. What am I missing, and does anybody know of a resource or a book that is particularly instructional in the practical con

523

r/AskElectronics•

I'm designing an audio amplifier because I want to learn the details of how they work and how to work with BJT's in general. The amplifier design is all BJT, and contains no coupling capacitors whatsoever internally.

​

I'm considering the problem of what happens when an input signal has significant DC bias, and how to deal with that. Of course, I could use a coupling capacitor on the input, but other than that I'm thinking about other solutions.

​

One solution I have found is to use an integrator in the negative feedback system, which can compensate for some bias. In my simulations, I can deal with up to 200 millivolts of DC bias in the input signal, and still produ

1215

About 20 years ago, I was a programmer for a company which provided contract services to other companies. So, I'd get a gig, work it for a few months, then the salesman would find me another gig.

My previous contract had been fulfilled, and I was on the bench waiting for another gig along with an unusually large number of my colleagues. The salesmen (I use that term because at that company they were all men) were frantic, trying to make all of the benched employees profitable again.

A salesman (Jim) came to me and said "I have an interview for you at (big credit card company in Phoenix) next week". I told him that I had a planned vacation.

Jim almost had a stroke. "Why didn't you tell me

70110

I just accidentally discovered that if I take a single layer of toilet paper and lay it where I want to stretch, I can get an absolutely perfect grip on my skin even when it's very oily. I won't have to wash with soap multiple times a day anymore, so I'm pretty excited about this.

Try it and tell me how well it works for you.

74

r/AskElectronics•

I've been doing research and simulation for my next project, which will be a little 10 or 20 watt per channel BJT transistor stereo amp for my daughter. As I've been reading, I've gotten the impression that the most popular way to arrange a class AB push-pull output stage these days is with complimentary NPN/PNP transistors. But, in the days of tubes, since tubes come in only one variety/polarity they used to use phase splitters.

I've designed a phase splitter around a 2N2222, though any small signal transistor would work the same, and simulated it in LTSpice. The output signals look really good, mirror images. Phase splitters can work really well if properly designed, at least in simulator

311


r/AskElectronics•

For my geiger counter project, I've constructed a 400V power supply that uses a Cockcroft-Walton multiplier. It works very well, but I am detecting a lot of RF noise coming from it.

I'm using exactly the circuit shown below in this image from Wikipedia:

https://upload.wikimedia.org/wikipedia/commons/7/7b/Cockcroft_Walton_voltage_multiplier_circuit.svg

Driving this circuit is a little step-up transformer which is switched from 10 volts by a transistor at 30Khz.

Using a little piece of wire on my oscilloscope probe, I have determined that the biggest source of RF noise is capacitor C1 and C3. Capacitors C2 and C4 are actually very quiet in comparison. When I put the wire next to C1, it gen

78

r/newIBM•

IBM appears to be consolidating around certain geographical centers in the US. Some people on my team have been asked to move from all across the country, so that our security related team can all be in Atlanta. Of course, some of us are worried that we'll be losing those people who don't want to move. Is this something happening company wide?

1313

r/AskElectronics•

I use a Pickit3 programmer with a ZIF attachment instead of the in circuit programming cable provided. After blowing up two 16F88's within 5 minutes, I tried unplugging the USB cable from the Pickit3 every time I placed or removed the PIC I was programming. My thought was that removing the chip while having power supplied to the chip (even when the programmer wasn't active) was killing my chips. Nothing bad has happened since.

Is this a normal procedure? Is there any other way of killing power to my chip?

29

r/AskElectronics•

I'm trying to understand what the recovery time of a diode means for the highest frequency it can rectify. I've been experimenting with a 1N4007 diode, which is not a high speed diode. It has a reverse recovery time of 2 microseconds, which implies an upper limit of 500KHz for the frequency of AC that it could rectify. However, I have seen some recommendations to limit the 1N4007 to a frequency of 1KHz or less, with anything higher than that increasing inefficiency in rectification. In my experiments up to about 40KHz, the 1N4007 doesn't show any sign of rectification failure, but maybe I just don't know what to look for. Is there a formal way to calculate what frequency a diode can rectify

25