Most Popular
1500 questions
51
votes
8 answers
How can I tell charge-only USB cables from USB data cables?
Like most computer hobbyists and programmers, I've amassed boxes of USB cables to connect USB, Micro-USB, and Mini-USB to chargers, computers, and gadgets. These cables are a mix of phone charger cables, and cables that came with external hard…
Benzo
- 613
- 1
- 5
- 5
51
votes
9 answers
Is a current-limiting resistor required for LEDs if the forward voltage and supply voltage are equal?
For blue LEDs with a forward voltage of 3.3 V and supply voltage of 3.3 V, is a series resistor still needed to limit current?
Ohm's Law in this case says 0 Ω, but is this correct in practice?
Perhaps just a small value like 1 or 10 Ω just to be…
Craig
- 1,596
- 2
- 16
- 21
51
votes
3 answers
When a battery is your power source, what is ground?
For the sake of not incorrectly connecting my power supply and damaging my board I'm going to ask a relatively dumb question. Is ground on my board the negative terminal on my battery? Explicitly should I connect the ground to the negative terminal…
QueueHammer
- 739
- 1
- 6
- 10
50
votes
11 answers
How do I improve a simple home-made capacitor?
I was explaining to my son that a capacitor is simply 2 sheets of foil separated by a dielectric and rolled up and he said, "can we make one then?"
I'm giving it a go. I used household aluminum foil and some parchment paper. I cut the foil into…
nuggethead
- 1,139
- 7
- 17
50
votes
7 answers
What should a contract Electrical Engineer deliver once a project is complete?
I'm getting ready to hire an electrical engineer for a small contract job - creating a prototype. What I'd like to know is, what should I have him deliver to me when the project is complete?
I imagine schematics, the prototype, parts list would be…
Adam
- 253
- 4
- 5
50
votes
5 answers
Why is the voltage measurement of this circuit different when the switch is on?
I built a simple circuit with two lamps and a slide switch powered by two 1.5 V batteries. When the slide switch is off, the voltage of the circuit measured by a multimeter is 3.15 V:
However, when the slide switch is on, and the lamps are lit, the…
korppu73
- 731
- 6
- 8
50
votes
7 answers
230V AC to 5V DC converter, lossless
Is there any IC which converts 230V AC to 5V DC? As lossless as possible. I want to connect my microcontroller to an ordinary electrical socket and I don't have enough space available. Thanks.
arminb
- 1,622
- 4
- 21
- 35
50
votes
10 answers
Why hasn't my LED burned out by now?
I have a 15 year old ReplayTV DVR. I got it used, I'm not sure when, but probably about a decade ago. It's turned on almost all the time, and it has a blue power LED on the front.
The LED FAQ says that many LEDs have a rated lifetime of 50,000…
Barmar
- 697
- 1
- 5
- 8
50
votes
4 answers
Why does hot plugging blow stuff up, and how to prevent it?
I made the very stupid mistake of hot plugging stuff many times before. My problem is that I rushed and it's just so easy for me to forget I have the Arduino on or some other expensive IC or hardware plugged in.
Today I hotplugged the PWM input of…
Ageis
- 3,353
- 14
- 45
- 67
50
votes
4 answers
Loud pop noise while plugging to a headphones jack
I have a Panasonic RX-ES29 boombox with a type C plug (ungrounded). I sometimes hear a relatively loud snap/pop sound in the right speaker of my headphones while I completely plug them into the headphones jack of the boombox when it's on. There's a…
Sepp A
- 563
- 1
- 4
- 6
50
votes
5 answers
Why don't microcontrollers generally have on-chip DACs?
In this answer I read that microcontrollers usually don't have DACs, while they do have ADC. Why is that?
edit
I appreciate that integrating resistors like in an R-2R DAC is expensive in terms of real-estate (thanks Mike, for your answer), but I…
Federico Russo
- 9,688
- 17
- 69
- 119
50
votes
5 answers
Why do 1 pF capacitors exist?
What kind of uses do engineers find for 1 pF or lower-value capacitors?
This is the kind of value one gets with two bits of wire close to each other or two tracks.
Dirk Bruere
- 13,723
- 9
- 54
- 115
50
votes
2 answers
STM32 Understanding GPIO Settings
In STM32 Standard Peripheral library, we need to configure the GPIO.
But there are 3 functions which I not sure how to configure them;
GPIO_InitStructure.GPIO_Speed
GPIO_InitStructure.GPIO_OType
GPIO_InitStructure.GPIO_PuPd
In the GPIO_Speed,…
Tim
- 919
- 2
- 13
- 18
50
votes
5 answers
Why aren't decoupling caps built into the IC or IC package?
The title is probably good enough, but I've always wondered why decoupling caps aren't built into the chip or at least the IC packaging?
kenny
- 955
- 10
- 14
50
votes
5 answers
How can a CPU deliver more than one instruction per cycle?
Wikipedia's Instructions per second page says that an i7 3630QM deliver ~110,000 MIPS at a frequency of 3.2 GHz; it would be (110/3.2 instructions) / 4 core = ~8.6 instructions per cycle per core?!
How can a single core deliver more than one…
davide
- 603
- 1
- 5
- 5