Arduino Mini LANC Controller (Power problem)

hi.

I'm working on a LANC controller for my camera. I've been playing around on this code
http://findlayproductions.ca/gooseblog/?p=5
from Goose's Tech (via Brady Marks
http://blog.furiousgreencloud.com/2008/08/arduino-speaks-to-lanc-devices-camera.html).:wink:

Good: the code works. I've implemented a REC/STOP button(the true need, beside the tele/wide function), and some others functions.
I'll upload everything on the wiki after is working better (some few weeks).

My only problem is the power supply: In the code provided from Goose the Vin actually send the data to the camera.
Since I'm working on the (very fragile) Mini I'm asking myself:
What is it going to happen if I connect both the wire going to the camera and the power supply from the 9V battery to the same pin?

here's where it's explained in the code:

* LANC 2.5mm plug sleeve to Arduino Ground
* LANC 2.5mm plug ring to Arduino Vin (input to regulator, NOT 5V)
* LANC 2.5mm plug tip to Arduino Digital Pin 2

any ideas?
Cheers
Davide

really?
I'm just afraid to burn the board... :-[ :-[ :-[ :-[

If someone else is having the upwritten doubt:
go ahead, it's going to work.
Vin behaves in both ways.
Everything just works.

Back on LANC mapping.

Did you ever get any further on this?

I'm keen to see if I can use arduino as a personalized LANC remote for my Canon -- have some buttons that perform macros of actions on demand, for example.

Do you read from the ceamera too, or just send?

thanks

It is possible to read from the camera.
the camera should give you back a huge number which shoud be divided anc becoming timecode & date.

in the lanc documentation it says lanc is a bidirectional protoco...

anyway I'm currently using (and testing, then I'll may post everything) an arduino lanc controller.
Still has some problems
(I have a canon xh ai. It doesn't work on old xm2)
which is your camera?

p.s. at th end I connected the 9 V and everything worked. still doubtful

Thanks!

I have the new Canon HF S11 & await the LANC interface module.

I have a hunch that I can use LANC to quickly get at just about all the functions in the camera, if I automate the menu navigation. I've also got a hunch that Canon uses the LANC/Minishoe interface to query the state of the camera during QA testing. So a "smart" LANC could potentially be useful for more than just zooming and the occasional intervalometer task! We'll see....

definetly.

I think there is a compatibility issue.
I'm just waiting to check in other new ways the real behaviour of the lanc (maybe through oscilloscope)

i.e. I think the cameras "offers" a 5V to the lanc.
sometimes the lanc works with no batteries.
just sometimes