CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Okay, question about BASIC electronics!

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
KamPutty
Guest







Okay, question about BASIC electronics!
PostPosted: Mon Dec 19, 2005 6:31 pm     Reply with quote

Hi all,

Hope you are all doing well.

I have a basic question, and just want to hear from someone else other then my brain (I question my brain these days!)

If I have a circuit and it says

#1. Connect pin 1 to +5v. Simple, I have a "+" on my DC power supply (set to 5v). I'll use that.

#2. Connect pin 2 to Ground. Now, I have a "ground" and a "-" on my power supply. They are NOT connected on the power supply. Using my multimeter, I know that I need to use the "-" as that gives my +5v.

NOW, my question is, what about "ground"? Should I connect my "-" and "ground" on my power supply and use that?

The reason for all this is I'm STILL trying to get my stupid 7219 working! I'm mostly (!!!!! ha haha haha hahah ahah funny!) sure it's a power issue, and they say connect pins x&y to ground...

I have ripped out all my wiring and rebuilt and still getting bizzare stuff...

thanks all!

~Kam (^8*
asmallri



Joined: 12 Aug 2004
Posts: 1634
Location: Perth, Australia

View user's profile Send private message Send e-mail Visit poster's website

PostPosted: Mon Dec 19, 2005 8:20 pm     Reply with quote

If your power supply is a single ended power supply (generates just one output voltage), then you are describing a power supply with floating outputs. For example, if you were to measure the voltage between the +5v output and the case of a PC sitting near, but not physically connected to the power supply, then you could potentially measure hundreds of volts. If you connect the ground of the power supply to the -ve terminal of the power supply then the +5v output with at +5V wrt the power supplies negative terminal AND at +5V wrt ground. If you to now measure the voltage between the +5V terminal and the case of the PC you should measure +5V.

Occasionally (very rarely) you may have an application that requires a power supply that is capable of floating its outputs.

If on the otherhand you have a DUAL power supply, then + and - terminals are measured wrt the common ground. In other words, when set for 5 volts operation, the + terminal will be +5V wrt ground, the negative terminal will be -5V wrt ground and the voltage between the + and - terminals will be 10 volts.

If you are setting the output voltage to +5V using a meter internal to the power supply and are measuring +5V between the positive and negative terminal then it sounds like your power supply is the first type described with floating outputs. In this case I suggest connecting the power supply Ground and - terminals together.
_________________
Regards, Andrew

http://www.brushelectronics.com/software
Home of Ethernet, SD card and Encrypted Serial Bootloaders for PICs!!
mkent



Joined: 09 Sep 2003
Posts: 37
Location: TN, USA

View user's profile Send private message

PostPosted: Mon Dec 19, 2005 8:44 pm     Reply with quote

Do you have the commons on your boards connected togeather?
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Mon Dec 19, 2005 9:10 pm     Reply with quote

Post the manufacturer and model number of your power supply.
One of us will look at the manufacturer's web page and explain
how to use it.
KamPutty
Guest







Power Supply...
PostPosted: Mon Dec 19, 2005 11:00 pm     Reply with quote

Brand: Kysan
Model: Hy3003D-2

http://www.kysanelectronics.com/Merchant2/merchant.mvc?Screen=PROD&Store_Code=KE&Product_Code=HY3003D-2&Category_Code=MO

When I set my voltage to 5.0, and check with multimeter by placing one end on "-" and one on "+", it says +5v on the multimeter.

Just to make sure my question does not get lost in the correct adjustment of the power supply, (in regards to the 7219), pins 4, and 9 are connected to Ground. Do we always assume that means "-"?

All I want to do is get this screwing 7219 working with my 8 7-seg LEDS for Jeebus sake!

Again, thanks for all the help...

~Kam (^8*
[/url]
KamPutty
Guest







Commons...
PostPosted: Tue Dec 20, 2005 12:51 am     Reply with quote

mkent wrote:
Do you have the commons on your boards connected togeather?


I'm embarassed to say, I'm not 100% sure what that means. I'm assuming it means the ground line. Said that, no, the grounds are not shared between the boards...

~Kam (^8*
Mark



Joined: 07 Sep 2003
Posts: 2838
Location: Atlanta, GA

View user's profile Send private message Send e-mail

PostPosted: Tue Dec 20, 2005 7:48 am     Reply with quote

Just use the + and - terminals (red and black) the green terminal is earth ground.
mkent



Joined: 09 Sep 2003
Posts: 37
Location: TN, USA

View user's profile Send private message

PostPosted: Tue Dec 20, 2005 12:46 pm     Reply with quote

Common, ground, "-" can get confusing. I like to use +V, 0V, and -V. 0 (zero) volts is also called common. I went back to your previous post and see that you have different boards. I got a little confused about which is which but, you must have the 0V (common) connected between the boards or you don't have a return path for your signals. The cleanest way to do this is to use the same power supply for all the boards; run TWO wires to each board, a+5V and a 0V. Can you power your 7219 board from your pic demo board? Just find the +5V and 0V and jumper them over. I hope this is clearer than mud!
KamPutty
Guest







PostPosted: Tue Dec 20, 2005 2:16 pm     Reply with quote

mkent wrote:
Common, ground, "-" can get confusing. I like to use +V, 0V, and -V. 0 (zero) volts is also called common. I went back to your previous post and see that you have different boards. I got a little confused about which is which but, you must have the 0V (common) connected between the boards or you don't have a return path for your signals. The cleanest way to do this is to use the same power supply for all the boards; run TWO wires to each board, a+5V and a 0V. Can you power your 7219 board from your pic demo board? Just find the +5V and 0V and jumper them over. I hope this is clearer than mud!


Thanks for the reply...
Question, yes, I will power ALL the boards with the same power supply, and will daisychain the boards together to do this. Now you mentioned that I should use the "+5v" (ok with that), and "0v", now my board has a "Ground", and that is the same as "0V" as you mentioned above, yes?

I'll try that, my goal for xmas is to print the numbers 1...8 to on my LED's!

thanks everyone...

~Kam (^8*
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group