Alice Richardson BSc (Hons)



Light sensor program

As part of my final year project I had to research and find ways to reduce computer vision syndrome which included developing an app that received data from a light sensor on an arduino via a serial port. The program used Linux bash commands.

Light sensor program

The program used concurrency and as Java no longer supports serial I/O the jSerialComm API was used. There is a brightness bias slider to allow the user to set their preferences. As blue light affects circadian rhythm, thus disrupting sleep the app also allows the user to alter the gamma in the RGB values thus the colour temperature is customisable. One problem with the program is that it uses Xrandr, a component of X11 or X-Windowing System to work which is deprecated. At the time the program was written the replaced Wayland had no equivalent command set.