Coder Social home page Coder Social logo

ycl-phy / dmdconnect Goto Github PK

View Code? Open in Web Editor NEW

This project forked from deichrenner/dmdconnect

0.0 1.0 0.0 358 KB

This Matlab package provides a connection to the LightCrafter EVM6500 DLP evaluation platform.

License: Other

MATLAB 83.48% Objective-C 0.13% C 9.16% Mathematica 7.23%

dmdconnect's Introduction

DMDConnect

This Matlab package provides a connection to the LightCrafter EVM6500 DLP evaluation platform. The code is based on the usb communication library hidapi and its Matlab implementation realized by Peter Corke. For a working progress bar you need to download the textprogressbar function from FileExchange. Copy the file to the helperFunctions folder.

The most important functions are implemented Command.m and DMD.m. Have a look at the DLP C900 Programmer's Guide for a better reference of the individual commands implemented in this toolbox.

Cross Platform Compatibility

The hidapi implementation should work on Windows, OSX and Linux likewise. However, the communication has only been tested under Windows so far.

Known bugs

  • There is still a better error handling needed.
  • Some more comments in the code would make it better understandable.

Example

Make the DMDConnect package known to your Matlab installation by adding it to the path.

Connect the EVM6500 board to your computer.

Initialize a DMD object: d = DMD('debug', 1);

Get the firmware version: d.fwversion % returns the actual firmware version of the board

Set the mode of the DMD to the internal pattern mode. d.setMode(1) % Pre-stored pattern mode

Activate a checkerboard testpattern. d.testPattern(7) % Activate a checkerboard testpattern

Put the DMD to sleep. d.sleep % Enter standby mode

Wake it up again. d.wakeup % Wake up again after standby

Put the DMD to idle mode in order to equalize the on/off state of single pixels. d.idle % Idle mode

Put the DMD to active mode back again. d.active % Back to active after idle

Display some matrix I on the DMD I = [ones(500,500) zeros(500,500)]; d.display(I);

Scientific Usage

If you use this code for scientific purpose, please cite it as DOI

Licensing

This toolbox is based on the hidapi implementation written by Peter Corke in the framework of his robotics toolbox. The original source code can be found on http://www.petercorke.com/Robotics_Toolbox.html.

Author: Klaus Hueck (e-mail: khueck (at) physik (dot) uni-hamburg (dot) de) Version: 0.0.1alpha Changes tracker: 28.01.2016 - First version License: GPL v3

dmdconnect's People

Contributors

deichrenner avatar

Watchers

James Cloos 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.