This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

internal patterns for structured light applications

Hi,

I am doing a project on dlp pico projector. I have connected the pico projector to the beagle board. I have performed all the tests given in the beagle board revision C4.

Now I would like to use the internal patterns for my structured light applications.    My questions are :

How and where can I change the default modes?.

how to get the internal patterns?

what are the commands that are used?

where to execute these commands?

Please help me.

Thank you in advance.

  • Pragnya,

    Welcome to the DLP & MEMS E2E forum.

    There are documents which can be downloaded from http://ti.com/mems.

    Look for a box on the left "MEMS Devices". Click on "0.17 HVGA Chipset". Then, look for "Application Notes". Click on "Using the DLP Pico 2.0 Kit for Structured Light Applications". This document will tell you all about the SL patterns.

    You should also click on "DLPC100 in the table. This will lead you to a page where you can find "User Guides". Download the "DLP Pico Chipset v2 Programmer's Guide".

    These documents should answer your questions. Also, look through other questions which have been answered on this forum. You may find some helpful answers there.

    Best regards,

    Pascal

  • Hi  Sir,

    thanks for reply.

    Sir, as you suggested I have gone through "Using the DLP Pico 2.0 Kit for Structured Light Applications" and  "DLP Pico Chipset v2 Programmer's Guide". I understand that we can communicate with the pico projector by connecting i2c bus to the auxillary connector or through HDMI source. I tried executing i2c command "bus3-i2c 0x1b wb4 0x11 0x00000000" through HDMI . But I got like "bus3-i2c not found".

    I want to know why this "bus3-i2c not found" is coming .

    Do I need to execute any other commands before executing i2c commands?

    Did I do any mistake in forming a command?

    If we have a command "i2c sub-address x04, data x00000000" . What is sub-address, data? How this address,sub-address,data can be extracted from the material "DLP Pico Chipset v2 Programmer's Guide" ?

    Please help me.

    thank you in advance.   

  • Pragnya,

    It sounds like the package i2c-tools is not installed in your Linux. Which Linux version are you using - Angstrom? You must install the i2c-tools package for the bus3-i2c command to be available.

    You will need to use the package manager in your Linux on the BeagleBoard to download and install the i2c-tools package.

    Best regards,

    Pascal

  • hello sir,

    To communicate with the DLP pico projector is it compulsory to connect i2c bus to the auxillary connector ? or can we communicate through HDMI source unlike connecting the bus externally as shown in "I2C Interface for Pico 2 Development Kit" post. Iam very much confused.

    please help me out.

    thank you in advance.

    Pragnya.

  • Pragnya,

    Yes. It is possible to communicate to the Pico Kit v2 via the I2C bus in the HDMI connector. However, it requires a source device which can do this, and software to do it.

    The BeagleBoard (both pre-xM and xM) have this capability when loaded with Linux (Angstrom Distribution) and running i2c-tools. This software implements commands which are of the form "bus3-i2c 0xNN 0xMM". Please do a search of Google to learn more about this from the BeagleBoard and Pico user communities.

    Bus3-i2c is the one which normally queries the EDID in the projection device. The Pico Kit v2 has such an EDID, which reports back its resolution and timing requirements. However, after the Pico Kit v2 has initialized, the EDID i2c bus is available for commands to the DMD controller (DLPC100). Be very careful - the other i2c busses (other than bus3) are used to set up the BeagleBoard processor and voltage regulators. You don't want to send commands on those busses!!

    Best regards,

    Pascal

  • hello sir,

    thank you for the reply.

    Sir, can you please tell me how can we install i2c tools package in linux on beagle board. I have downloaded and extracted "i2c-tools-3.0.2.tar.bz2" in my linux host PC since I dont have these tools in my synaptic package manager.

    Could you please tell me what is the next step I have to take to install these packages in linux which is on the beagle borad.

    thank you in advance.

    Pragnya.

  • Pragnya,

    There is a binary package for the BeagleBoard (ARM processor) which can be gotten from Angstrom repository. Since i2c-tools is available in source, that may be what you have downloaded. You would have to compile this on the BeagleBoard, and I'm pretty sure that you don't have the tool chain on the BeagleBoard linux to do that.

    I am away from the office at this time, so I can't check my BeagleBoard setup. You can do some searching about the ARM binary for i2c-tools. If you can not install it using the Angstrom package manager over the internet, you can possibly download it on your Linux PC and then copy it to your BB SD card.

    Best regards,

    Pascal

  • Hello sir,

    I installed the latest angstrom demo image on beagleboard rev C4 using
    SD card. Logged in as root. Pico projector is connected to HDMI port
    and shows the login screen. I have a serial port connected with tera
    term pro and a mouse and keyboard connected to beagleboard. I can play
    the included BigBunny movie on pico projector.

    However, running bus3-i2c or picodlp command gives the following
    statements

    root@beagleboard:~# bus3-i2c
    -sh: bus3-i2c: not found

    root@beagleboard:/dev# uname -a
    Linux beagleboard 2.6.28-omap1 #2 Thu Feb 19 12:45:34 IST 2009 armv7l
    unknown

    root@beagleboard:/dev# ls i2c
    ls: i2c: No such file or directory

    when i type the command "uname -a" its not showing that i2c buses 1,2,3 exists.

    I tried to load the i2c tools also but in vain.

    so please help out in completing my project on structured light applications using this dlp pico projector .

    thank you in advance.

    pragnya.

  • Pragnya,

    Is your BeagleBoard connected to the internet via the Ethernet port? This makes it a lot easier to install packages.

    If you are connected to the internet, use dpkg (the Angstrom package manager) to install i2c-tools.

    I believe the command is:

    sudo dpkg -install i2c-tools

    Otherwise, if you can download the install package on another computer and copy it to the home directory on the SD card before booting the BB. Then you need to use dpkg to install it. Please do some searches on using dpkg in Angstrom.

    You may need to get help from the Angstrom and BeagleBoard user community. There are forums which you can post your questions on.

    Best regards,

    Pascal

  • hello sir,

    i have downloaded i2c-tools-3.0.2.tar.bz2 from http://www.lm-sensors.org/wiki/I2CTools.

    I tried to compile the i2c tools using arm cross compiler. I have done the following steps.

    #mkdir /data
    #cp -av /media/KINGSTON/arm-2009q1-203-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2 /data/
    #cp -av /media/KINGSTON/i2c-tools-3.0.2.tar.bz2 /data
    #cd /data
    #tar -xvf arm-2009q1-203-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2
    #tar -xvf i2c-tools-3.0.2.tar.bz2
    #cd i2c-tools-3.0.2
    #make cc=/data/arm-2009q1 prefix=/media/LABEL2 (SD Card root file system)
    #make cc=/data/arm-2009q1 prefix=/media/LABEL2 install

    I couldnot the binary file for i2cbusses.c.when i put the SD card containing these folders in the beagle board, I should be able execute the i2c commands.the execution of commands giving errors.iam unable to activate the bus3-i2c.

    beagleboard login: root
    root@beagleboard:~# cd /media/mmcblk0p2
    root@beagleboard:/media/mmcblk0p2# ls

    bin         include     lost+found  sbin        share      
    root@beagleboard:/media/mmcblk0p2# cd sbin/
    root@beagleboard:/media/mmcblk0p2/sbin# ls
    i2c-stub-from-dump  i2cdump             i2cset
    i2cdetect           i2cget
    root@beagleboard:/media/mmcblk0p2/sbin# i2cdetect -l
    i2cdetect: line 1: syntax error: "(" unexpected

     

    please help me in loading the tools into to the board and get the i2c commands executed. tell me anywhere if i have gone wrong in doing the above commands.

    thank you.

    pragnya.

     

     

     

  • Pragnya,

    The only thing that comes to mind right away is this: did you set the file permissions as executable? You don't say exactly what the failure is. Can you execute the commands and they don't do what you expect? Or, is it that you can't execute the commands? If the commands are not executing, then it is most likely a permissions issue.

    When I have set up a BeagleBoard with i2c-tools I used the Angstrom package manager (dpkg) to install it directly from the repository. So, I didn't build it under Linux on the PC.

    You may want to post questions about building tools for the BeagleBoard on the BeagleBoard support forums (see http://beagleboard.org).

    Best regards,

    Pascal