Resistive Touchpanel

  • I try to connect a resitive touchpanel, but it does not really work. If I try to calibrate the touch, it does not recognize every touch, I have to try several times. The panel itself works, I already tried another of the same type.


    Is there a tool to monitor the input?
    Are there any parameters for the touch controller? I tried to find some documentation, but failed to find one.

  • Update: It seems the wiring was wrong on the armStone side, Pin 1 (YM) is connected to YM of the touch, Pin 3 (XM) to YP of the touch, Pin 2 (YP) to XM and Pin 4 (XP) to XP. Maybe the documentation of my touchpanel and the other controller is wrong ;)


    The touch reacts to every hit now, directions seem to be right, but calibration still does not work. It lets me tap around forever, not telling me anything. I tried starting it from windows system control and from ndcuconfig.

  • Hello,
    can describe that behavior in more detail please?
    When you touch near the four corners in which direction goes the offset?


    Which resolution (columns x rows) has your display?
    And which setting do you apply for the display?
    Which size (diagonl ["]) have your touch?
    To which value do you set "MaxCalError" (>50)?


    Maybe i can reprduce it in my office.


    Beside:
    the touch wires should be short, should have equal length and keep far away from EM sources (e.g. CFL).

  • It is a 800x600, 8.4" TFT panel, touch has same size.


    MaxCalError is set to 20. I have tried builtin display settings (display mode 1) and custom settings, makes no difference.


    When I touch near the corners, the recognized position is nearer to the corner than it should be. I.e. if I tap to lower left corner, the cursor moves to much down and to much left.


    The touch wires are ~10cm long and far away from the backlight inverter (still CFL). I have measured with scope (isolated), the signal looks ok, execpt that the ramps are "damped" (like if there would be some cap attached to the signal lines, but the caps on the armStone board look quite small).


    Thanks for your help!

  • Ok, your enviroment looks quiet good.
    I understand right - you do not have a translation! If you touch lower left the cursor is more lower left and if you touch upper right the cursor is more upper right? Thats strange! How many pixels do you estimate is the difference.

    F&S Elektronik Systeme GmbH
    As this is an international forum, please try to post in English.
    Da dies ein internationales Forum ist, bitten wir darum, Beiträge möglichst in Englisch zu verfassen.

  • Quote from "paul.brazda"

    When I touch near the corners, the recognized position is nearer to the corner than it should be. I.e. if I tap to lower left corner, the cursor moves to much down and to much left.


    If you don't have a correctly calibrated touch, such divergences are normal. This will disappear after a successful calibration.

    F&S Elektronik Systeme GmbH
    As this is an international forum, please try to post in English.
    Da dies ein internationales Forum ist, bitten wir darum, Beiträge möglichst in Englisch zu verfassen.

  • The calibration itself works somehow, since the directions and the center is right after calibration.


    Is there any other parameter I can change in the touch controller itself? Any timings? Maybe the capactiy of my touch is to high, so the sampling time should be higher

  • Hello,
    we just rework the touch panel driver. The new version will be available at KW35/2012.

    F&S Elektronik Systeme GmbH
    As this is an international forum, please try to post in English.
    Da dies ein internationales Forum ist, bitten wir darum, Beiträge möglichst in Englisch zu verfassen.

  • Hello,
    driver rework is done.
    We will include the reworked driver version into the next kernel release. In the meanwhile you can use the attached driver file.


    1. Copy the fiel to \ffsdisk
    2. Register the driver by using "NDCUCfg":

    Code
    1. reg open \hardware\devicemap\touch
    2. reg set value Drivername string \ffsdisk\touch.dll
    3. reg save


    For special improvements check the touch driver section in the device driver document.

    Files

    • touch.zip

      (13.52 kB, downloaded 409 times, last: )

    F&S Elektronik Systeme GmbH
    As this is an international forum, please try to post in English.
    Da dies ein internationales Forum ist, bitten wir darum, Beiträge möglichst in Englisch zu verfassen.