Skip to main content

Control scripts for the OpenFlexure Nano Motor Controller

Project description

OpenFlexure Motor Controller

This aims to be a super-simple motor controller, based on an Arduino Nano and a couple of Darlington pair ICs. It controls cheap 28BYJ-48 steppers, as used on the OpenFlexure microscope and stage. It owes quite a bit to [Fergus Riche’s motor board](, the hardware developed by [OpenScope]( and the Arduino-based motor controller used by a number of summer students working with Richard Bowman in Cambridge, particularly James Sharkey.


Richard Bowman (University of Bath, UK) wrote the initial version of the Arduino and Python code and maintains the module. Valerian Sanga (STICLab, Tanzania) did the initial PCB design & production, and maintains the PCB design Fergus Riche (University of Cambridge, UK) hacked the stepper library to make it work with the stepper motors we are using, and is a major contributor to the v3 PCB design. Boyko Vodenicharski and Filip Ayazi (University of Cambridge, UK) contributed Python 3 support, endstop support, and Arduino code that works on v3 of the hardware.

This project is (c) 2017 by the contributors, and released under CERN Open Hardware License (hardware designs) and GNU GPL v3.0 (software).

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

openflexure_stage-0.2.1.tar.gz (14.9 kB view hashes)

Uploaded source

Built Distribution

openflexure_stage-0.2.1-py2-none-any.whl (18.0 kB view hashes)

Uploaded py2

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page