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

getting power from the RS232 to run the max232 chip?

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







getting power from the RS232 to run the max232 chip?
PostPosted: Mon Sep 27, 2004 1:09 pm     Reply with quote

Here is the deal, the max chip is just using to much current and I only need it when its attached to a computer. What if I sourced the power from the RS232 connecter via the computer to power the max232 chip?

Anyone done this before? Does it sound like a viable solution?


Nick
SherpaDoug



Joined: 07 Sep 2003
Posts: 1640
Location: Cape Cod Mass USA

View user's profile Send private message

PostPosted: Mon Sep 27, 2004 1:22 pm     Reply with quote

There are plenty of products that are powered by the PC's RS232 port. The awkward bit is that the quiescent state of the RS232 transmit lines is negative. So you use diodes to take negative voltage from Tx (pin 3) and the handshake lines (pins 4 & 7) and store it in a cap. Then you use a negative to positive charge pump to get the positive voltage stored in another cap. These voltages run the RS232 driver chip. You either use your own supply for VCC or if you circuit is low enough power you can get that from the RS232 voltages as well. You won't be able to use long cables at high baud rates, but for many applications it is fine.
_________________
The search for better is endless. Instead simply find very good and get the job done.
Ttelmah
Guest







Re: getting power from the RS232 to run the max232 chip?
PostPosted: Mon Sep 27, 2004 2:44 pm     Reply with quote

Nick wrote:
Here is the deal, the max chip is just using to much current and I only need it when its attached to a computer. What if I sourced the power from the RS232 connecter via the computer to power the max232 chip?

Anyone done this before? Does it sound like a viable solution?


Nick

Look at the DS275. Single 8pin chip, gives one RS22 receive, and one RS232 transmit, doing exactly this.

Best Wishes
Haplo



Joined: 06 Sep 2003
Posts: 659
Location: Sydney, Australia

View user's profile Send private message

PostPosted: Mon Sep 27, 2004 5:44 pm     Reply with quote

http://www.hut.fi/Misc/Electronics/circuits/rspower.html
Guest








PostPosted: Mon Sep 27, 2004 8:32 pm     Reply with quote

I always use a pair of 2N3904, wich are fed by one pin of the micro.
When need to comunicate, just put that pin high.
You get a lower power consumption, as lower $$$.
Use 1K R both at base, and collector.
Very cheap. Had no problems at any speed.

Gabriel.-
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