Sei sulla pagina 1di 3

Table of Contents

UNIT 1 The MTS-100 Tutor for Arduino


Exercise 1-1 Software Installation ............................................................ 1-2
Exercise 1-2 Hardware Installation .......................................................... 1-11

UNIT 2 Digital I/O Devices


Exercise 2-1 Buzzer and Keypad Control ................................................ 2-2
A. Button Controlled Buzzer ................................................ 2-17
B. Simple Electronic Organ ................................................. 2-20
C. Music Player ................................................................... 2-22
Exercise 2-2 LED Matrix Control .............................................................. 2-24
A. Static Display .................................................................. 2-27
B. Dynamic Display ............................................................. 2-31
Exercise 2-3 7-Segment Display Control ................................................. 2-35
A. Alternative Display .......................................................... 2-38
B. Simple Digital Clock ........................................................ 2-40
C. Human-Machine Interface (HMI) .................................... 2-43
Exercise 2-4 Relay Control ...................................................................... 2-48
A. ON-OFF Control with Two Buttons ................................. 2-49
B. ON-OFF Control with One Button ................................... 2-52
Exercise 2-5 Voice and Light Control ....................................................... 2-55

UNIT 3 Analog Signal and Serial Monitor


Exercise 3-1 Analog Input and Output ..................................................... 3-2
A. Potentiometer Controlled LED Dimmer .......................... 3-8
B. Joystick Controlled LED Dimmer .................................... 3-10
Exercise 3-2 Serial Monitor ...................................................................... 3-14
A. LED Brightness Controller 1 ........................................... 3-23
B. LED Brightness Controller 2 ........................................... 3-25
C. Light Detector ................................................................. 3-28
D. Noise Detector ................................................................ 3-30
E. Digital Voltmeter .............................................................. 3-33

I MTS100-E160705-EA
UNIT 4 RGB LED
Exercise 4-1 Conventional RGB LED Control.......................................... 4-2
A. Static Display .................................................................. 4-7
B. Dynamic Display ............................................................. 4-11
Exercise 4-2 Serial RGB LED Control ..................................................... 4-13
A. Button Controlled Serial RGB LED ................................. 4-29
B. Dual Running LED .......................................................... 4-36
C. Pressure-Activated Serial RGB LED .............................. 4-39
D. Voice-Activated Serial RGB LED ................................... 4-41

UNIT 5 LCD and Humidity/Temperature Sensor


Exercise 5-1 LCD Display Control ........................................................... 5-2
A. 8-Bit Interface LCD Control – Down Counter ................. 5-20
B. 4-Bit Interface LCD Control – Automatic Scrolling LCD.. 5-23
C. I2C Interface LCD Control – Digital Voltmeter................. 5-26
Exercise 5-2 Humidity/Temperature Measurement .................................. 5-29

UNIT 6 Ultrasonic and Infrared Sensors


Exercise 6-1 Ultrasonic Range Finder ..................................................... 6-2
A. Serial Monitor Display..................................................... 6-8
B. LCD Display ................................................................... 6-12
Exercise 6-2 Infrared Line Tracer ............................................................ 6-16

UNIT 7 Servo Motor and MEMS Accelerometer


Exercise 7-1 Servo Motor Control ............................................................ 7-2
A. Potentiometer Controlled Servos ................................... 7-11
B. 2-Axis Robot Control ...................................................... 7-14
Exercise 7-2 3-Axis MEMS Accelerometer Control.................................. 7-17

UNIT 8 DC Motor and Step Motor


Exercise 8-1 DC Motor Control ................................................................ 8-2
A. Start/Stop Control ........................................................... 8-8
B. Speed and Direction Control .......................................... 8-11
Exercise 8-2 Step Motor Control .............................................................. 8-16
A. Unipolar Step Motor Controller ....................................... 8-27
B. Bipolar Step Motor Controller ......................................... 8-32

II MTS100-E160705-EA
UNIT 9 Bluetooth Wireless Communications
Exercise 9-1 Windows Cross Platform Control ........................................ 9-2
Exercise 9-2 Android Cross Platform Control........................................... 9-22

UNIT 10 Wi-Fi Wireless Networking


Exercise 10-1 Data Logger in Cloud .......................................................... 10-2

Appendix A Arduino Data Types, Operators, Statements ........ A-1

III MTS100-E160705-EA

Potrebbero piacerti anche