Software for open-source motorized CS zoom lens controller
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
arduino added recent hex files Mar 24, 2017
images
pc_control
.gitignore
LICENSE
README.md

README.md

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