![Dragino PAB2 User Manual Download Page 12](http://html1.mh-extra.com/html/dragino/pab2/pab2_user-manual_2527139012.webp)
3
USE WITH ARDUINO BOARDS
The Yun Shield use SPI for uploading sketch and use UART port for Bridge class to talk to the AVR.
While connects Yun Shield to Arduino Board, below points should be checked:
Whether the Arduino Board is power by DC jack
If the board type setting is correct in Yun Shield. ()
If the board type setting is correct in Arduino IDE
Whether the Arduino SPI and UART is not influenced by other hardware
Make sure the UART mode is in
Arduino Bridge
mode.
3.1
Connects to Arduino Boards
3.1.1
Connect to Leonardo
Simply plug the Yun Shield on top of the Leonardo, and power the Leonardo via DC jack.
In Arduino IDE, the
board type
should select
Arduino Yun.
3.1.2
Connect to Arduino Uno
1)
In UNO, the uart connection between mega328P and mega16u2 will influence the bridge
feature with Yun Shield. So we have to disconnect it by set the mega16u2 into reset mode. As
below:
Note: USB upgrade/debug won’t work after this change, User will have to upgrade sketch and
debug via Arduino IDE via WiFi (see examples)
2)
Add a “
Uno Yun
” board type in the file: Arduino\hardware\arduino\avr\board.txt. as below
and reopen the Arduino IDE:
w w w . e k t
2
. c o m
Electronics
Katrangi
Trading
Summary of Contents for PAB2
Page 1: ...Yun Shield User Manual VERSION 1 1 w w w e k t 2 c o m Electronics Katrangi Trading...
Page 20: ...Screen Shot Xively Dashboard w w w e k t 2 c o m Electronics Katrangi Trading...
Page 28: ...Yun Shield Quick Start Guide VERSION 1 0 w w w e k t 2 c o m Electronics Katrangi Trading...
Page 39: ...Screen Shot Xively Dashboard w w w e k t 2 c o m Electronics Katrangi Trading...