raaka1 / motorized_zoom_lens

Software for open-source motorized CS zoom lens controller

Home Page:http://www.kurokesu.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python

  1. Install pyqt:
  1. Install python packages:
  • pip install enum34
  • pip install pyserial

Images

Arduino IDE setup

  • I was developing on Arduino IDE version 1.6.4, but should work on newer.
  • Tools -> Board -> "Arduino Nano"
  • Tools -> Processor -> "Atmega328"
  • Tools -> Port -> Chose one you are using

Commands

G0

Move motors to new position

Example [G0 X100 Y100] - to move motors to new position

G92

Set position to defined

Example [G92 X0 Y0] - to set current position as 0

M0

Instant stop

Example [M0]

M98

Experimental set motor power

Example [M98 R1]

  • R1 -> 33% (default)
  • R2 -> 50%
  • R3 -> 67%
  • R4 -> 100%

M99

Experimental set movement speed

Example [M99 R100], default R=600, The smaller value, the faster motion

About

Software for open-source motorized CS zoom lens controller

http://www.kurokesu.com

License:GNU General Public License v3.0


Languages

Language:Python 67.4%Language:C++ 32.6%