
Index:
1 INTRODUCTION.........................................................................................................4
1.1 What is Yun Shield..............................................................................................4
1.2 Specifications .....................................................................................................4
1.3 Features ..............................................................................................................4
1.4 LEDs..................................................................................................................5
1.5 System Structure.................................................................................................6
2 CONFIGURE YUN SHIELD ........................................................................................8
2.1 Find the ip addresses...........................................................................................8
2.2 Configure Method...............................................................................................9
2.2.1 Access via web interface..........................................................................9
2.2.2 Access via SSH........................................................................................9
2.3 Web Configure Pages........................................................................................10
2.3.1 General Set Up.......................................................................................10
2.3.2 Arduino related set up............................................................................10
2.3.3 Upgrade.................................................................................................11
3 USE WITH ARDUINO BOARDS...............................................................................12
3.1 Connects to Arduino Boards..............................................................................12
3.1.1 Connect to Leonardo..............................................................................12
3.1.2 Connect to Arduino Uno ........................................................................12
3.1.3 Connect to Arduino Duemilanove/Diecimila ..........................................14
3.1.4 Connect to Arduino Mega2560...............................................................14
3.2 Detect Yun Shield .............................................................................................15
3.3 Upload Sketch ..................................................................................................17
3.4 Bridge Library..................................................................................................17
4 EXAMPLES................................................................................................................18
4.1 Example 1: Say hello to Linux ..........................................................................18
4.2 Example 2: Upload data to IoT Server...............................................................20
4.3 Example 3: Log Data to USB flash....................................................................23
4.4 Example 4: Use MQTT.....................................................................................25
5 FAQ.............................................................................................................................26
5.1 What is the difference between the official Arduino Yun and Yun Shield?..........26
5.2 Is Yun Shield compatible with a variant Arduino Board? ...................................26
5.3 How to set up /www/sd and /mnt/sd? ................................................................27
5.4 Arduino IDE doesn’t detect Yun Shield .............................................................27
5.5 Where can I find the source code of Yun Shield?...............................................27
www.ekt2.com
Electronics Katrangi Trading