The reading program, the converter and also program to controlling is done in c Language for Arduino. The value from read the sensor, analog to digital converter, and for controlling is done in Microcontroller Arduino that use AT MEGA 328. Figure 2 shows the arcliitecture of AT MEGA 328.