• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » DLP & MEMS » New DLP Applications & Technology Forum » DLP programming for control of micro-mirror array
Share
DLP & MEMS
  • Forums
Options
  • Subscribe via RSS

Forums

DLP programming for control of micro-mirror array

This question is answered
Alonzo Espinoza
Posted by Alonzo Espinoza
on May 16 2012 14:35 PM
Prodigy120 points

Hello I am a new fresh student still trying to learn more about programming the DLP Pico 2.0 kit.  I have a beagleboard to communicate with the DLP projector and I am mostly interested in learning how to get the 8-bit monochrome setting, and eventually I will want to be able to manipulate the micro-mirror array.  I am hoping someone can lead me in the right direction or provide me with any guides online.  Please forgive me for my lack of searching the web, I have done some research and am reading through Programmer's Guide and the Application report: Using the DLP Pico 2.0 kit for structured Light Applications.

Again any help would be most helpful and I thank you for your time and patience in dealing with a "newbie" like me.

-Alonzo Espinoza

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Pascal DLP
    Posted by Pascal DLP
    on May 16 2012 14:54 PM
    Expert7585 points

    Alonzo,

    Welcome to the TI DLP&MEMS E2E forum.

    You have already found the two most helpful documents - http://www.ti.com/litv/pdf/dlpu002a and http://www.ti.com/litv/pdf/dlpa021a - the Programmer's Guide and the Structured Light App Report. There have also been a lot of questions asked and answers given on this forum. Search, or browse the forum.

    Also, there are lots of resources (forums, websites, etc.) about the BeagleBoard which can be very helpful.

    Perhaps others on the forum who have already climbed up the learning curve will be willing to share some tips with you.

    Best regards,

    Pascal

    Best regards,

    Pascal

    structured light Pico Kit V2
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Alonzo Espinoza
    Posted by Alonzo Espinoza
    on May 16 2012 14:58 PM
    Prodigy120 points

    Thank you very much, I will definitely search around some more and see if I can dig up more information.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Alonzo Espinoza
    Posted by Alonzo Espinoza
    on Jun 04 2012 17:01 PM
    Prodigy120 points

    Actually I have a few questions.  I have installed Angstrom v2012.05 Kernel 3.0.17 and I have ran an opkg update and opkg upgrade.

    when I type in 

    root@beagleboard:/dev# uname -a

    I get:  Linux beagleboard 3.0.17+ #1 Wed Jan 25 16:33:50 CET 2012 armv71 GNU/Linux

    and when I check for the i2c 

    root@beagleboard:/dev# ls i2c*

    I get: i2c-1 i2c-3

    so when I type in a command for the pico kit v2 like 

    root@beagleboard:/dev# bus3-i2c 0x1b wb4 0x04 0x00000001

    all that is returned is: -sh: bus3-i2c: command not found


    I have tried reading multiple forums and posts, but I am still confused on what is going wrong.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Pascal DLP
    Posted by Pascal DLP
    on Jun 05 2012 13:11 PM
    Expert7585 points

    Alonzo,

    Are you sure that you have installed i2c-tools ?

    See: http://www.lm-sensors.org/wiki/I2CTools

    However, you will need to install the package for Angstrom Linux.

    If it is already installed, do you have /usr/bin in your path? The command is located at /usr/bin/bus3-i2c

    Best regards,

    Pascal

    Best regards,

    Pascal

    i2c Pico Kit V2
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Alonzo Espinoza
    Posted by Alonzo Espinoza
    on Jun 13 2012 11:36 AM
    Prodigy120 points

    Right so I tried looking and looking around and couldn't solve my situation, so I decided to start over.

    So I have a Beagleboard Rev C4

    I got a 4gb SD, and I partitioned the SD properly

    as for the files I put in

    I put in the first partition

    MLO   
    u-boot.img 
    uImage 
    
    
    Then in the second partition I put in
    Angstrom-Beagleboard-demo-image-glibc-ipk-2011.1-beagleboard.rootfs.tar.bz2  
    and properly untar the image as well as delete the .tar.bz2 file
    
    
    Then I inserted my SD card into the BB and angstrom loaded up properly.  I opened up terminal and typed in
    >> opkg update
    >> opkg install i2c-tools
    >> opkg install i2c-tools-dev
    
    
    I still cannot access bus3-i2c comands from terminal.
    
    
    Did I do something wrong?  I need the bus3-i2c terminal control so I can control my pico dlp projector kit
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Pascal DLP
    Posted by Pascal DLP
    on Jun 13 2012 13:23 PM
    Verified Answer
    Verified by Alonzo Espinoza
    Expert7585 points

    Alonzo,

    I'm very sorry. I thought that the bus3-i2c command was included in the Angstrom Linux build, and that it was included in i2c-tools package. Apparently not.

    I have attached a BeagleBoard binary (executable) of bus3-i2c in a zip file.4377.bus3-i2c.zip. Put this in your BB Linux, and unzip it into /usr/bin. Make sure that you are "root", or use "sudo". Make the file executable by issuing the command: chmod +x bus3-i2c. This should make it available for use.

    Best regards,

    Pascal

    Best regards,

    Pascal

    i2c Pico Kit V2
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Alonzo Espinoza
    Posted by Alonzo Espinoza
    on Jun 14 2012 13:22 PM
    Prodigy120 points

    Ah yes thank you very much, this solved everything now.  I truly appreciate the helpfulness and speed on answering this question.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Pascal DLP
    Posted by Pascal DLP
    on Jun 14 2012 13:35 PM
    Expert7585 points

    Alonzo,

    That's great to hear.

    I hope your your development/evaluation with the Pico Kit v2 goes well. If you have further questions or problems, please ask.

    Best regards,

    Pascal

    Best regards,

    Pascal

    Pico Kit V2
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Alonzo Espinoza
    Posted by Alonzo Espinoza
    on Jun 14 2012 15:35 PM
    Prodigy120 points

    Hello it is me again, I want to setup an external pattern, specifically 8-bit monochrome.  We I want to do eventually is get my own patterns sent through.

    1) Now for the setup would this shell script work:

    # setting up external pattern
    bus3-i2c 0x1b wb4 0x04 0x00000000 # Select Parallel RGB input source
    bus3-i2c 0x1b wb4 0x05 0x00000007 # VGA landscape
    bus3-i2c 0x1b wb4 0x24 0x00000001 # External vertical sync

    # Reduce LED current to about 350mA
    bus3-i2c 0x1b wb4 0x0E 0x00000287 # Red
    bus3-i2c 0x1b wb4 0x0F 0x00000287 # Green
    bus3-i2c 0x1b wb4 0x10 0x00000287 # Blue

    # Disable non-linear pixel processing
    bus3-i2c 0x1b wb4 0x82 0x00000006 # Automatic Gain Control off
    bus3-i2c 0x1b wb4 0x92 0x00000000 # Color Coordinate adjustment off
    bus3-i2c 0x1b wb4 0x26 0x00000000 # Video/graphics enhancements off
    bus3-i2c 0x1b wb4 0x62 0x00000000 # Non-linear processing inhibit

    # Display Mode select
    bus3-i2c 0x1b wb4 0x1F 0x00000004 # 8-bit monchrome

    2) And from there what would be a good way to start getting different patterns setup?

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Alonzo Espinoza
    Posted by Alonzo Espinoza
    on Jun 14 2012 17:14 PM
    Prodigy120 points

    2) For the patterns I was thinking of using python to get the specific patterns I wanted, does that sound right?

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Gavin Smith
    Posted by Gavin Smith
    on Jun 27 2012 21:46 PM
    Intellectual495 points

    I'd suggest using processing.org as to create your patterns. We have done a with realtime 1440 fps mode on the pico 2, and have written software using processing, which naturally lends itself to this kind of thing.

    Its based around java, and there are lots of example of how to manipulate color values for pixels which is very important.

    For 1440 fps mode, we have an array of bit masks, which we cycle though and use the logical &s to combine them together to create 'colorspace multiplexed' values for each pixel. Its sounds complcated, but it actaully quite simple.

    There are thousands of example programs for processing on the web and lots of libraries for differnent types of input/output methods.

    Have fun.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Alonzo Espinoza
    Posted by Alonzo Espinoza
    on Jul 02 2012 11:05 AM
    Prodigy120 points

    Though now I have ran into another problem.  The Angstrom Demo, after I tried an opkg install pygame and pygtk and pycairo for certain imaging programs, when I tried to import pygame and the others I kept on getting an error that atexit module was missing, can anyone help me with that?

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Pascal DLP
    Posted by Pascal DLP
    on Aug 01 2012 10:16 AM
    Expert7585 points

    Alonzo,

    Sorry for the long delay in responding. Did you find a resolution for your question?

    I can not offer much help with this type of question. I suggest that you try a support group for Angstrom Distribution (http://www.angstrom-distribution.org/). Perhaps the Angstrom Users mailing list could be useful: http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-users

    Also, Google searches could turn up others who have grappled with the same problems, and what they found as solutions.

    Best regards,

    Pascal

    Best regards,

    Pascal

    Angstrom Linux
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use