12
Arduino Projects Pengantar Rekayasa dan Desain I 2017

Arduino Project 2017

Embed Size (px)

Citation preview

Page 1: Arduino Project 2017

Arduino ProjectsPengantar Rekayasa dan Desain I

2017

Page 2: Arduino Project 2017

Basic Components• Breadboard (IDR 15k-20k)

• Kabel dan konektor (Jumper)

• Baterai 9V (IDR 20k)

• Potentiometer (Variable Resistor)

• LED

• 7-Segments

Page 3: Arduino Project 2017

[1] Pemantau Suhu & KelembapanRuangano 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)

Page 4: Arduino Project 2017

[2] Pemantau Suhu TubuhoFunctions:▪ 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

Page 5: Arduino Project 2017

[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)

Page 6: Arduino Project 2017

[4] Speed Controller• Functions:

• Control speed of stepper motor based on temperature value

• Input Components:

• DHT11

• Output Components:

• Stepper motor (IDR 30k)

Page 7: Arduino Project 2017

[5] Power ControlleroFunctions:

▪ 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)

Page 8: Arduino Project 2017

[6] AC Current MeasurementoFunctions:

▪ Read AC current

▪ Display current value on 7-segment LED

▪ Display power value

o Inputs:

▪ ACS712

o Output:

▪ 7-segment LED (4)

Page 9: Arduino Project 2017

[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

Page 10: Arduino Project 2017

Stepper Motor

http://www.instructables.com/id/BYJ48-Stepper-Motor/

Page 11: Arduino Project 2017

HC SR04 UltrasonicSensor ini membaca jarak 2cm sampe 450 cm, akurasi 3mm. Prinsipnya, agan kirimpulsa 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/

Page 12: Arduino Project 2017