Giter Site home page Giter Site logo

tr_pump_shutter's Introduction

TR_pump_shutter

Pump shutter for TR setup in Cuk lab

The pump shutter is designed to block the 266 pump light during closed circuit data acquisition to prevent sample burning while the cameras upload data to the computers. This will allow us to acquire more delays per row and reduces sample waste.

The program in this git has several features that allow it to be used during live tweaking and during data acquisition:

  1. open/closed/triggered mode of operation
  2. button press to switch between open/closed mode of operation
  3. serial communication to switch mode of operation

The open/closed mode of operations are as described: shutter open or shutter closed. The triggered mode of operation is still being written but will accept an external trigger to open/close the shutter and return a 3.3 V signal to indicate the shutter status.

The button press mode of operation works when the shutter is in the open/closed mode. The idea is that the shutter can be opened and closed at the press of a button so that the user does not have to run serial operation.

The serial communication is designed for programmed operation. The following commands are available:

sl#: sets lower/closed servo angle where # is an integer from 0 to 180 deg.

su#: sets upper/open servo angle where # is an integer from 0 to 180 deg.

m#: sets shutter operation mode where # = 0 is closed, # = 1 is open, and # = 2 is triggered

rl: return from serial lower/closed angle

ru: return from serial upper/open angle

rm: return from serial current mode of operation

fw: writes current angles to EEPROM

fr: reads current angles from EEPROM

tr_pump_shutter's People

Contributors

ilyavino avatar jamesstwrt avatar michaelpaolino avatar ilyavinotest avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.