arduino project 2017

Post on 21-Jan-2018

134 Views

Category:

Education

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Arduino ProjectsPengantar 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 & 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)

[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

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

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

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

top related