How-to
Calibrate a resistive touch overlay in its USB controller
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
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 #
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- Move both cables to the machine controller: video to its display output, USB touch to its host port.
- 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.