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

I wanna get 5V -> 24V SCH File...

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



Joined: 23 Sep 2003
Posts: 12
Location: South KOREA

View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger

I wanna get 5V -> 24V SCH File...
PostPosted: Fri Dec 03, 2004 2:27 am     Reply with quote

Dear All.

Hello? Thank you about read my topic.

I'm korean ....

I use PIC16F874

I wanna Know How to control 24V

For Example...

24V In -> 5V Level (Micom...

5V Level (Micom) -> 24V Out...

I think Use PC817...

But I don't know about it...

Can you teach me...

If you have Sch file then May I get it...


newspacekor@yahoo.co.kr

Thank you very much~!
_________________
Hello~?

This is South KOREA
My name is Sanghyouk Kim But Call me Nick
Sorry I'm poor English
Mark



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

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

PostPosted: Fri Dec 03, 2004 11:33 am     Reply with quote

Quote:
24V In -> 5V Level (Micom...


You could use a voltage divider for this. I would put a zener on there just in case.

Quote:
5V Level (Micom) -> 24V Out...

Depends on what you are trying to do. There are chips that will do this or it could be as simple driving an open collector transistor.
Humberto



Joined: 08 Sep 2003
Posts: 1215
Location: Buenos Aires, La Reina del Plata

View user's profile Send private message

PostPosted: Fri Dec 03, 2004 5:12 pm     Reply with quote

Quote:

24V In -> 5V Level (Micom...

5V Level (Micom) -> 24V Out...

I think Use PC817...


If PC817 is an optocoupler as I guess you are in the right track.

For 24V Inp you will need:
- In the diode side of the PC817
a series resistor of 2K2 (2200 Ohms).
- In the transistor side of the PC817,
Emitter to GND.
Collector to +5V level through a 10K resistor.

Do this arrangement for every Inp you need and then connect every
PC817 Collector to PIC.

Quote:


5V Level (Micom) -> 24V Out...



If with this you mean how to control something of 24 from my
Microcontroller running at 5V, one of the answer is:
Use a driver array like ULN2003.

Hope I have had a good translation fron korean to spanglish Very Happy
AND you understand the idea.

Best wishes,

Humberto
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