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
Posted: Fri Dec 03, 2004 11:33 am
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
Posted: Fri Dec 03, 2004 5:12 pm
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
AND you understand the idea.
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