Author Topic: Microcontroller grounding  (Read 3732 times)

0 Members and 1 Guest are viewing this topic.

Offline Tris20Topic starter

  • Regular Contributor
  • *
  • Posts: 84
  • Country: gb
Microcontroller grounding
« on: February 24, 2014, 10:48:46 pm »
Ok, so I'm pretty confidant about this but a team mate has listed something different in our report and doubt has now crept in. I expect a bombardment of "OMG HOW CAN YOU NOT KNOW THAT" style comments but meh, if I get the one comment that provides the answer it's worth it right?

Anyway, when connecting a uC to some batteries and then a breadboard/pcb, am I right in saying that the negative terminal is effectively the ground. I.E. all the ground connections run back to there. NOT the GND terminal on the uC. This is connected TO the common ground but is not what actually grounds the circuit.

Need to fix this in the next hour so quick responses please!

Cheers guys!
 

Offline Rudane

  • Regular Contributor
  • *
  • Posts: 80
  • Country: us
    • Electrical Engineering 101
Re: Microcontroller grounding
« Reply #1 on: February 24, 2014, 11:02:54 pm »
I read this a few times, and I don't see the difference. If the negative of the batteries is connected to the GND pins of the uC, then they're all at the same potential and are all ground for the circuit.
EDIT: O.K. I read it some more, and to be technically correct, the common to the circuit is the negative of the battery.
« Last Edit: February 24, 2014, 11:06:02 pm by Rudane »
Voltage appears across and current flows through.
 

Offline Tris20Topic starter

  • Regular Contributor
  • *
  • Posts: 84
  • Country: gb
Re: Microcontroller grounding
« Reply #2 on: February 24, 2014, 11:06:43 pm »
Sorry, the issue I have is that they've listed pin 1(GND) as "Ground for battery" and pin 2(VIN) as "Battery Supply".

My question is really, is that accurate? I feel that listing pin1 as being responsible for grounding the battery as a bit odd. Surely it should be connection to negative terminal and connection to positive terminal respectively. Or is there a more eloquent way of putting this?

Sorry I should have made it clearer in the first post. last minute assignment fear in full flow atm.
« Last Edit: February 24, 2014, 11:21:42 pm by Tris20 »
 

Offline tszaboo

  • Super Contributor
  • ***
  • Posts: 7392
  • Country: nl
  • Current job: ATEX product design
Re: Microcontroller grounding
« Reply #3 on: February 24, 2014, 11:09:54 pm »
Can we know which MCU you use? Maybe they are talking about a back-up battery for RTC and SRAM or something.
 

Offline Tris20Topic starter

  • Regular Contributor
  • *
  • Posts: 84
  • Country: gb
Re: Microcontroller grounding
« Reply #4 on: February 24, 2014, 11:12:12 pm »
Sure, NXP LPC1768
 

Offline tszaboo

  • Super Contributor
  • ***
  • Posts: 7392
  • Country: nl
  • Current job: ATEX product design
Re: Microcontroller grounding
« Reply #5 on: February 24, 2014, 11:20:52 pm »
"ultra-low power Real-Time Clock (RTC) with separate battery supply" datasheet first page.
So that two pin is not for your main battery which powers everything, but a separate battery which only runs the RTC if main power is dead.
 

Offline Tris20Topic starter

  • Regular Contributor
  • *
  • Posts: 84
  • Country: gb
Re: Microcontroller grounding
« Reply #6 on: February 24, 2014, 11:29:33 pm »
 

Offline Tris20Topic starter

  • Regular Contributor
  • *
  • Posts: 84
  • Country: gb
Re: Microcontroller grounding
« Reply #7 on: February 24, 2014, 11:40:13 pm »
"EDIT: O.K. I read it some more, and to be technically correct, the common to the circuit is the negative of the battery."

Yeah this is what I thought.

Ok, gone for Pin 1:  "Ground connection to negative battery terminal".

Thanks for the help.

If a Mod sees this can you please lock the thread?

Thanks.
« Last Edit: February 24, 2014, 11:57:01 pm by Tris20 »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf