Poll

Would you routinely place a resistor in series with a jelly bean LED on an RPi 3.3V GPIO?

Yes
No
What's a resistor?
What's a datasheet?

Author Topic: Software guys, please, no.  (Read 17987 times)

0 Members and 1 Guest are viewing this topic.

Online coppercone2

  • Super Contributor
  • ***
  • Posts: 11337
  • Country: us
  • $
Re: Software guys, please, no.
« Reply #50 on: September 19, 2022, 01:52:27 am »


I am waiting for a circuit that uses atmega connected to mains because someone figured out how to get it to short out to make the correct passive component.

I was poking mains through a 390K resistor into a PIC 40 years ago.

Its not so simple with newer PIC's. If the pin does A2D then it doesn't have the same protection as standard i/o pins.

you misunder stood my idea. The MCU is good for everything, including using as a base for a DIY carbon resistor, by gross over power. That way you use another PIC with 'fuses set' to 390K instead of the 390K resistor (which software developers might be allergic to) to power the mains connected MCU. I would suggest something made with a pencil, but since they went paperless, resistor options are limited now  >:D
« Last Edit: September 19, 2022, 01:55:25 am by coppercone2 »
 

Offline pcprogrammer

  • Super Contributor
  • ***
  • Posts: 4670
  • Country: nl
Re: Software guys, please, no.
« Reply #51 on: September 19, 2022, 05:26:37 am »
Invest some days in watching Dave’s videos - ALL of them if you wish - and learning about this lovely man. He’s a kind, witty and utterly brilliant man. He’s also a millionaire, and you don’t become a millionaire from being stupid (unless you perform a heist).

Being a millionaire has nothing to do with being brilliant. There are lots of millionaires that are not to bright. Some are born into money, some win the lottery, some just have a loud mouth and bully themselves to the top, some bought good stock when they had the opportunity to do so and the money made itself, etc.

So the last part of your statement has no barring on his actual skills.

For the rest I have no idea what his capabilities are. Have seen a couple of his videos and they are easy to watch, but it did not showed me that he is brilliant, and I don't care about it either way. But hooking up a led to a gpio without a resistor to limit the current to me is stupid. Even though judging from the comments (did not watch the video) he used PWM with a 50% ratio if something fails and the gpio gets stuck on either high or low both the led and the gpio might get fried.

And then making a video about it to make ignorant people think it is a proper way to do so, to me is plain stupid and irresponsible. But as I did not watch the video, I can't say if this is actually the case.

Since different types of leds have different forward voltages using one with a lower voltage might blow things up, and watchers that don't know these things might try that and be disappointed and get angry. Or try it with a different MCU that can't handle it. You know, to me irresponsible.

You can be a brilliant software developer, but when you know shit about hardware, then don't go telling other people wrong things about how hardware can be done. But again I don't know what his knowledge about hardware is.

Offline Black Phoenix

  • Super Contributor
  • ***
  • Posts: 1137
  • Country: hk
Re: Software guys, please, no.
« Reply #52 on: September 19, 2022, 09:58:32 am »
And that is why I gave up on youtube. It is mostly about entertainment and has little substance. And even though some are better to watch, how many commodore 64, trs-80, apple II repair videos, or I made this gadget or wrote this software or checked out this scope can you watch. To me it gets boring after a while, and for learning I rather have a proper datasheet to figure it out myself.

Currently I turned into commercial/residential Instalations with a mix of solar and EV charging plus PLC programming.

Last time I touch PLC ladder style programming was way back in 2010 and I may need in a project in the future. Need to refresh myself.
 

Offline eti

  • Super Contributor
  • ***
  • !
  • Posts: 1801
  • Country: gb
  • MOD: a.k.a Unlokia, glossywhite, iamwhoiam etc
Re: Software guys, please, no.
« Reply #53 on: September 19, 2022, 03:34:20 pm »
Invest some days in watching Dave’s videos - ALL of them if you wish - and learning about this lovely man. He’s a kind, witty and utterly brilliant man. He’s also a millionaire, and you don’t become a millionaire from being stupid (unless you perform a heist).

Being a millionaire has nothing to do with being brilliant. There are lots of millionaires that are not to bright. Some are born into money, some win the lottery, some just have a loud mouth and bully themselves to the top, some bought good stock when they had the opportunity to do so and the money made itself, etc.

So the last part of your statement has no barring on his actual skills.

For the rest I have no idea what his capabilities are. Have seen a couple of his videos and they are easy to watch, but it did not showed me that he is brilliant, and I don't care about it either way. But hooking up a led to a gpio without a resistor to limit the current to me is stupid. Even though judging from the comments (did not watch the video) he used PWM with a 50% ratio if something fails and the gpio gets stuck on either high or low both the led and the gpio might get fried.

And then making a video about it to make ignorant people think it is a proper way to do so, to me is plain stupid and irresponsible. But as I did not watch the video, I can't say if this is actually the case.

Since different types of leds have different forward voltages using one with a lower voltage might blow things up, and watchers that don't know these things might try that and be disappointed and get angry. Or try it with a different MCU that can't handle it. You know, to me irresponsible.

You can be a brilliant software developer, but when you know shit about hardware, then don't go telling other people wrong things about how hardware can be done. But again I don't know what his knowledge about hardware is.

The general theme of your reply, is “but then again I don’t know”. Let’s take that and you not knowing anything about Dave P., and making character judgements based on wild speculation and ignorance, and summarise that you just couldn’t resist judging him. This is called “gossip”, and no one likes a gossip.
 
The following users thanked this post: tooki

Offline pcprogrammer

  • Super Contributor
  • ***
  • Posts: 4670
  • Country: nl
Re: Software guys, please, no.
« Reply #54 on: September 19, 2022, 03:48:47 pm »
If you properly read what I wrote, you would see that I did not judge him, but judged that he made a video with bad information.

I don't know him personally, and my guess is that you don't either, so neither of us can say anything definitive about him.

So no gossip here, just an observation about his video delivering bad information, and since I did not watch it I'm relying on information others wrote here. That might be bad, but that is what it is.

Offline thinkfat

  • Supporter
  • ****
  • Posts: 2161
  • Country: de
  • This is just a hobby I spend too much time on.
    • Matthias' Hackerstübchen
Re: Software guys, please, no.
« Reply #55 on: September 19, 2022, 06:00:53 pm »
Guys, instead of harping on "software guys" who apparently never even know the hot from the cold of a tool, imagine me chuckling over old school EEs who struggle to get a GPS receiver talk to their micro controller. Or even make an LED blink with an Arduino sketch :-) It's really hard to be an expert in all corners of such a broad playing field.
Everybody likes gadgets. Until they try to make them.
 
The following users thanked this post: tooki

Offline pcprogrammer

  • Super Contributor
  • ***
  • Posts: 4670
  • Country: nl
Re: Software guys, please, no.
« Reply #56 on: September 19, 2022, 07:12:45 pm »
Yes that is true. Being an all rounder is not easy. Knowing your short comings is too. Best to be open to learning new things, but also know when to give in.

Offline eti

  • Super Contributor
  • ***
  • !
  • Posts: 1801
  • Country: gb
  • MOD: a.k.a Unlokia, glossywhite, iamwhoiam etc
Re: Software guys, please, no.
« Reply #57 on: September 19, 2022, 09:04:09 pm »
People are SO binary and simplistic in their judgements of TOTAL STRANGERS. He may be a "software guy" to whomever happens across his videos, but NO ONE knows what he knows, nor his experience in myriad fields. He may have been employed in a software role, but ya know, human beings can know MORE than one skill, and just because he ain't made a career out of it...   :palm: ::) yeah... carry on judging.
 
The following users thanked this post: tooki

Offline PlainName

  • Super Contributor
  • ***
  • Posts: 7508
  • Country: va
Re: Software guys, please, no.
« Reply #58 on: September 19, 2022, 09:20:18 pm »
Are we, perhaps, missing the point of the video? It's not about a bloke showing off how brill (or not) he is - as people have pointed out, you can easily view the quality of the products he wrote. AFAICS, the video is to help along someone who wants to get into programming micros. I suspect that 99.5% of the users on here, and almost certainly 100% of the participants of this thread, are not the target audience.

Cut'n'pasting off the web is a perfectly good way to start. You don't want an 'obtuse code for dummies' roadhump to put people off, and this is just the 2000's version of the 1980's copying a listing out of a magazine. He is just showing how easy it can be, and giving the steps for someone starting out to actually have a go and get hooked.

Similarly, cross-compiling and debugging is the way to go. Maybe you don't have a Pi, or you won't be using them later. If you've learned how to install some crappy tools on it and then make coffee while it builds and compiles, you'll be stuck when you're trying to program a ATTiny or similar. OTOH, cross-compiling by default is a transferable skill to pretty much anything.

Further, I bet the Pi doesn't have a fraction of the OS tools I use all the time when writing code. Or, in fact, working out what code to write, and where it is, how to safely maintain it, etc. Does it have Listary for a start? I can tell you: no. So why not take advantage of the system you use all the time to do this stuff? Windows, Linux or Mac - whichever floats your boat, but the point is that wearing your comfortable shoes instead of clumping around in too-small clogs is surely better.

That LED, though... really bad. I think he was being a bit too clever there.
 

Online fourfathom

  • Super Contributor
  • ***
  • Posts: 2005
  • Country: us
Re: Software guys, please, no.
« Reply #59 on: September 19, 2022, 09:25:34 pm »
We can say he gave bad advice for driving the LED.  And that's about it.
We'll search out every place a sick, twisted, solitary misfit might run to! -- I'll start with Radio Shack.
 

Online tggzzz

  • Super Contributor
  • ***
  • Posts: 21227
  • Country: gb
  • Numbers, not adjectives
    • Having fun doing more, with less
Re: Software guys, please, no.
« Reply #60 on: September 19, 2022, 09:26:23 pm »
People are SO binary and simplistic in their judgements of TOTAL STRANGERS. He may be a "software guy" to whomever happens across his videos, but NO ONE knows what he knows, nor his experience in myriad fields. He may have been employed in a software role, but ya know, human beings can know MORE than one skill, and just because he ain't made a career out of it...   :palm: ::) yeah... carry on judging.

You are judging him just as much as other people. The judgement differs, however.

However, you seem to be missing a simple fact: judging what someone says is not the same as judging someone.
There are lies, damned lies, statistics - and ADC/DAC specs.
Glider pilot's aphorism: "there is no substitute for span". Retort: "There is a substitute: skill+imagination. But you can buy span".
Having fun doing more, with less
 
The following users thanked this post: SiliconWizard, pcprogrammer

Offline rsjsouza

  • Super Contributor
  • ***
  • Posts: 6106
  • Country: us
  • Eternally curious
    • Vbe - vídeo blog eletrônico
Re: Software guys, please, no.
« Reply #61 on: September 20, 2022, 01:42:48 am »
Gosh, overinflated egos and fanboys galore in this thread...
:popcorn:
Vbe - vídeo blog eletrônico http://videos.vbeletronico.com

Oh, the "whys" of the datasheets... The information is there not to be an axiomatic truth, but instead each speck of data must be slowly inhaled while carefully performing a deep search inside oneself to find the true metaphysical sense...
 
The following users thanked this post: Ed.Kloonk, magic

Online coppercone2

  • Super Contributor
  • ***
  • Posts: 11337
  • Country: us
  • $
Re: Software guys, please, no.
« Reply #62 on: September 20, 2022, 02:16:30 am »
does it not remind you of the old case of primitive pete where the screw driver is also a prybar, a chisel, a scraper, a torque stick, a scribe, measuring stick and marking punch? you can also scratch your back with it I suppose.
« Last Edit: September 20, 2022, 02:19:03 am by coppercone2 »
 

Offline pcprogrammer

  • Super Contributor
  • ***
  • Posts: 4670
  • Country: nl
Re: Software guys, please, no.
« Reply #63 on: September 20, 2022, 05:07:23 am »
People are SO binary and simplistic in their judgements of TOTAL STRANGERS. He may be a "software guy" to whomever happens across his videos, but NO ONE knows what he knows, nor his experience in myriad fields. He may have been employed in a software role, but ya know, human beings can know MORE than one skill, and just because he ain't made a career out of it...   :palm: ::) yeah... carry on judging.

You are judging him just as much as other people. The judgement differs, however.

However, you seem to be missing a simple fact: judging what someone says is not the same as judging someone.

And he is also judging the ones that post in this thread, which to him are also total strangers. So who is he to do so?

Offline pcprogrammer

  • Super Contributor
  • ***
  • Posts: 4670
  • Country: nl
Re: Software guys, please, no.
« Reply #64 on: September 20, 2022, 05:19:10 am »
does it not remind you of the old case of primitive pete where the screw driver is also a prybar, a chisel, a scraper, a torque stick, a scribe, measuring stick and marking punch? you can also scratch your back with it I suppose.

There is a difference between using a tool like that for something it was not made for and making people believe that you don't need a resistor when driving a led with a Raspberry PI.

I watched a bit of the video last night, and yes there is the "I'm not using a resistor and I dare you to convince me that it is wrong" message, but no further explanation that it might wreck your Raspberry PI when you connect multiple leds this way to the other GPIO pins. I'm not willing to blow 35 euros on testing when it fails, and maybe the PI is hardened enough that it does not. But it is still ill advise.

Online tggzzz

  • Super Contributor
  • ***
  • Posts: 21227
  • Country: gb
  • Numbers, not adjectives
    • Having fun doing more, with less
Re: Software guys, please, no.
« Reply #65 on: September 20, 2022, 07:15:18 am »
Gosh, overinflated egos and fanboys galore in this thread...
:popcorn:

I decided to remove the word "fanbois" from my post, on the grounds it would detract from the main point :)
There are lies, damned lies, statistics - and ADC/DAC specs.
Glider pilot's aphorism: "there is no substitute for span". Retort: "There is a substitute: skill+imagination. But you can buy span".
Having fun doing more, with less
 
The following users thanked this post: rsjsouza

Online tggzzz

  • Super Contributor
  • ***
  • Posts: 21227
  • Country: gb
  • Numbers, not adjectives
    • Having fun doing more, with less
Re: Software guys, please, no.
« Reply #66 on: September 20, 2022, 07:18:02 am »
does it not remind you of the old case of primitive pete where the screw driver is also a prybar, a chisel, a scraper, a torque stick, a scribe, measuring stick and marking punch? you can also scratch your back with it I suppose.

There is a difference between using a tool like that for something it was not made for and making people believe that you don't need a resistor when driving a led with a Raspberry PI.

I watched a bit of the video last night, and yes there is the "I'm not using a resistor and I dare you to convince me that it is wrong" message, but no further explanation that it might wreck your Raspberry PI when you connect multiple leds this way to the other GPIO pins. I'm not willing to blow 35 euros on testing when it fails, and maybe the PI is hardened enough that it does not. But it is still ill advise.

So the twat really had that in his video?

I wonder how he and softies would react to someone saying "I share non-atomic mutable variables between threads, and I dare you to convince me it it wrong"?
« Last Edit: September 20, 2022, 07:29:50 am by tggzzz »
There are lies, damned lies, statistics - and ADC/DAC specs.
Glider pilot's aphorism: "there is no substitute for span". Retort: "There is a substitute: skill+imagination. But you can buy span".
Having fun doing more, with less
 

Offline pcprogrammer

  • Super Contributor
  • ***
  • Posts: 4670
  • Country: nl
Re: Software guys, please, no.
« Reply #67 on: September 20, 2022, 07:29:57 am »
Yep he did more or less, but you need to read between the lines ^-^



But no worries, because he is a trained professional :-+



Take from it what you like.


Online tggzzz

  • Super Contributor
  • ***
  • Posts: 21227
  • Country: gb
  • Numbers, not adjectives
    • Having fun doing more, with less
Re: Software guys, please, no.
« Reply #68 on: September 20, 2022, 07:34:17 am »
Yep he did more or less, but you need to read between the lines ^-^
...
But no worries, because he is a trained professional :-+
...
Take from it what you like.

Clickbait? That causes me to plonk the individual, and confirms my dislike of technical yootoob video.
There are lies, damned lies, statistics - and ADC/DAC specs.
Glider pilot's aphorism: "there is no substitute for span". Retort: "There is a substitute: skill+imagination. But you can buy span".
Having fun doing more, with less
 

Offline rsjsouza

  • Super Contributor
  • ***
  • Posts: 6106
  • Country: us
  • Eternally curious
    • Vbe - vídeo blog eletrônico
Re: Software guys, please, no.
« Reply #69 on: September 20, 2022, 09:32:59 am »
Yep he did more or less, but you need to read between the lines ^-^
...
But no worries, because he is a trained professional :-+
...
Take from it what you like.

Clickbait? That causes me to plonk the individual, and confirms my dislike of technical yootoob video.
I am unsure if these comments detract from the video. I watched some of it, including the point where these two comments are shown (sorry, the RPis don't interest me enough to watch it all) and to me it seems they were made in jest/irony and, although it might smell like "commentbait" to generate traction, I can only speculate the real intentions.

Overall, IMO it is much ado about nothing. Some watch this as "SW guys sticking to the know-it-alls HW guys" as the damn LED is in fact working with no lame resistors. Others watch this as "SW guy endangers beginners by proposing risky methods of blowing up their beloved RPi" as the IO may be short lived. And a great deal watch this as "one more opportunity to clap back at one person that worked for a company that I hate and despise".
Vbe - vídeo blog eletrônico http://videos.vbeletronico.com

Oh, the "whys" of the datasheets... The information is there not to be an axiomatic truth, but instead each speck of data must be slowly inhaled while carefully performing a deep search inside oneself to find the true metaphysical sense...
 
The following users thanked this post: sokoloff

Offline Ed.Kloonk

  • Super Contributor
  • ***
  • Posts: 4000
  • Country: au
  • Cat video aficionado
Re: Software guys, please, no.
« Reply #70 on: September 20, 2022, 09:59:06 am »


Overall, IMO it is much ado about nothing. Some watch this as "SW guys sticking to the know-it-alls HW guys" as the damn LED is in fact working with no lame resistors. Others watch this as "SW guy endangers beginners by proposing risky methods of blowing up their beloved RPi" as the IO may be short lived. And a great deal watch this as "one more opportunity to clap back at one person that worked for a company that I hate and despise".

In all my years on the internet, I've never seen this kind of thing happen.
iratus parum formica
 
The following users thanked this post: rsjsouza, sokoloff

Offline Black Phoenix

  • Super Contributor
  • ***
  • Posts: 1137
  • Country: hk
Re: Software guys, please, no.
« Reply #71 on: September 20, 2022, 11:12:05 am »


Overall, IMO it is much ado about nothing. Some watch this as "SW guys sticking to the know-it-alls HW guys" as the damn LED is in fact working with no lame resistors. Others watch this as "SW guy endangers beginners by proposing risky methods of blowing up their beloved RPi" as the IO may be short lived. And a great deal watch this as "one more opportunity to clap back at one person that worked for a company that I hate and despise".

In all my years on the internet, I've never seen this kind of thing happen.

I think you forgot the /s. Although is implied.
 
The following users thanked this post: Ed.Kloonk

Offline eti

  • Super Contributor
  • ***
  • !
  • Posts: 1801
  • Country: gb
  • MOD: a.k.a Unlokia, glossywhite, iamwhoiam etc
Re: Software guys, please, no.
« Reply #72 on: September 20, 2022, 03:19:28 pm »
Gosh, overinflated egos and fanboys galore in this thread...
:popcorn:
Exactly.
 

Offline eti

  • Super Contributor
  • ***
  • !
  • Posts: 1801
  • Country: gb
  • MOD: a.k.a Unlokia, glossywhite, iamwhoiam etc
Re: Software guys, please, no.
« Reply #73 on: September 20, 2022, 03:34:52 pm »
A fact that seems to have escaped people here, due to being hyper-obsessed over his electronics theory... he's not claiming that this is an electronics tutorial - the LED is merely a means to and end, where that end is observing pin state.

Also, SINCE it's not an electronics tutorial, maybe he's wise enough to have a pre-leaded LED with inbuilt dropper resistor... but then, I suppose looking at it from a logical perspective like this, doesn't give people the fury they so desire to deride him.

He's no idiot. Only true idiots automatically assume all others are idiots.
 

Online fourfathom

  • Super Contributor
  • ***
  • Posts: 2005
  • Country: us
Re: Software guys, please, no.
« Reply #74 on: September 20, 2022, 03:44:49 pm »

That LED looks suspiciously like some I got via Amazon, an assortment of various colors, all with a series resistor buried under the heat-shrink.

Regardless, I can't believe (well, actually I can) that this conversation has gone on for so long.  It's just about a software guy not using a series resistor!!!  Or is it?
We'll search out every place a sick, twisted, solitary misfit might run to! -- I'll start with Radio Shack.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf