Home PanTilt JMux Contact

Pan Tilt from Python and PyUSB

This has been developed and tested using Python2 on a Raspberry Pi 3. It may work under Mac, Windows and other flavours of Linux, but frankly I am no expert on these things and can't offer much in the way of support.

Download pantilt.py

Pan Tilt Demo App and DLL

At last, what scores of hobbists and photography geeks around the world have been waiting for! A poor apology for an SDK for the PanTilt Controllers. This is a C# .NET project that demonstrates the use of a DLL that I have written to drive the Pan Tilt Controller. It can be compiled with C# Express (available by free download from Microsoft) or Visual Studio. It can then be used as a basis for writing your own applications to use the PanTilt Controller, including the LANC version.

Download the demo application

The demo app and DLL are supplied "as is" without any warranty either expressed or implied. It has not been extensively tested. You are welcome to redistribute it, or applications built on it.

Hopefully it is fairly self explanatory. The DLL contains a number of functions the use of which is not supported, in the future I hope to make it more "user-friendly" by hiding these but for now I recommend sticking to the functions that are demonstrated in the demo app.

To use with the standard PanTilt Controllers you will need the D2XX driver which is supplied on the Expedition Electrics software CD and which can be downloaded from www.ftdichip.com/Drivers/D2XX.htm, I recommend the setup executable for convenience. The Special PanTilt Controllers (Relay and LANC) are HID devices and so do not need drivers.

If you want more info on the LANC protocol, the best reference I have found is http://www.boehmel.de/lanc.htm.