Presentation is loading. Please wait.

Presentation is loading. Please wait.

Praktikum Mikrokontroler

Similar presentations


Presentation on theme: "Praktikum Mikrokontroler"— Presentation transcript:

1 Praktikum Mikrokontroler
Dosen : dr. Muhammad yusro, mt

2 Introduction - Experiment

3

4

5

6 FLASHING LED (Experiment -1)

7 Wiring Components

8

9

10 Summary

11 Knight Rider LED

12 Code Program

13

14 READING A SWITCH (Experiment -2)

15

16

17

18

19

20 Push Button for Running LED

21 Push Button for Running Motor DC

22 Controlling a DC Motor (Experiment -3)

23

24

25 Creating a Single-Digit Display (Experiment-4)

26

27

28

29

30 74HC595 Pin Connection No Pins Seven Segment 15 Q0 A 1 Q1 B 2 Q2 C 3
D 4 Q4 E 5 Q5 F 6 Q6 G 7 Q7 DP (DOT-POINT)

31 Arduino pin 5 => 74HC595 pin 12 (latch) Arduino pin 6 => 74HC595 pin 14 (data) Arduino pin 7 => 74HC595 pin 11 (clock) 74HC595 pin 1  (Q1)   => LED Pin 5  (B) 74HC595 pin 2  (Q2)   => LED Pin 9  (C) 74HC595 pin 3  (Q3)   => LED Pin 7  (D) 74HC595 pin 4  (Q4)   => LED Pin 6  (E) 74HC595 pin 5  (Q5)   => LED Pin 2  (F) 74HC595 pin 6  (Q6)   => LED Pin 1 (G) 74HC595 pin 7  (Q7)   => LED Pin 10  (DP) 74HC595 pin 8  (GND)  => Ground 74HC595 pin 9  (Q7S)  => Not connected 74HC595 pin 10 (MR)   => Vcc (High) 74HC595 pin 11 (SHCP) => Arduino pin 7 74HC595 pin 12 (STCP) => Arduino pin 5 74HC595 pin 13 (OE)   => Ground (Low) 74HC595 pin 14 (DS)   => Arduino pin 6 74HC595 pin 15 (Q0)   => LED Pin 4  (A) 74HC595 pin 16 (Vcc)  => Vcc

32 Source : https://arduinodiy. wordpress

33 Note : Arduino pin 5 => 74HC595 pin 12 (latch) Arduino pin 6 => 74HC595 pin 14 (data) Arduino pin 7 => 74HC595 pin 11 (clock)

34

35 Controlling 2 seven-segment LED Display Modules

36

37

38

39 Using a LCD Display (Experiment-5)

40

41

42

43

44 Using a T o u c h Scr e e n s (Experiment 6)

45 Addressing Areas on the Touchscreen

46

47

48

49


Download ppt "Praktikum Mikrokontroler"

Similar presentations


Ads by Google