Magic Lantern Forum

Developing Magic Lantern => Feature Requests => Topic started by: JohnBarlow on October 16, 2013, 06:56:38 PM

Title: Can ML communicate to devices outboard of camera?
Post by: JohnBarlow on October 16, 2013, 06:56:38 PM
I am looking at an outboard motor driven follow focus device and wonder whether ML can be used to control it.

I am thinking maybe ML can communicate thru USB for sending and receiving control commands to this device.

Can someone expert in the ways of ML tell me if this can be implemented?
Title: Re: Can ML communicate to devices outboard of camera?
Post by: nanomad on October 16, 2013, 11:21:03 PM
You can use PTP for bi-direction communication with the camera (just write a custom PTP message and handle it from ML PTP module). You obiviously need a custom board that can speak "PTP" (Linux-powered ARM board?)
Title: Re: Can ML communicate to devices outboard of camera?
Post by: SDX on October 16, 2013, 11:26:19 PM
A few posts and builds in this area:
http://www.circuitsathome.com/category/camera-control

PTP libraries are found everywhere for many platforms. For prototyping purposes, consider:
https://github.com/felis/PTP_2.0 (Arduino)
Title: Re: Can ML communicate to devices outboard of camera?
Post by: arrinkiiii on October 16, 2013, 11:36:36 PM
It would be nice if people share this projects. Some one in this forum make an arduino + motor controlled with the camera for time lapse... but look like that never more we hear about the code/project  :(
Title: Re: Can ML communicate to devices outboard of camera?
Post by: JohnBarlow on October 17, 2013, 03:33:17 AM
Thanks guys, you just made my day !!!


So ML can speak PTP through the USB, well waddiya know, thats fantastic