top | item 36647490

(no title)

nunuvit | 2 years ago

All you have to do is read the datasheet and multiply a few numbers to calculate worst-case power. Remembering to do that should be second nature, like remembering to close any parentheses you open. It's a great tool for understanding in greater detail, but it's not the way to avoid breaking stuff.

discuss

order

viraptor|2 years ago

"You won't make mistakes if you remember not to make mistakes" is nice in theory, but just not how people work in real world. Just like trivial syntax errors are very common while you're doing things. It's better to embrace the common human failures and have a second layer of protection.

nunuvit|2 years ago

I explained in my other comment how it's a great tool for other jobs, but the wrong tool for this job. You won't learn how not to break things by ignoring the proper tool.

serf|2 years ago

if I was to give a kid a breadboard and a bag of components I wouldn't want them to avoid breaking stuff; what I would want is for the child to be able to interpret the event and gain knowledge from the mistake.

This idea can shift the paradigm from "oh, the LED doesn't work", to "Oh, the LED doesn't work, the color around that rectifier area has shifted; why?" , and I think that can help to build intuition.

nunuvit|2 years ago

So teach them to check the power and the paint will help them realize when they forget to do so.

KANahas|2 years ago

> All you have to do is read the datasheet

Have you read many datasheets? Parsing a datasheet can be pretty complex, even if it’s well written (of which many are not). There’s quite a few figures spread across many sections, and a beginner might not even realize they should be looking for the absolute maximums section. Sometimes datasheets aren’t even that explicit about certain failure modes, you could lock up a logic chip by accidentally leaving a pin floating, for example.

I can certainly see some value in a breadboard with instant feedback for when you’ve fucked up. Ideally you’re using a power supply with an adjustable current limit to begin with but this is a cool way to quickly draw your attention to an issue.

nunuvit|2 years ago

It takes 5 minutes to show someone how to read maximum values off a datasheet, and it makes the visualization 100x more useful.

bb88|2 years ago

> All you have to do is read the datasheet and multiply a few numbers to calculate worst-case power.

True story: When I was in college the lab mate I had reversed unknowingly reversed power and ground on a chip on a breadboard. I turned off the circuit and reached for the chip and got a blister on my finger.

Maximum power is infinite in that case (well not infinite, but pretty damn high!) I don't recall seeing a data sheet on power consumption when power and ground is reversed...

No offense, but this comes across as "This was the way I was forced to learn it, and dang it everyone else should do the same." But my experience says, I wouldn't have got a blister on my finger if I had that.

mindslight|2 years ago

Current was flowing through the "body diode" which is intrinsic to the construction of ICs (it's normally reverse biased). The forward voltage was likely around 0.6v, maybe a little higher with a lot of current flowing through it. So roughly that times however many amps the power supply could supply with the resistance of the leads/rails. It doesn't actually take that much power to make a DIP package extremely hot though, lacking any sort of heat sink.

nunuvit|2 years ago

I can't edit the comment now, but I worded it wrong. The quote only applies to exceeding maximum values. The visualization is much more useful if you've calculated worst-case. I use a thermal camera all the time.