Development

Timeline

2023
Hardware Configurations (I)

New problems just kept arising. Since we require 5 peristaltic pumps for our project, we had to use an Arduino shield which allowed for more motors (i.e. the Ramps 1.4). However, the digital pins that we required for connecting the UI were not reflected in the Ramps 1.4 board since…Read More

Hardware Configurations (II)

One of us suddenly had the idea to connect the TFT screen and the Ramps 1.4 board to our Arduino by wiring. This solution ended up working and we have finally solved the big problem that we have beenย facingย for the past two weeks โ€“ team morale was elevated! However, the…Read More

Hardware Configurations (III)

After looking at our complicated setup, Dr Tony recommended a stackable prototype shield. Since shields could be stacked, this allowed for more connections to the Arduino. The idea was to stack the prototype shield โ€“ which could be designed individually for our own usage โ€“ on top of the Arduino…Read More

Phase 3 โ€“ Paint Colour Callibration

Performing conversion from screen displays to that of paint colours is necessary as they work on different principles of light transmission. Screen displays use the RGB colour compositing, while RYB uses the RYB colour compositing. RGB works on the principle of light transmission such as from screen displays. However, the…Read More

Initial Trials

We first intended to convert the RGB colour we see on our computers to the CMYK colour scheme that printers use. We intended to match the HEX code directly to CMYK values and bought ourselves cyan, magenta, yellow and black paint. However, we then realised that the printer ink is…Read More

Formulating colour conversion equations (I)

The research paper mentioned in the previous post contained a series of mathematical formulae to convert RGB values to RYB values. However, the formulae only work for colours at 100% saturation. To get a lighter or darker shade, we would have to figure out the proportion of black and white…Read More

Formulating colour conversion equations (II)

For some reason, all our paint colours that had blue mixed in them produced very inaccurate and muted colours. We figured that the shade of blue that we had was probably too dull. Hence, we decided to test out the same colours using a lighter shade of blue that resembled…Read More

Formulating colour conversion equations (III)

The theory we used to arrive at our equations is the hue saturation value colour principle. As shown in the HSV cylinder geometry, the hue is an angular dimension ranging from 0 to 360 that represents every colour in the spectrum, which can be achieved using our three base colours.…Read More

Formulating colour conversion equations (IV)

First, we have to calibrate the hue (keeping saturation and lightness at 100%), which will affect the colour itself. Since the hue values range from 0 to 360, we painstakingly calibrated the respective paint ratios of each colour at hue intervals of 30. We varied the ratio of the base…Read More

Final Equations for Conversion

After all our hard work, here are our finalised equations for our paint colour conversions! R = Red, Y = Yellow, B = Blue, W = White, K = Black,ย  P=R+Y+B Hue x = hueย  R = 0.9800484 – 0.0290976*x + 0.0002711622*x^2 – 0.000001019512*x^3 + 1.406501e-9*x^4 – 1.244973e-13*x^5ย  R =…Read More