Future Development 57 Robust Gamelan Bonang Hammer Actuator.

3.5 Solenoid Force 18 3.6 Microcontroller, AT89S52 19 3.6.1 Pin Description 21 3.7 Parallel Communication 23 3.8 Advantages of Parallel Communication 24 3.9 Interface Microcontroller Board with PC 24 3.10 ULN 2803 Pin out Working 26 3.11 Overview Project Methodology 28 3.12 Project Methodology Flow Chart 29 3.13 Microcontroller Board, AT89S52 30 3.14 ULN 2803 Interconnection Board 33 3.15 Driver Circuit of Solenoid 35 3.16 Hammer Actuator 39 3.17 C Programming Language 40 3.18 Laboratory Virtual Instrumentation LABVIEW 43 3.19 Benefits of LABVIEW 43 3.20 Data Acquisition DAQ and Hardware Requirement 44 4 RESULT AND DISCUSSION 4.1 Result 54 4.2 Discussion 55 5 RECOMMENDATION AND CONCLUSION 5.1 Recommendation 57

5.2 Future Development 57

5.3 Conclusion 58 REFERENCE 59 APPENDIX 60 LIST OF TABLES NO TITLE PAGE 2.1 Bit Value of Data Pin 11 3.1 Alternate Functions of Port Pin 1 21 3.2 Alternate Functions of Port Pin 3 22 3.3 Signals on 25-pin Printer Connector pin numbers 23 3.4 Connection between PC and Microcontroller 25 3.5 Analog Terminal Assignments 47 3.6 Digital Terminal Assignments 48 3.7 Signal Descriptions 49 4.1 Frequent for Solenoid React in 20s When Duty Cycle is 50 56 4.2 Time for Solenoid React When Frequency is 40 hz 56 LIST OF FIGURES NO TITLE PAGE 2.1 Gambang 8 2.2 Saron 8 2.3 Gendang 8 2.4 Bonang 8 2.5 Gong 8 2.6 Kenong 8 2.7 Peking 8 2.8 Gender 8 2.9 Parallel Port 9 2.10 Data Bus Carries 8-bits Data 10 2.11 Elements in Microcontroller 12 3.1 Block Diagram Project Process Flow 13 3.2 Process Flow Chart 14 3.3 Bonang 16 3.4 Bonang Mallet 16 3.5 Magnetic Field Created by a Solenoid 17 3.6 Microcontrollers, AT89S52 19 3.7 Block Diagram of AT89S52 20 3.8 Parallel Port 23 3.9 Parallel Communication 24 3.10 Programming the Flash Memory Parallel Mode 25 3.11 Verifying the Flash Memory Parallel Mode 26 3.12 ULN 2803 26 3.13 NPN Darlington Transistors 27 3.14 Project Methodology Flow Chart 29 3.15 Schematic Diagram of AT89S52 Microcontroller Circuit 30 3.16 Typical Wire Wrap Construction and Wire Wrap Tools 31 3.17 Finished Wire Wrap Connections 32 3.18 Microcontroller Board, AT89S52 32 3.19 Circuit Diagram of ULN 2803 Interconnection Board 34 3.20 ULN 2803 Interconnection Board 34 3.21 Circuit Diagram of Solenoid 35 3.22 First Solenoid Driver Circuit 36 3.23 Structure of a H-bridge 37 3.24 The Two Basic States of a H-bridge 37 3.25 Schematic Circuit H-bridge 38 3.26 H-bridge Driver Circuit 38 3.27 Hammer Actuator Design 39 3.28 Gamelan Playing Machine 40 3.29 Main Program 42 3.30 PC-base Data Acquisition 44 3.31 NI USB-6009 DAQ Hardware 45 3.32 Device Block Diagram 46 3.33 Front Panel and Block Diagram of LABVIEW 50 3.34 Extend solenoid 51 3.35 Hold Solenoid in Extend Condition 52 3.36 Retract Solenoid 52 3.37 Hold Solenoid in Retract Condition 53 LIST OF APPENDIX NO TITLE PAGE A Datasheet 60 CHAPTER 1 INTRODUCTION

1.1 Overview