View previous topic :: View next topic |
Author |
Message |
NewSpace
Joined: 23 Sep 2003 Posts: 12 Location: South KOREA
|
How to control SONY Video camera. with LANC |
Posted: Mon Jun 04, 2007 10:12 am |
|
|
Dear sir
Hello? nice to meet you.
My name is Sang hyouk Kim from south KOREA.
Please understand my English. I mean I'm poor english.
I wanna control sony video camera with LANC protocoll
but I don't know every thing....
Please give any infomation.... source or circuit...
Thank you~! _________________ Hello~?
This is South KOREA
My name is Sanghyouk Kim But Call me Nick
Sorry I'm poor English |
|
|
Steve H Guest
|
|
Posted: Mon Jun 04, 2007 10:37 am |
|
|
With Google you can find pages that show how the LANC works, or ELM Electronics, sells a Serial to LANC converter IC which might be quicker. I have used this IC (based on a PIC uP) and it works well.
HTH - Steve H. |
|
|
NewSpace
Joined: 23 Sep 2003 Posts: 12 Location: South KOREA
|
Dear Steve H |
Posted: Thu Jun 07, 2007 12:08 am |
|
|
Thank you
I have data sheet.....
but I don't know control mean software....
If you have C code... then Can you give me? _________________ Hello~?
This is South KOREA
My name is Sanghyouk Kim But Call me Nick
Sorry I'm poor English |
|
|
NewSpace
Joined: 23 Sep 2003 Posts: 12 Location: South KOREA
|
example code |
Posted: Thu Jun 07, 2007 2:52 am |
|
|
######################################
# #
# LANC Control with Video Camera #
# V 0.1 #
# Sang Hyouk Kim #
######################################
#include <16F84.h>
#fuses NOWDT,XT, PUT, NOPROTECT, NODEBUG, NOBROWNOUT, NOLVP, NOCPD, NOWRT
#use delay(clock=4000000)
#use rs232(baud=9600,parity=N,xmit=PIN_C6,rcv=PIN_C7,bits=8)
#byte port_a=0x05
#byte port_b=0x06
int i;
int key_code;
void main()
{
##### How to Init Device....
while(i)
{
switch(key_code)
{
case 0:
{
### How to Send code
break;
}
case 1:
{
out code
break;
}
}
}
} _________________ Hello~?
This is South KOREA
My name is Sanghyouk Kim But Call me Nick
Sorry I'm poor English |
|
|
|