Top
Best
New

Posted by surprisetalk 3 days ago

The Secret Life of Circuits(blog.coredump.cx)
260 points | 67 comments
philsnow 5 hours ago|
A couple clicks through to older lcamtuf posts and I came across this in the "what is electricity" post:

> Once again, we don’t have a satisfying explanation why. We know that these quantum numbers correspond to standing-wave solutions of a three-dimensional wave function that we pulled out of thin air. We also know that the model works better than any alternatives. But we don’t know what any of it really means — or if it means anything.

It is so refreshing to see this explicated thus; physics textbooks are generally coy about "know this for now, and there will be deeper insights available later" but they typically never level with readers and say "we don't know".

dekhn 48 minutes ago||
lcamtuf is one of the smartest people I've ever seen. When you read his work you realize he's only sort of putting about 1% of his intelligence on the page.
analog31 5 hours ago||
Oddly enough, one of my upper level math textbooks (maybe real analysis, don't remember) said the same thing about the definition of a set, except that "later" meant graduate school.
tzs 6 hours ago||
I see some discussion of which books are good for people with various levels of electronics knowledge. I'd like to add one that I've never seen mentioned here: Agarwal and Lang's "Foundations of Analog and Digital Electronics".

This was the book used by MIT in 2007 for the first course in the EE and CS programs. It is that year's course that is on their Open Courseware platform [1], and the readings list there links to a full PDF of the book.

(Edit: click the book title on the readings page, not the "View e-book version" link. See my response to groos' comment below for details).

This is not a link to a pirated copy BTW. Agarwal is a pioneer in the open-education movement and the authors intentionally arranged for an open access PDF.

The lecture videos on Open Courseware are very good too.

[1] https://ocw.mit.edu/courses/6-002-circuits-and-electronics-s...

groos 6 hours ago|
The PDF no longer appears to be there or at least is well hidden.
tzs 5 hours ago||
Oh, I see the problem. You clicked the "View e-book version" link. That goes to the publisher's store. As far as I know they never had a PDF, just a special web version.

Click the book's title in the paragraph above that, where it says this:

> Agarwal, Anant, and Jeffrey H. Lang. Foundations of Analog and Digital Electronic Circuits. San Mateo, CA: Morgan Kaufmann Publishers, Elsevier, July 2005. ISBN: 9781558607354.

That takes you to a PDF.

Sorry for not being more specific. I didn't even notice the "View e-book version" as I only went to the site to remind myself of the name of the book, saw the title was a link, and clicked it. Then I thought "Why is MIT linking to a pirate copy of a book from one of their own professors?", and did a little Googling to get some backstory.

leoc 3 hours ago||
Also, "Readings" is hidden behind a "Menu" menu button on the mobile-device version of that page.
tzs 3 hours ago||
Geesh...it also behind a "Menu" button on desktop if the page is not wide enough.

Here is the PDF they link to: https://neurophysics.ucsd.edu/courses/physics_120/Agarwal%20...

leoc 3 hours ago||
Thanks. And the publisher's companion page with supplementary materials is https://shop.elsevier.com/books/book-companion/9781558607354 .
triilman 4 hours ago||
I am from software engineer background and how I learn Circuit is just watching the best 3 video from "Captive Aire" channel:

1. https://youtu.be/pDELW2pIvWw?si=BNsURdXrGLlaAfF3 (Digital Electronic)

2. https://youtu.be/RG3eljmqyq4?si=Pnbvf6P6HbFcIa1v (Alternating Current, Motors, & control)

3. https://youtu.be/nYuVSG89vg0?si=Oe3ZdJojS7T_iGxK (Electric Basic Made is Easy), and

the episode of "Nand to Tetris"

gadrev 9 hours ago||
If you're ordering from Europe, be sure to check if it's available in your local Amazon page first, I almost got slapped with like a 50% shipping/import charges because I went straight to the main link (the US amazon). The ones that have it are listed in the blog post.
Xiol 8 hours ago|
I find it crazy that Amazon haven't implemented a feature that will take you to the same product in your local store easily. I had the same issue and had to go find it manually.
mejutoco 5 hours ago||
one cool feature amazon implements is that if you change the .com for .es (and nothing else) for a product link it will do exactly that. I know it is not automatic but it works.
lejalv 2 hours ago||
Biggest distributor on Earth, can't make a link.
davb 4 hours ago||
This book looks like it’s targeted squarely at people like me!

I’ve been a software engineer for the last couple of decades and I’ve tinkered with microcontrollers as a hobby but always been limited by my lack of electronics knowledge - very much trial and error to get a project far enough to be able to focus on the firmware (which is more my domain). I want to bridge the knowledge gap there.

My only formal electronics education was first year introduction to analog and digital circuits module at university two decades ago, led by a lecturer who assumed students had a huge corpus of pre-existing knowledge (and who I now suspect would have preferred to be supervising his PhD students and conducting research but had to make up the teaching hours - which I do understand).

I will definitely pick up a copy. However, Amazon UK (to avoid the NoStarch UPS shipping cost of $24) won’t get it to me until November. I’m excited to receive it.

bithammerthunde 46 minutes ago||
Looks like a brilliant book. If you ever write another I think a "hands-on experiments" would be a great follow up
yu3zhou4 11 hours ago||
Michał Zalewski (the author of this book) is goated. His book Silence on the Wire was very inspiring to me and the techniques he described often come to my mind years after reading the book
hermitcrab 11 hours ago||
I like the 'certified clank free' logo. It that a standard thing now?
annex-winged-cr 5 hours ago|
The barrage of "X not Y" almost made me think that this was AI-generated. But I guess some people just talk like that.
jgeada 4 hours ago|||
Why do you think AI "talks" like that? It is pervasive in a lot oof the training material.

Most people writing scientific literature are not English majors nor even great communicators, their primary competencies are elsewhere. Expecting everyone to write literature is just odd & reductive.

Yes, it helps to be a good writer, but the primary objective for science papers is to convey information; that it is well written or enjoyable is a nice bonus but not essential.

TeMPOraL 4 hours ago||
I'd counter that AI usually writes way better than typical person, definitely way better than any commenters here (myself included).

What's jarring about AI content is seeing the mastery of English applied in mundane contexts, where people are used to see more basic, pedestrian language.

(That, and overuse of patterns, which is more of an artifact of how people use LLMs - specifically that 90%+ of the AI output you see is the first response to the prompt in a fresh session. For AI, each time is the first time it's using this pattern, for user it's the 10th time they saw it within the span of an hour.)

Sharlin 5 hours ago|||
I just read a Quanta article from 2015 and literally had to check the date after the third "X not Y" I encountered. But the models have learned that from somewhere, too.
ChuckMcM 3 days ago||
This is a much better introduction to circuits than most. You actually get a bit of depth rather than a cookbook of "do this to get that" sort of prose.
movsx 9 hours ago||
I respectfully disagree.

I'm not sure who exactly this book is for, but it's certainly not for absolute beginners. There is a huge delta between the target audience and the level of understanding and experience someone not knowing a first thing about electronics would typically have.

I can clearly remember sitting there reading about component parasitics, without even having a clear idea how an ideal component behaves, and so on. I was just lacking buckets of context, and it was a painful read with lots of assumptions about the reader's background.

On the other hand, I still think it is a great book, like pretty much everything else from NoStarch. I just disagree on it being suitable as a first book in electronics.

That said, I'm looking forward to the day when I will be on an adequate enough level to read it again -- this time, in its entirety.

dgellow 11 hours ago||
That’s also what I really like about “Practical Electronics for Inventors”, the authors explains the underlying physics for each component. Though the theory chapter can be heavy if you want to follow everything. “Secrets Life of Circuits” seems to be a bit more approachable
ExtremisAndy 10 hours ago||
I'm hoping you're right. I enthusiastically bought PEFI but found it to be way over my head. I'm eager to get SLOC because I'm hoping it can be sort of a bridge between my "MAKE: Electronics" book and PEFI.
dgellow 9 hours ago|||
PEFI/PE4I as a technical reference when you need details about a specific topic, SLOC as an overall introduction to give a good intuition, and M:E for more practical project tutorials, if that’s what we (hobbyists without any formal training) end up with that would be awesome :)

AlphaPhoenix YouTube channel is also a great source of information to clarify theoretical topics. I find it very helpful to just see how he think about electricity in his various projects: https://youtu.be/X_crwFuPht4. And his enthusiasm is contagious!

One personal note: as someone coming from software I find learning electronics pretty hard as it requires a completely different mental model and way to approach systems. Took me years of various failed attempts to finally internalize I have to stop relying on metaphors and shortcuts, and instead understand the actual physics at play to develop an intuition that makes sense. That looks daunting and I thought I would hate that part but in fact after pushing through the first weeks it becomes really satisfying! Accept things take time and that you will be uncomfortable for a while, and move at your own pace. And here LLMs are actually really helpful to clarify topics you’re not sure you understand fully, once you start to learn the terminology (I use instructions that makes it clear they shouldn’t solve things for me and instead evaluate my understanding)

dekhn 41 minutes ago|||
To me, transistors are the best example of how hard EE can be. I heard "transistor is a switch" or "transistor is an amplifier". So I bought some MOSFETs and tried to use them. No go. Well, I had to learn (through random web pages and some books) that microcontrollers struggle to switch mosfets. Fine. I'll get a gate driver. Then I have to very carefully pick a bunch of resistor values that make my system behave. Eventually, I learn that transistors aren't switches at all, but can be coerced into sort of behaving like switches, but in reality, there is always leakage and a hundred other variables you have to understasnd and control for. You can see one of my threads here: https://www.reddit.com/r/AskElectronics/comments/1omqn4d/con...
dgellow 34 minutes ago||
Yeah, I went through almost the same process :)

For transistors vs MOSFET I really liked https://youtu.be/DKYguNg1vmk as an overview

rramadass 8 hours ago||||
Also as a person who came to Embedded/Electronics from the Software side, i found the following incredibly useful to bridge the software-hardware gap using MCUs;

1) Introduction to Embedded Systems: Using Microcontrollers and the MSP430 by Manuel Jiménez, Rogelio Palomera, Isidoro Couvertier - https://link.springer.com/book/10.1007/978-1-4614-3143-5

This has more of a hardware interfacing slant than most books on embedded systems which is what a software person needs. Every topic is first introduced in a general way with lots of illustrations and then its application in MSP430 is shown. Hence we can easily transfer our understanding to any other MCU family. A really good textbook for serious students of embedded electronics.

skydhash 9 hours ago|||
> as someone coming from software I find learning electronics pretty hard as it requires a completely different mental model and way to approach systems

I went from electronics to software and one thing that has puzzled me is how much people dislike reading docs as in reference manuals. People can get by with sloppy code full of hidden bugs and when those bugs arise they’re like deers frozen by headlights.

Imagine building a circuit without any ideas how it operates. I’ve encountered web devs that don’t understand how http works.

throwaway219450 7 hours ago|||
I like Elicia White’s Making Embedded Systems because it covers a lot of practical stuff like how to read a datasheet. It’s a good book for existing programmers.

A lot of electronic books struggle to find balance between super easy projects, very specific cookbook recipes or a laundry list of components.

moiriad 11 hours ago|
Super looking forward to it. Got it on preorder in Europe! Will still be a bit of a waiting time.

Always enjoy reading the blog posts, and this seems like a great way to support work that gives me joy. Who knows, might start picking up actual electronics as side projects. Hardware work seems like such a great way to get code into the physical world.

More comments...