IMDTouchKnowledge BaseShop main store

How-to

Calibrate a resistive touch overlay in its USB controller

HMI and touchscreens Published 6 min read

Short answer

Windows stores its touch calibration on the PC, so it never reaches a machine controller. Run the touch board maker's driver utility instead, complete the nine-point calibration while the board is still connected to the PC, and let it write the correction into the board. The board then reports aligned coordinates to every host it is plugged into.

On this page
  1. Why the Windows calibration does not travel
  2. Store the nine-point calibration in the controller board
  3. Coordinate resolution for a 17-inch 4:3 overlay on a 1024-count board
  4. Video and touch use separate cables
  5. When the axes point the wrong way
  6. Verify on the machine controller
  7. Questions asked

A resistive touch overlay that misses the edge buttons after a Windows calibration does not need more attempts on that PC. It needs its correction written into the USB controller board. Run the board maker's Windows driver and calibration utility, complete a nine-point calibration while the monitor and board are still connected to the PC, and let the utility store the result in the board. The board then reports corrected coordinates to any host you plug it into, including a machine controller that has no touch calibration settings of its own.

Why the Windows calibration does not travel #

The built-in Windows touch calibration lives in that Windows installation's input stack. The USB board keeps reporting its raw panel coordinates, and the PC corrects them after the fact. Move the same board to a machine controller and it reports the same raw, uncorrected coordinates, because nothing on the board changed. That is why a screen that aligned perfectly under Windows can miss every edge button on the controller.

Sort the two failure kinds before touching calibration. Presses that land near the target but miss the button are a coordinate-mapping problem, and board calibration fixes them. Touch that disappears entirely or drops out is a connection, power or enumeration problem, and no calibration fixes it. Compare a direct USB port against a hub path before blaming the panel. The same split between coordinate faults and connection faults is set out in the article on separating touch calibration failures from drift causes [article:touch-calibration-fails-or-drifts-separate-the-real-causes].

Store the nine-point calibration in the controller board #

  1. Read the board marking and get its own software. Note the printed part number and version exactly; on the board in the reported setup it reads STP-RAP45U2U-S V2.19. Boards like this often ship without software or a manual, so obtain the driver package from the board maker or the seller that supplied it, matched to that marking and to your Windows version.
  2. Align the overlay on the final monitor, in its final position, before calibrating. Moving the overlay afterward, or changing the monitor's image size or position, changes the relationship between the sensed area and the displayed image and invalidates the calibration.
  3. Connect the monitor's video cable and the board's USB cable to the Windows PC. Both must be live at once, because the calibration targets appear on the monitor while the board reports the touches.
  4. Install the driver package and open its calibration utility. Confirm the utility detects the board before going further; EETI-based boards use the eGalaxTouch package, which pairs the driver with a calibration tool.
  5. Run the nine-point calibration. Touch and hold each red target until the next one appears, working through all nine positions without shifting the overlay.
  6. Let the utility write the result to the board and keep the board connected and powered until the utility reports the write is complete. Interrupting the write is how a board ends up with a half-stored mapping.
  7. Move both cables to the machine controller: video to its display output, USB touch to its host port.
  8. Verify with the corners, not just the center. Touch the outermost buttons on each screen page. If edge presses still miss, rerun the calibration on this final geometry rather than adjusting settings on any PC.

Coordinate resolution for a 17-inch 4:3 overlay on a 1024-count board #

Inputs: a 17 in diagonal overlay on a 4:3 monitor, the setup this procedure comes from; and a coordinate grid of 1024 x 1024 counts, the resolution documented for the Microchip AR1100, a programmable USB resistive touch controller of this class.

Rule: on a 4:3 display the width is four fifths of the diagonal and the height three fifths. One coordinate step spans the active width divided by the counts per axis; convert inches to millimetres by multiplying by 25.4 mm/in.

Arithmetic:

  • Width = 4/5 x 17 in = 13.6 in; height = 3/5 x 17 in = 10.2 in
  • Step size = 13.6 in / 1024 counts = 0.0133 in/count
  • 0.0133 in x 25.4 mm/in = 0.34 mm per coordinate step

Result: the board's coordinate grid resolves about 0.34 mm across a 17-inch active area.

Decision: every button on a machine controller screen is several millimetres across, far larger than a 0.34 mm step, so coordinate resolution is never why edge presses miss. The miss is a mismatch between the board's stored mapping and the displayed image. Store the nine-point calibration on the final assembly; a higher-resolution controller solves nothing here.

Video and touch use separate cables #

The overlay bolts to the front of an existing monitor and adds no signal to the video cable, so a monitor with only one video input still works in this arrangement.

Connection Between What it carries
Video cable Host video output to monitor The displayed image
Panel ribbon, four wires Resistive overlay to controller board Raw electrode measurements
USB cable Controller board to host Corrected touch coordinates
Stored calibration Inside the controller board The nine-point correction, which travels with the board

When the display shows a picture but the host reports no touch device at all, the causes sit on the USB side, not the video side; the article on why HDMI video works but USB touch does not [article:why-hdmi-video-works-but-usb-touch-does-not-on-a-panel] walks that split.

When the axes point the wrong way #

One board in the reported setup needed its panel-connector pins swapped to orient the axes correctly, and even then the outer touch points still fell outside the buttons. Electrode assignment and coordinate calibration are separate issues: pin order fixes direction, the nine-point calibration fixes scaling and offset. Wire count alone does not identify electrode order, so check the panel and board pinout documentation before changing any connection, and power the board down before moving connector pins, because hot-plugging the panel ribbon can damage the controller.

If your board has no programming utility at all, it cannot be re-mapped and no host-side trick substitutes. A documented programmable controller such as the Microchip AR1100 accepts 4-, 5- or 8-wire analog resistive panels, communicates over RS-232/UART or USB, and is programmed from a PC with its own tools, which makes it the replacement path when the existing board has no software.

Verify on the machine controller #

Test the assembly the way it will run: every screen page, every corner button, and enough power cycles to be sure the board recalls its calibration on each start. The reported setup ran flawlessly when the board was connected directly to the controller's USB port but dropped out through a hub on a controller with too few ports, so treat a hub in the touch path as suspect. A controller that meters touch input by license enforces that limit host-side; it has nothing to do with the board's calibration and will not be changed by recalibrating.

When the overlay-and-board route stops being worth the effort, replacing the display and touch surface as one factory-matched unit, an industrial touchscreen monitor, removes the overlay, the ribbon and the board-calibration step in a single move [ Keep the calibrated overlay and its board together as one assembly from then on, and any future monitor or host change gets a fresh nine-point pass on the new geometry.

Questions asked

Does the calibration survive moving the overlay between hosts?

Yes. The correction is written into the controller board's own memory, so one nine-point calibration follows the board to every host. In the reported setup, a single calibration done on a Windows PC produced aligned touch on two different machine controllers afterward, with no further adjustment. What does not travel is a Windows-side calibration, which corrects only that PC's touch input and leaves the board untouched.

Can I calibrate without the utility by editing values some other way?

There is no supported path. The mapping lives inside the controller board, and only the maker's utility writes it. A board sold without software or a manual stays on its factory mapping, which is why an edge press misses no matter what the PC is set to. When no utility exists for your board, replace it with a controller documented as programmable from a PC rather than fighting the old one.

How many simultaneous touches does a four-wire overlay report?

One. A four-wire resistive assembly senses a single contact position, so the USB board reports one coordinate at a time. One-finger presses, drags and swipes work as the driver supports them, but two-finger pinch or rotate is not available. Size on-screen buttons for a single fingertip, and do not buy a four-wire overlay expecting multi-touch gesture support.

The white ribbon between panel and board looks fragile. What should I do?

That ribbon carries the panel's electrode signals, and in the reported setup it had no strain relief at the board. Route it with slack, support it so nothing pulls on the connector, and avoid repeated reconnection. Damage there kills all touch input, which is a connection fault, not a calibration fault. Fix the ribbon first, then judge whether the coordinates still need a calibration pass.

Keep reading

  • Troubleshooting

    Touch calibration fails or drifts: separate the real causes

    If calibration fails repeatedly, the fault is usually the calibration tool, its driver or session state, not the touch sensor: a pass that stops with an error before the target pattern runs never changes stored coordinates. Calibration persists until firmware changes, so test several touch targets first — one dead button is an application-event fault, and only a whole-screen offset that keeps returning is true drift.

    HMI and touchscreens

  • Selection guide

    Adding a Touch Overlay to a 240x64 Graphics LCD

    For pushbuttons on a 240x64 graphics LCD, pick a grid (matrix) resistive overlay whose controller reports discrete row/column cells over serial: no calibration, no coordinate decoding, and the existing display wiring is untouched. Match the overlay's active area to the LCD viewing area from the mechanical drawings, and bind each cell to one command before acceptance testing.

    HMI and touchscreens

  • Troubleshooting

    Why FT813 Touch Coordinates Read Zero With a Goodix Controller

    The zeros are not an encoding fault. A rendered image proves only the host-to-FT813 link; the Goodix capacitive controller needs the module vendor's initialization sequence before REG_TOUCH_CONFIG can deliver coordinates. Run that sequence, confirm the controller acknowledges its documented I2C address 0x5D, then set the acquisition mode once and read.

    HMI and touchscreens

Why MP370 Touch Calibration Never Completes