|
|
View previous topic :: View next topic |
Author |
Message |
NewSpace
Joined: 23 Sep 2003 Posts: 12 Location: South KOREA
|
How to coding RS232 (one wire) |
Posted: Fri Jun 08, 2007 3:10 am |
|
|
Hi?
Thank you for reading.
I wanna control LANC
It's have only one line.... LANC, VCC, GND
I wanna use PIC with CCS-C...
First 4 byte is Send MSG and 4 byte is receive MSG...
But How to connection from LANC to RX / TX
and How to coding
ex>
I wanna send 0x12 0x23 0x 34 0x45 and receive mode A B C D
IF you know please teaching me connection and coding.
thank you~! _________________ Hello~?
This is South KOREA
My name is Sanghyouk Kim But Call me Nick
Sorry I'm poor English |
|
|
Ttelmah Guest
|
|
Posted: Fri Jun 08, 2007 4:18 am |
|
|
You will need to have a pull up resistor on the line, and use the 'FLOAT_HIGH' keyword, in #use RS232. LANC, is a Sony protocol, using 'control-L' signalling, which is a standard used on quite a few cameras, and is an open-collector drive, which this command emulates. Most cameras contain the required pull-up, but you should verify this, and I would suggest having a largish pull up present at your end of the connection, even if there is a pull up at the other end, since this will prevent the line from floating to an indeterminate state, if the camera is not present.
Best Wishes |
|
|
dyeatman
Joined: 06 Sep 2003 Posts: 1933 Location: Norman, OK
|
|
|
|
|
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
|