Control Automatic Speed Fan with Sensor MQ2 Based Labview and Arduino uno
SENSOR AND ACTUATOR 1. Arduino uno 2. MQ 2 3. Fan 9 Volt 4. Bateray 9 volt 5. Resistor 100 ohm 6. Dioda 7. Trasistor SOFTWARE 1. Arduino uno 2. LABVIEW (you can download labview from google hehe:D .. ) 3. For support Labview you must download vi package manager too.. 4. and you must download VISA HOW TO MAKE THE PROJECT ? 1. NIAT DAN SABAR DULU YAH !! 2. INSTALL ALL SOFTWARE NEEDED TO MAKE THE PROJECT 3. PREPARE SENSOR AND ACTUATOR 4.CIRCUIT ARDUINO AND SENSOR MQ 2 5. CIRCUIT FAN WITH PWM 6. PROGRAM ARDUINO void setOutput() { analogWrite(pinfan,nilaipwm); Serial.print('a'); Serial.print(M); Serial.print('b'); Serial.print(nilaipwm); Serial.print('c'); Serial.print(data); Serial.println('d'); delay(100); // delay in between reads for stability } //void void komunikasi // membaca serial void getSerial() { while (Serial.available()) {