My Word There's Some Rubbish Out There.

Go To Last Post
18 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Over a lunchtime cup of coffee I had a quick search for websites claiming to show how to design an AVR onto a PCB, along with power supplies for it. Oh dear, oh dear, oh dear. No wonder we see so many bad designs.

 

The sites seem to fall into a couple of different categories...

 

1) Those that simply copy another website, dodgy schematics and all.

 

2) Those that make huge assumptions, and gross simplifications (usually wrong), about real world electronics.

 

It's a pity because there are a few sites out there that get it right but they tend to be swamped by the bad ones.

#1 This forum helps those that help themselves

#2 All grounds are not created equal

#3 How have you proved that your chip is running at xxMHz?

#4 "If you think you need floating point to solve the problem then you don't understand the problem. If you really do need floating point then you have a problem you do not understand." - Heater's ex-boss

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I find the same thing happens with code. 5 out of 4 hits from google are nonsense. (Yes, I meant to type 5 out of 4.)

 

"We trained hard... but it seemed that every time we were beginning to form up into a team, we would be reorganized. I was to learn later in life that we tend to meet any new situation by reorganizing. And a wonderful method it can be of creating the illusion of progress while producing confusion, inefficiency and demoralization." Petronius Arbiter, approx. 2000 years ago.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 3

No wonder we see so many bad designs.

It's the same for the software. Far too many instances of the blind leading the blind. A classic example is "MrLcd" with functions like MakeMrLCDSmileAtUs() or some equal faceitous nonsense using some cobbled together atrocious code. Someone with only a minimal grasp of programming manages to slap together a few functions that remarkably, by some serendipitous accident get an LCD to say "Hello World" and suddenly it's a tutorial article and, because of the way that the internet "snowballs" it's very soon the defacto standard "library code".

 

Only once in a blue moon does a skilled engineer like Peter Fleury actually share some high quality code with the world but it seems to be the exception not the norm these days as everyone is suddenly an author/publisher of their own.

 

Freaks basically lives to repair the damage the internet is doing - hardware and software cheeky

Last Edited: Fri. Feb 8, 2019 - 03:02 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

clawson wrote:

Freaks basically lives to repair the damage the internet is doing - hardware and software 

 

Maybe you should get the power that be to make that this site's tagline.

#1 This forum helps those that help themselves

#2 All grounds are not created equal

#3 How have you proved that your chip is running at xxMHz?

#4 "If you think you need floating point to solve the problem then you don't understand the problem. If you really do need floating point then you have a problem you do not understand." - Heater's ex-boss

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

clawson wrote:
Freaks basically lives to repair the damage the internet is doing - hardware and software
laugh

"Experience is what enables you to recognise a mistake the second time you make it."

"Good judgement comes from experience.  Experience comes from bad judgement."

"Wisdom is always wont to arrive late, and to be a little approximate on first possession."

"When you hear hoofbeats, think horses, not unicorns."

"Fast.  Cheap.  Good.  Pick two."

"We see a lot of arses on handlebars around here." - [J Ekdahl]

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I say we sweep the internet and delete all of the wrong information that is found along the way.

It should be easy to look up the facts (using a good search engine) to determine which information is wrong surprise 

When in the dark remember-the future looks brighter than ever.   I look forward to being able to predict the future!

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Doing magic with a USD 7 Logic Analyser: https://www.avrfreaks.net/comment/2421756#comment-2421756

Bunch of old projects with AVR's: http://www.hoevendesign.com

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Ross McKenzie ValuSoft Melbourne Australia

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

My wife had some engineers from a local company volunteer in her 6th grade class. They brought materials and showed how to connect a D cell, flash light bulb, and switch. One kid hooked them up so that turning the switch on turned off the light and turning the switch off turned on the light. Everyone was puzzled.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

clawson wrote:
Freaks basically lives to repair the damage the internet is doing - hardware and software cheeky

 

Oh this could not be any closer to the truth!

 

Brian Fairchild wrote:

clawson wrote:

Freaks basically lives to repair the damage the internet is doing - hardware and software 

 

Maybe you should get the power that be to make that this site's tagline.

Could not agree more!

 

 

Jim

I would rather attempt something great and fail, than attempt nothing and succeed - Fortune Cookie

 

"The critical shortage here is not stuff, but time." - Johan Ekdahl

 

"If you want a career with a known path - become an undertaker. Dead people don't sue!" - Kartman

"Why is there a "Highway to Hell" and only a "Stairway to Heaven"? A prediction of the expected traffic load?"  - Lee "theusch"

 

Speak sweetly. It makes your words easier to digest when at a later date you have to eat them ;-)  - Source Unknown

Please Read: Code-of-Conduct

Atmel Studio6.2/AS7, DipTrace, Quartus, MPLAB user

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

bobfrench wrote:
Everyone was puzzled
Even the engineers? ;-)

"Experience is what enables you to recognise a mistake the second time you make it."

"Good judgement comes from experience.  Experience comes from bad judgement."

"Wisdom is always wont to arrive late, and to be a little approximate on first possession."

"When you hear hoofbeats, think horses, not unicorns."

"Fast.  Cheap.  Good.  Pick two."

"We see a lot of arses on handlebars around here." - [J Ekdahl]

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

According to my wife, yes, even the engineers were puzzled. When I explained it to my wife she understood how shorting the battery kills the light and she understood that at least one of the engineers should have figured that out.

They did come back volunteering but they never came back to my wife's class.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

bobfrench wrote:
According to my wife, yes, even the engineers were puzzled. When I explained it to my wife she understood how shorting the battery kills the light and she understood that at least one of the engineers should have figured that out. They did come back volunteering but they never came back to my wife's class.

 

A friend tells me that when he was 11 or 12, he had a light bulb socket, a switch and a cord. The lamp had 2 terminals, the switch had 2 terminals and the cord had two wires. He connected it all up and plugged it in. Puzzled about why the light came on though the switch was off, he turned the switch on and... had to go change his pants.

 

"We trained hard... but it seemed that every time we were beginning to form up into a team, we would be reorganized. I was to learn later in life that we tend to meet any new situation by reorganizing. And a wonderful method it can be of creating the illusion of progress while producing confusion, inefficiency and demoralization." Petronius Arbiter, approx. 2000 years ago.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

bobfrench wrote:

My wife had some engineers from a local company volunteer in her 6th grade class. They brought materials and showed how to connect a D cell, flash light bulb, and switch. One kid hooked them up so that turning the switch on turned off the light and turning the switch off turned on the light. Everyone was puzzled.

Have you tried shorting a D cell?    It gets pretty hot very quickly.

If you are holding the D cell,  you would know.

 

Shorting a car battery with a steel nail works quite well too.

 

I still prefer connecting a schoolboy to a Van der Graaf generator.   We watched his hair stand on end.    But the best bit was when he stepped off the wax block.

 

I suspect that school teachers are not allowed to do this nowadays.

 

David.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

bobfrench wrote:
According to my wife, yes, even the engineers were puzzled.
Terrifying.

"Experience is what enables you to recognise a mistake the second time you make it."

"Good judgement comes from experience.  Experience comes from bad judgement."

"Wisdom is always wont to arrive late, and to be a little approximate on first possession."

"When you hear hoofbeats, think horses, not unicorns."

"Fast.  Cheap.  Good.  Pick two."

"We see a lot of arses on handlebars around here." - [J Ekdahl]

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Kids love to short out batteries to make working motors:

 

https://www.youtube.com/watch?v=xbCN3EnYfWU

When in the dark remember-the future looks brighter than ever.   I look forward to being able to predict the future!

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

A similar effect:

 

Battery + Magnet = Electric Train

 

--Mike

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

david.prentice wrote:

bobfrench wrote:

My wife had some engineers from a local company volunteer in her 6th grade class. They brought materials and showed how to connect a D cell, flash light bulb, and switch. One kid hooked them up so that turning the switch on turned off the light and turning the switch off turned on the light. Everyone was puzzled.

Have you tried shorting a D cell?    It gets pretty hot very quickly.

If you are holding the D cell,  you would know.

 

Shorting a car battery with a steel nail works quite well too.

 

I still prefer connecting a schoolboy to a Van der Graaf generator.   We watched his hair stand on end.    But the best bit was when he stepped off the wax block.

 

I suspect that school teachers are not allowed to do this nowadays.

 

David.

 

In high-school physics, the teacher asked, "If I was going to throw arcs to you with this ZAAAPPPP, would you want to be holding this old metal handle screwdriver or this nice insulated one?" Knowing how these things worked, I volunteered to hold the metal one.

 

So he has a major arc going to the screwdriver in my hand. I'm calmly sitting there while he explains why it isn't hurting me. Then I moved a little and my bluejean protected backside came just a little closer to the rivet in the chair. YIKES! Was more funny than painful.

 

 

"We trained hard... but it seemed that every time we were beginning to form up into a team, we would be reorganized. I was to learn later in life that we tend to meet any new situation by reorganizing. And a wonderful method it can be of creating the illusion of progress while producing confusion, inefficiency and demoralization." Petronius Arbiter, approx. 2000 years ago.