News for hackers. Stuff that matters.
Re:Voltage, Amps, Resistance and LEDs by carapace on Saturday June 19, 2021 @10:15AM (#27560610)
This is almost physically painful to read.

Before I rant off, let me link to a good resource for learning about electricity: http://amasci.com/miscon/whatis.html -or- http://amasci.com/miscon/elect.html

First, don't buy electronics from Amazon (or anything from Amazon really) buy from a reputable source like Digikey or Mouser.

Second, please don't try to explain electricity if you don't know what you're talking about. There are enough misconceptions about electricity (see amasci links above) without adding more noise and half-baked understanding.

Re:Voltage, Amps, Resistance and LEDs by amichal on Saturday June 19, 2021 @01:11PM (#27562269)
I tried to read your links above. The first spends over 80% of the article telling everyone how stupid they are and then presents 5 different definitions of "electricity" and then ANOTHER rant about how they are all wrong and finally a list of other articles about various related concepts. If I were a trained EE I would be turned off by the unnecessary ranting. As a grade school level hobbyist I have learned nothing that will help me connect some batteries and LEDs in a useful way.

Same thing for Digikey and Mouser. I've tried to use them to buy a educational kit, set of parts for screwing around with on my desk. Can't figure it out. Here is what i get looking for "kits" at digikey (https://www.digikey.com/en/products/filter/miscellaneous/657).

Amazon has sadly replaced Radio Shack in this space. I have half a dozen FUN kits on my shelf I ordered there from a coin cell battery "toothbrush" robot up to one with bluetooth, USB, ultrasonic, "AI" cameras and all the other fun bit. I even have a SMD solder practice board that cost me 5 dollars and after stressing like mad that I needed to buy some special solder, flux, iron etc I decided I'd give me old butane powered iron and the "High-tech Silver-bearing" solid I got 20 years ago from RS a try and use my cellphone as a microscope. Works fine. 49 of 50 0603 resistors tested fine on the first try.

It's tempting for folks with lots of experience and understanding to look down on beginners or fear they will miss some deep understanding if they learn the wrong metaphors or tools early on. Its fine, my daughter at age 5 thought variables where 'bags' that could hold numbers or letters (some of them only worked with one thing or the other). It doesn't describe the memory model of a modern computer correctly at all but it works well enough that she can write some games for herself a few years later. If she continues to have an interest she can go read "data sheets".

Re:Voltage, Amps, Resistance and LEDs by tyingq on Saturday June 19, 2021 @11:21AM (#27561250)
The US Navy's "NEETS" material is pretty good as well.

http://www.compatt.com/Tutorials/NEETS/NEETS.html

Re:Voltage, Amps, Resistance and LEDs by croo on Saturday June 19, 2021 @01:50PM (#27562627)
Best resource I found so far on the subject is the allaboutcircuits webpage: https://www.allaboutcircuits.com/textbook/direct-current/
Re:Voltage, Amps, Resistance and LEDs by CapitalistCartr on Saturday June 19, 2021 @01:51PM (#27562635)
I do this professionally, and his description is exactly how we do it, except I have a $400 Fluke meter. A bit of testing and basic arithmetic, some searching on Amazon, and I have some LEDs and resistors next day. Because 64 volt electronics are hard to come by.
Re:Voltage, Amps, Resistance and LEDs by omreaderhn on Saturday June 19, 2021 @10:36AM (#27560755)
I'm a software engineer that dabbles in electronics. I have been looking for explanations like that for about 20 years.
Re:Voltage, Amps, Resistance and LEDs by sobriquet9 on Saturday June 19, 2021 @12:01PM (#27561643)
Writing an article about a subject that you are studying and getting other people to point out the mistakes is actually a pretty good way to learn.
Re:Voltage, Amps, Resistance and LEDs by guenthert on Saturday June 19, 2021 @12:57PM (#27562155)
But does it have to be on the Internet for all to see?
Re:Voltage, Amps, Resistance and LEDs by sobriquet9 on Saturday June 19, 2021 @01:00PM (#27562177)
How else can you get other people to comment on it, if they can't see it?

Once you fix the mistakes, what's wrong with leaving it up?

Re:Voltage, Amps, Resistance and LEDs by Atrix256 on Saturday June 19, 2021 @02:49PM (#27563217)
Plus notice no mistakes were called out. It was just "don't buy parts from amazon".
Re:Voltage, Amps, Resistance and LEDs by guenthert on Sunday June 20, 2021 @11:53AM (#27571268)
Is only the public Internet remaining as a medium of communication with your peers?
Re:Voltage, Amps, Resistance and LEDs by sobriquet9 on Monday June 21, 2021 @12:21PM (#27580688)
Of course not. One can use carrier pigeons instead.
Re:Voltage, Amps, Resistance and LEDs by EricE on Saturday June 19, 2021 @01:43PM (#27562567)
I see - the author stood behind you and forced you to not only click on the article, but this hacker news thread and also forced you to comment too. Yes, that is horrible!
Re:Voltage, Amps, Resistance and LEDs by Dzugaru on Saturday June 19, 2021 @12:35PM (#27561970)
I'd add the MIT 6.002 Circuits and Electronics course available on Youtube. It's been immensely helpful for me starting experiments with Raspberry PI GPIO.
Re:Voltage, Amps, Resistance and LEDs by midnightclubbed on Saturday June 19, 2021 @12:44PM (#27562034)
Why the hate on Amazon? I can understand why you may want to discourage shopping from Amazon in general but is there a reason why they are particularly bad for electronics?

As a hobbyist (with an EEE background) I seldom have an order that is large enough to make the mouser/digikey shipping costs palatable. If I need something quick (forgot a particular component) then Amazon often works great, although the 'free' shipping means everything is going to be at least $10. If you area business then Mouser etc are the place to go, but you'll also have a business account with friendlier credit and shipping terms.

For hobbyists it is really difficult to beat Aliexpress. Long shipping times but you can order a whole slew of components and stock up on things you might want to try out in the future. Yes you have to pick through potential counterfeits and you may get the odd broken board/component but I'm not sure that is very different from mouser, digikey, spark fun etc?

Re:Voltage, Amps, Resistance and LEDs by allo37 on Sunday June 20, 2021 @08:31AM (#27569369)
I definitely think there's a significantly higher quality guarantee with Mouser, Digikey, SparkFun, etc. than there is with Amazon/ AliExpress. But hey, like you said for hobbyist use it might just be good enough and the cost savings can't be beat.

As a beginner though, you might bang your head for hours over a non-functional circuit just because a cheapo component isn't doing what it should. Once you gain confidence it can be a bonus challenge to write a driver for some poorly documented knockoff component :p

Re:Voltage, Amps, Resistance and LEDs by midnightclubbed on Sunday June 20, 2021 @02:29PM (#27572655)
That's a good point. You definitely have to dig a little deeper on Aliexpress, my experience has been that AliExpress components/boards generally work fine but you have to dig for things like data sheets unless its a very standard part - which may be an extra friction point for a beginner.
Re:Voltage, Amps, Resistance and LEDs by boredprograming on Saturday June 19, 2021 @12:47PM (#27562066)
I've had bad experiences with counterfeit components on AliExpress. It's rare to get anything real and unused.
Re:Voltage, Amps, Resistance and LEDs by JKCalhoun on Saturday June 19, 2021 @11:21AM (#27561243)
Mouser, Digikey are great but, wow, the cost of shipping and time to get parts delivered is painful. For the hobbyist that just wants a shift register to play with their Arduino they're a tough sell.

Maybe SparkFun or Adafruit are better recommendations?

Re:Voltage, Amps, Resistance and LEDs by boredprograming on Saturday June 19, 2021 @12:45PM (#27562042)
SparkFun and Adafruit are great, but they're for casuals. If you're building breadboard prototypes there's nothing better than Digikey and Mouser.
Re:Voltage, Amps, Resistance and LEDs by compiler-guy on Saturday June 19, 2021 @02:09PM (#27562828)
The disdain for casual hobbyists you show here implies that you are probably not the target audience for the article, which is targeted even lower than hobbyists: people who need an early introduction. Professionals have very different needs than hobbyists and therefore need different materials and suppliers.
Re:Voltage, Amps, Resistance and LEDs by boredprograming on Saturday June 19, 2021 @02:12PM (#27562849)
Eh true. And it's not disdain, those companies are great for what they do. The guy above just implied they sucked, which isn't the case. They're great for their target market
Re:Voltage, Amps, Resistance and LEDs by exmadscientist on Saturday June 19, 2021 @08:14PM (#27565803)
I actually disagree with you completely. (And I'm a professional, this is my day job.) For breadboarding I buy from Adafruit and Sparkfun, since they have good selections of breakout boards, MSOP to DIP adapters, etc. DK and Mouser have plenty of that, and some really nice stuff (like TI's adapter "EVMs")... but for prototyping on a breadboard, I start with the other guys.

(Then usually tack them on to a Digi-Key or Mouser order, because if it doesn't require something weird, I probably didn't need to prototype it.)

Re:Voltage, Amps, Resistance and LEDs by dekhn on Saturday June 19, 2021 @11:59AM (#27561616)
I work with hobbyist electronics and I don't see the problem with Amazon. Can you be more specific?
Re:Voltage, Amps, Resistance and LEDs by willis936 on Saturday June 19, 2021 @12:47PM (#27562073)
Counterfeits, mostly. You will never find a legitimately sourced component on amazon.

Maybe that doesn't matter to some people, but it guarantees GIGO.

Re:Voltage, Amps, Resistance and LEDs by dekhn on Monday June 21, 2021 @06:47PM (#27585551)
Most of the stuff I buy is just $RANDOMNAME_MADEUP_BYIMPORTER that was produced to hit the lowest cost point on amazon, and which will work fine in nearly every case I subject it to. For example, my BOJACK 50 values 1350 Pcs Resistor Kit. Do you want me to go measure a sampling of those and compare it to the equivalent kit (or pages of components) from DigiKey?

Not sure about the counterfit, the PSU I just got is from ARESGAME which appears to be a California company, and from every detail of the product, it appears to be legitimate. I just popped it in my main desktop computer (cyberpunk 2077 was crashing/windows rebooting when I hit 400W). I fully expect this device to work as expected for the next 10 years I will operate this machine. Same for the $1K Dell monitor I just bought. This thing was obviously made for dell and sold by dell with top grade components.

A small fraction of the stuff with $RANDOMNAME I've bought on amazon has been total and complete crap, but once should probably be suspicious any time something is sold for 1/10th its ostensible manufacturing cost.

Re:Voltage, Amps, Resistance and LEDs by rytis on Saturday June 19, 2021 @02:15PM (#27562883)
For people like me who can't remember all 100k acronyms: "GIGO" is "Garbage In, Garbage Out".

I agree with the sentiment though - a lot of stuff on Amazon are not exactly what is written on the tin, and so when you read official spec of a component you may get stuff that's way off - noisy opamps, that sort of thing.

Re:Voltage, Amps, Resistance and LEDs by exmadscientist on Saturday June 19, 2021 @08:27PM (#27565868)
Professional here: I hate Amazon and die a little inside every time I hear about people buying electronic parts from them.

So I am not trying to push an agenda when I say that they're fine for generic parts. You are probably not going to cry if your 0.25W resistor smokes itself at 0.2W instead of 0.3W like the name-brand part. Your random 1N4007 is probably still a 1N4007; it's not like they're hard to make. I wouldn't use it on a 999V line, but I probably wouldn't do that with a genuine 1N4007 either.

Where Amazon starts to get dodgy is when you are dealing with delicate parts: precision amplifiers, precision resistors... really, precision anything... or anything where you will need more of that exact thing in the future. You'll get something when you order from Amazon or AliExpress. It might even be the right something. But good luck getting it again later!

Re:Voltage, Amps, Resistance and LEDs by dekhn on Monday June 21, 2021 @05:16PM (#27584616)
OK. This is a reasonable answer; Amazon is good for 95% of the market and you shouldn't attempt to use it to fulfill the remaining 5%. That's correct: I use digikey or mouser to order precision and power resistors (for the 5% of the time I need either of those instead of a generic cheapie). I use mcmaster for some parts that amazon doesn't stock (or what they stock looks dodgy).

But over the years "what is precision" has changed. For example, I can buy micrometer stage on Amazon for $100 that is as accurate as the $10000 stage from 10 years ago.

Also, I think most electronics parts are engineered with 3X so I wouyld expect my 0.25W resistor from amazon to smoke itself at 0.75W and the one from digikey at 1W.