Skip to main content

LUP Student Papers

LUND UNIVERSITY LIBRARIES

Automatisk Precisionstestning av Skärmbaserade Produkter

Johnsson, Axel LU (2023) In CODEN:LUTEDX/TEIE EIEL05 20231
Industrial Electrical Engineering and Automation
Abstract
Touchscreens are a type of input device that facilitate interaction between a user and an electronic device. This interaction is enabled by the user touching the screen with one or more fingers or a stylus pen. Today, touchscreens are implemented in a wide range of electronic products for example mobile phones, tablets, computers, and even ATMs. Due to their wide range of applications, touchscreens sometimes need to be dimensioned and redesigned for a specific product. Consequently, the touchscreen must operate problemless with software, for example an operating system. To ensure the process between a touchscreen and software functions effectively, it needs to be tested.

This thesis focuses on developing an automated testing method to... (More)
Touchscreens are a type of input device that facilitate interaction between a user and an electronic device. This interaction is enabled by the user touching the screen with one or more fingers or a stylus pen. Today, touchscreens are implemented in a wide range of electronic products for example mobile phones, tablets, computers, and even ATMs. Due to their wide range of applications, touchscreens sometimes need to be dimensioned and redesigned for a specific product. Consequently, the touchscreen must operate problemless with software, for example an operating system. To ensure the process between a touchscreen and software functions effectively, it needs to be tested.

This thesis focuses on developing an automated testing method to test the precision of a touchscreen. It has been conducted in collaboration with Axis Communications AB. Tests can be applied in various areas concerning touchscreens. In this thesis, the focus lies on testing precision by creating a testing tool that combines hardware and software. The thesis is carried out at Axis Communications AB, where previous tests have been performed manually. Therefore, the company has an interest in developing an automated testing tool for screen-based products.

The testing method built to measure the precision of a touchscreen is divided into hardware and software. The hardware consists of a modified 3D printer with a stylus pen mounted onto it. The software is responsible for controlling the 3D printer and automating movements that conduct tests on a touchscreen. Since this method has not been implemented before, it was a new area to explore. The software is programmed in Java and a Velleman Vertex Delta K8800 type 3D printer is used.

The results of the thesis indicate that it is feasible to create an automated testing method for touchscreen precision using Java. The testing tool can be initiated with an INI file, making it possible to test screens of varying sizes. G-code, generated through a Graphical User Interface (GUI) or a terminal, controls the 3D printer. Both the GUI and terminal, which share the same purpose of creating and reading test files, were implemented in the thesis and subsequently send G-code commands to the 3D printer. Additionally, data acquisition from a touchscreen was facilitated as a Raspberry Pi can transfer coordinate data from the touchscreen to the software via an SSH connection. (Less)
Abstract (Swedish)
Pekskärmar är en typ av inmatningsenhet som möjliggör en interaktion mellan en användare och en elektronisk enhet. Interaktionen sker genom att låta användaren röra med en eller flera fingrar eller en stylus-penna på skärmen. Pekskärmar används idag till en rad olika elektroniska produkter som till exempel mobiltelefoner, surfplattor, datorer och även bankomater. På grund av sitt breda användningsområde behöver pekskärmar ibland dimensioneras och byggas om till en specifik produkt. Detta gör att pekskärmen måste fungera tillsammans med en mjukvara av till exempel ett operativsystem utan problem. För att att säkerställa att processen mellan en pekskärm och en mjukvara fungerar, behövs det testas.

Det här examensarbetet handlar om att... (More)
Pekskärmar är en typ av inmatningsenhet som möjliggör en interaktion mellan en användare och en elektronisk enhet. Interaktionen sker genom att låta användaren röra med en eller flera fingrar eller en stylus-penna på skärmen. Pekskärmar används idag till en rad olika elektroniska produkter som till exempel mobiltelefoner, surfplattor, datorer och även bankomater. På grund av sitt breda användningsområde behöver pekskärmar ibland dimensioneras och byggas om till en specifik produkt. Detta gör att pekskärmen måste fungera tillsammans med en mjukvara av till exempel ett operativsystem utan problem. För att att säkerställa att processen mellan en pekskärm och en mjukvara fungerar, behövs det testas.

Det här examensarbetet handlar om att utveckla en automatiserad testmetod för att testa precisionen hos en pekskärm. Examensarbetet har utförts i samarbete med Axis Communications AB. Tester kan appliceras på många olika områden när det gäller pekskärmar. I detta examensarbetet kommer fokusen ligga på att testa precision genom att skapa ett testverktyg som kombinerar hårdvara med mjukvara. Examensarbetet som utförs på Axis Communications AB, där tidigare tester har skett förhand och manuellt. På grund av detta ligger det i företagets intresse att skapa ett automatiserat testverktyg för skärmbaserade produkter.

Testmetoden som byggts för att testa precision på en pekskärm är uppdelad i hårdvara och mjukvara. Hårdvaran består av en modifierad 3D-skrivare med en stylus-penna monterad på sig. Mjukvaran står för att styra 3D-skrivaren och automatisera rörelser som utför tester på en pekskärm. Då denna metod inte har byggts innan blev det ett nytt område att utforska. Mjukvaran är programmerad i Java och en 3D-skrivare av typen velleman vertex delta K8800 används.

Resultatet av examensarbetet visar att det är möjligt att skapa en automatiserat testmetod för pekskärmens precision med hjälp av Java. Testverktyget kan initieras med hjälp av en INI-fil vilket möjliggör testning av skärmar med olika storlekar. G-code, som genererades med hjälp av ett grafiskt användargränssnitt (GUI) eller en terminal, styr 3D-skrivaren. Både GUI och terminalen, som har samma syfte att skapa och läsa in testfiler infördes i examensarbetet och skickar sedan G-code kommandon till 3D-skrivaren. Även datainhämtning från en pekskärm möjliggjordes då en Raspberry pi med hjälp av SSH-anslutning till mjukvaran kan överföra koordinatdata från pekskärmen. (Less)
Please use this url to cite or link to this publication:
author
Johnsson, Axel LU
supervisor
organization
alternative title
Automated Precision Test-method of Screen-Based Products
course
EIEL05 20231
year
type
M2 - Bachelor Degree
subject
keywords
Testautomation 3D-skrivare precisionstestning skärmtestning Java Prototyp Axis Communications AB
publication/series
CODEN:LUTEDX/TEIE
report number
3125
language
Swedish
id
9124548
date added to LUP
2024-06-10 11:21:09
date last changed
2024-06-10 11:21:09
@misc{9124548,
  abstract     = {{Touchscreens are a type of input device that facilitate interaction between a user and an electronic device. This interaction is enabled by the user touching the screen with one or more fingers or a stylus pen. Today, touchscreens are implemented in a wide range of electronic products for example mobile phones, tablets, computers, and even ATMs. Due to their wide range of applications, touchscreens sometimes need to be dimensioned and redesigned for a specific product. Consequently, the touchscreen must operate problemless with software, for example an operating system. To ensure the process between a touchscreen and software functions effectively, it needs to be tested.

This thesis focuses on developing an automated testing method to test the precision of a touchscreen. It has been conducted in collaboration with Axis Communications AB. Tests can be applied in various areas concerning touchscreens. In this thesis, the focus lies on testing precision by creating a testing tool that combines hardware and software. The thesis is carried out at Axis Communications AB, where previous tests have been performed manually. Therefore, the company has an interest in developing an automated testing tool for screen-based products.

The testing method built to measure the precision of a touchscreen is divided into hardware and software. The hardware consists of a modified 3D printer with a stylus pen mounted onto it. The software is responsible for controlling the 3D printer and automating movements that conduct tests on a touchscreen. Since this method has not been implemented before, it was a new area to explore. The software is programmed in Java and a Velleman Vertex Delta K8800 type 3D printer is used.

The results of the thesis indicate that it is feasible to create an automated testing method for touchscreen precision using Java. The testing tool can be initiated with an INI file, making it possible to test screens of varying sizes. G-code, generated through a Graphical User Interface (GUI) or a terminal, controls the 3D printer. Both the GUI and terminal, which share the same purpose of creating and reading test files, were implemented in the thesis and subsequently send G-code commands to the 3D printer. Additionally, data acquisition from a touchscreen was facilitated as a Raspberry Pi can transfer coordinate data from the touchscreen to the software via an SSH connection.}},
  author       = {{Johnsson, Axel}},
  language     = {{swe}},
  note         = {{Student Paper}},
  series       = {{CODEN:LUTEDX/TEIE}},
  title        = {{Automatisk Precisionstestning av Skärmbaserade Produkter}},
  year         = {{2023}},
}