23 points surprisetalk 2 days ago 7 comments

dead_hn_theory 1 hour ago | parent

I still have no idea who this book is for.

unsnap_biceps 41 minutes ago | parent

Reading the sample chapter at https://nostarch.com/download/samples/secret-life-of-circuit... makes me think this would be a good gift to a 10+ year old who is interested in learning about electronics.

gotfork 5 minutes ago | parent

That was my thinking, giving a copy to my niece and nephew this weekend.

pmg 18 minutes ago | parent

It’s like a non-calculus based astronomy course. Sometimes you just want to learn about the thing directly without spending two semesters learning the mathematical machinery first.

The content is pretty good but I think they missed the target audience pretty badly with that title and cover. Something like “Applied Circuits: A Practical Guide to How Circuits Really Work” with a cover in the style of the circuit diagrams[1] would make me more interested.

[1] https://nostarch.com/download/samples/secret-life-of-circuit...

tejtm 47 minutes ago | parent

I got as far as the eratta

seventytwo 19 minutes ago | parent

Love it

cantrevealname 6 minutes ago | parent

I've been browsing his free sample chapter on basic electromechanical devices[1], and I must say that it is incredibly well written. Take a look at his explanation of switch bounce:

If you pry open a typical switch, you’ll probably find that its internals are quite complex. Inside, there might be a small spring-loaded roller that travels over a tiny hump or an intricately shaped metal leaf that “pops” when pressed firmly enough. The purpose of these mechanisms is to keep the switch firmly in place until sufficient force is applied, at which point it snaps immediately into the new position. This nonlinear behavior provides satisfying tactile feedback, reduces sensitivity to vibration and other accidental inputs, and prevents the switch from resting in any state other than “fully off” or “fully on.” The flip side of this approach is that once the mechanism gives in, things happen quickly: The contacts are pulled apart or slammed together at a considerable speed. Because metal is elastic, this motion produces some vibration that manifests as electrical glitches lasting from tens of microseconds to a few milliseconds. The effect is known as switch bounce.

I know about switch bounce but I've never seen it explained so clearly. Usually electronics books will say "mechanical switches will bounce before settling" and will then describe a circuit or algorithm to deal with it. What's always missing is a plain English discussion of the why and how.

[1] https://lcamtuf.coredump.cx/electronics/preview