
Content
............................................................................................ 10
Raspberry Pi Pin Numbering Introduction
.................................................................. 11
Raspberry Pi GPIO Library Introduction
..................................................................... 13
How to Use wiringPi and RPi.GPIO
............................................................................ 15
............................................................................................. 19
Lesson 2 Controlling an LED by Button
...................................................................... 22
Lesson 3 Controlling an RGB LED by PWM
.................................................................. 25
............................................................................................ 28
.......................................................................................... 31
Lesson 6 Controlling an LED by Hall Sensor
................................................................ 34
Lesson 7 Controlling an LED by Reed
......................................................................... 37
.................................................................................... 40
...................................................................................... 43
......................................................................................... 46
Lesson 11 How to Control a DC Motor
........................................................................ 49
Lesson 12 Controlling an LED by Limit Switch
............................................................. 52
Lesson 13 Controlling an LED by Vibration Switch
....................................................... 55
....................................................................................... 59
Lesson 15 Controlling an LED by Touch Button
........................................................... 63
Lesson 16 Movement Detection Based on PIR
............................................................. 67
.......................................................................................... 71
............................................................................................. 74
Lesson 19 Measuring the Temperature via DS18B20
.................................................... 77
Lesson 20 Temperature & Humidity Sensor - DHT-11
.................................................. 82
Lesson 21 Measuring the Distance
............................................................................. 85
Lesson 22 Acceleration Sensor - ADXL345
.................................................................. 88
Lesson 23 Barometric Pressure Sensor - BMP180
........................................................ 91
................................................................................... 94
......................................................................................... 97
Lesson 26 How to Drive the Segment Display
............................................................ 100
....................................................................................... 103
........................................................................................ 108
........................................................................................... 111
Lesson 30 Water Level Detection
............................................................................ 115
Summary of Contents for Ultimate Sensor Kit for Raspberry Pi
Page 1: ......
Page 12: ......
Page 21: ......
Page 42: ......
Page 58: ......
Page 66: ......
Page 70: ......
Page 81: ...Now you can see the current temperature is printed on the terminal ...
Page 90: ......
Page 93: ......
Page 99: ......
Page 105: ......
Page 107: ......
Page 114: ......
Page 117: ......
Page 120: ......
Page 141: ... sudo python main py Now you can see the temperature shown on the LCD1602 ...
Page 147: ...Now you can see the voltage value shown on the segment display ...
Page 150: ...Step 3 Run sudo python main py Now you can see the voltage value shown on the LCD1602 ...
Page 151: ......