Skip to content

Kurokesu/motorized_zoom_lens

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is deprecated mk1 controller design. For updated more advanced controller please check new GitHub repository https://github.com/Kurokesu/SCF4-SDK


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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published