Arduino Projects
Pengantar Rekayasa dan Desain I
2017
Basic Components
• Breadboard (IDR 15k-20k)
• Kabel dan konektor (Jumper)
• Baterai 9V (IDR 20k)
• Potentiometer (Variable Resistor)
• LED
• 7-Segments
[1] Pemantau Suhu & Kelembapan
Ruangan
o Functions:
▪ Read temperature and humidity
▪ Display output on 7-segment LED
▪ Set 7-segment display blinking if temperature is greater than 270C
o Inputs:
▪ DHT11
o Output:
▪ 7-segment LED (4)
[2] Pemantau Suhu Tubuh
oFunctions:
▪ Read temperature
▪ Display output on 7-segment LED and RGB LED
▪ Set RGB LED to:
- red if temperature is greater than 320C
- yellow if temperature is less than 250C
- green others
o Inputs:
▪ LM35
o Output:
▪ 7-segment LED (2)
▪ RGB LED
[3] Potentiometer Display
• Functions:
• Display value in 7-segment based on analog input
• Control blinking speed based on analog input
• Input Components:
• Variable resistor (2)
• Output Components:
• 7-Segment (2)
[4] Speed Controller
• Functions:
• Control speed of stepper motor based on temperature value
• Input Components:
• DHT11
• Output Components:
• Stepper motor (IDR 30k)
[5] Power Controller
oFunctions:
▪ Read temperature
▪ Display output on 7-segment LED
▪ Activate relay if temperature is greater than 270C
o Inputs:
▪ DHT11
o Output:
▪ 7-segment LED (2)
▪ Relay (connect to electrical appliance)
[6] AC Current Measurement
oFunctions:
▪ Read AC current
▪ Display current value on 7-segment LED
▪ Display power value
o Inputs:
▪ ACS712
o Output:
▪ 7-segment LED (4)
[7] Distance Measurement
• Functions:
• Read distance between sensor and object
• Set RGB LED to:
- red if <= 30 cm
- yellow if > 30cm < 1m
- green others
• Input Components:
• HCSR 04
• Output Components:
• 7-segment LED (3)
• RGB LED
Stepper Motor
http://www.instructables.com/id/BYJ48-Stepper-Motor/
HC SR04 Ultrasonic
Sensor ini membaca jarak 2cm sampe 450 cm, akurasi 3mm. Prinsipnya, agan kirim
pulsa HIGH ke pin TRIGGER selama 10us-20us. Nanti akan muncul pulsa HIGH di pin
ECHO selama t detik.
http://www.instructables.com/id/Simple-Arduino-and-HC-SR04-Example/
Arduino Project 2017

Arduino Project 2017

  • 1.
  • 2.
    Basic Components • Breadboard(IDR 15k-20k) • Kabel dan konektor (Jumper) • Baterai 9V (IDR 20k) • Potentiometer (Variable Resistor) • LED • 7-Segments
  • 3.
    [1] Pemantau Suhu& Kelembapan Ruangan o Functions: ▪ Read temperature and humidity ▪ Display output on 7-segment LED ▪ Set 7-segment display blinking if temperature is greater than 270C o Inputs: ▪ DHT11 o Output: ▪ 7-segment LED (4)
  • 4.
    [2] Pemantau SuhuTubuh oFunctions: ▪ Read temperature ▪ Display output on 7-segment LED and RGB LED ▪ Set RGB LED to: - red if temperature is greater than 320C - yellow if temperature is less than 250C - green others o Inputs: ▪ LM35 o Output: ▪ 7-segment LED (2) ▪ RGB LED
  • 5.
    [3] Potentiometer Display •Functions: • Display value in 7-segment based on analog input • Control blinking speed based on analog input • Input Components: • Variable resistor (2) • Output Components: • 7-Segment (2)
  • 6.
    [4] Speed Controller •Functions: • Control speed of stepper motor based on temperature value • Input Components: • DHT11 • Output Components: • Stepper motor (IDR 30k)
  • 7.
    [5] Power Controller oFunctions: ▪Read temperature ▪ Display output on 7-segment LED ▪ Activate relay if temperature is greater than 270C o Inputs: ▪ DHT11 o Output: ▪ 7-segment LED (2) ▪ Relay (connect to electrical appliance)
  • 8.
    [6] AC CurrentMeasurement oFunctions: ▪ Read AC current ▪ Display current value on 7-segment LED ▪ Display power value o Inputs: ▪ ACS712 o Output: ▪ 7-segment LED (4)
  • 9.
    [7] Distance Measurement •Functions: • Read distance between sensor and object • Set RGB LED to: - red if <= 30 cm - yellow if > 30cm < 1m - green others • Input Components: • HCSR 04 • Output Components: • 7-segment LED (3) • RGB LED
  • 10.
  • 11.
    HC SR04 Ultrasonic Sensorini membaca jarak 2cm sampe 450 cm, akurasi 3mm. Prinsipnya, agan kirim pulsa HIGH ke pin TRIGGER selama 10us-20us. Nanti akan muncul pulsa HIGH di pin ECHO selama t detik. http://www.instructables.com/id/Simple-Arduino-and-HC-SR04-Example/