You are on page 1of 1

Painting Machine

A painting machine consists of the following

1- Keypad
2- LCD
3- Temp Sensor
4- Cooling fan
5- 3 Valves ( for three different colors )
6- Mixer

User should enter a color number from 0 to 9 then valves will open for certain time according to color
key then mixer will work for 30 seconds

When temp is higher than T0 cooling fan will work ( that will be only during mixing)

Timer table for each valve

Color ID Valve 1 Valve 2 Valve 3


0 1 1 1
1 1 2 3
2 2 1 3
3 3 2 1
4 1 1 2
5 2 3 1
6 2 2 3
7 3 2 2
8 4 2 3
9 3 1 4

Note that all times in valves column are in seconds

You can use LEDs for Outputs and Push buttons instead of Input sensors

You might also like