
Count
About Arduino............................................................................................................... - 1 -
About Processing ........................................................................................................... - 2 -
Download ..................................................................................................................... - 3 -
Chapter 1 LED...............................................................................................................- 11 -
Project 1.1 Blinking LED ..........................................................................................- 11 -
Project 1.2 LED Flowing Light...................................................................................- 20 -
Chapter 2 Button ..........................................................................................................- 24 -
Project 2.1 Controlling an LED with a button..............................................................- 24 -
Chapter 3 Tilt Switch .....................................................................................................- 33 -
Project 3.1 Tilt Switch.............................................................................................- 33 -
Chapter 4 Buzzer...........................................................................................................- 37 -
Project 4.1 Active Buzzer.........................................................................................- 37 -
Chapter 5 PWM ............................................................................................................- 42 -
Project 5.1 Breathing LED........................................................................................- 42 -
Project 5.2 Passive Buzzer .......................................................................................- 48 -
Project 5.3 Controlling a RGB LED with PWM.............................................................- 53 -
Chapter 6 7-segment display ..........................................................................................- 58 -
Project 6.1 7-segment display..................................................................................- 58 -
Chapter 7 Analog ..........................................................................................................- 63 -
Project 7.1 Photoresistor ........................................................................................- 63 -
Project 7.2 Photoresistor controls LED ......................................................................- 68 -
Project 7.3 Thermistor ............................................................................................- 72 -
Project 7.4 Temperature alarm ................................................................................- 78 -
Project 7.5 Electronic organ.....................................................................................- 81 -
Chapter 8 LCD1602 .......................................................................................................- 84 -
Project 8.1 LCD1602 ...............................................................................................- 84 -
Project 8.2 IIC Interface module...............................................................................- 90 -
Project 8.3 LCD1602 Display Brightness ....................................................................- 94 -
Chapter 9 Frequency meter and DC motor .......................................................................- 98 -
Project 9.1 Frequency meter ...................................................................................- 98 -
Project 9.2 DC motor ............................................................................................- 104 -
Chapter 10 Rotary Encoder Module...............................................................................- 110 -
Project 10.1 Rotary Encoder Module ......................................................................- 110 -
Project 10.2 Rotary Encoder controls RGB...............................................................- 115 -
Project10.3 LCD1602 display the value of the rotary encoder ....................................- 118 -
Chapter 11 Ultrasonic Distance Sensor ..........................................................................- 122 -
Project 11.1 Ultrasonic Distance Sensor ..................................................................- 122 -
Project 11.2 LCD1602 display Ultrasonic value .........................................................- 127 -
Chapter 12 processing .................................................................................................- 130 -
Project 12.1 Photoresistor Control picture brightness...............................................- 130 -
Project 12.2 processing Control RGB.......................................................................- 135 -