Chapter 5 Arduino Software ......................................................................................................................................................... 75
Arduino Software .................................................................................................................................................................... 75
Environment Configuration ................................................................................................................................................... 79
Chapter 6 Battery ............................................................................................................................................................................. 82
Chapter 7 Built-in Led .................................................................................................................................................................... 87
Chapter 8 Buzzer .............................................................................................................................................................................. 92
Chapter 9 WS2812 ........................................................................................................................................................................... 99
Chapter 10 Ultrasonic Ranging ..................................................................................................................................................107
Chapter 11 Touch ...........................................................................................................................................................................112
Chapter 12 Basic Motion .............................................................................................................................................................119
Chapter 13 BLE ................................................................................................................................................................................124
Chapter 14 Camera Web Server ...............................................................................................................................................129
Chapter 15 Dog ..............................................................................................................................................................................138
Development ...................................................................................................................................................................................149
Code Repository ....................................................................................................................................................................149
Communication Command ...............................................................................................................................................149
Explanation of Communication Protocol Instructions ..............................................................................................151
What's Next? ....................................................................................................................................................................................157