Difference between revisions of "Arduino Yun"
(→Boot Details) |
|||
Line 28: | Line 28: | ||
*Bridge establishes communication between Arduino and Linux processors | *Bridge establishes communication between Arduino and Linux processors | ||
*Console uses bridge to establish a console (similar to serial) that can be accessed with telent from the Yun's local terminal | *Console uses bridge to establish a console (similar to serial) that can be accessed with telent from the Yun's local terminal | ||
+ | |||
+ | |||
+ | =Boot= | ||
+ | *The Arduino side boots up almost instantaneously. | ||
+ | *However, the Linux side takes about as long as a PC to boot up. | ||
+ | *The white light indicates that the wifi is working among other things. | ||
+ | |||
+ | |||
+ | =Sketch Upload= | ||
+ | *It seems normal for the USB to lose connection and to immediately reestablish connection. If the connection is not reestablished (why?) you can use the "USB stops being recognized" bit below. | ||
+ | |||
+ | |||
+ | =troubleshooting= | ||
Line 39: | Line 52: | ||
It's also possible to bypass ECWireless authentication by having ITS configure the device to have greater permissions. | It's also possible to bypass ECWireless authentication by having ITS configure the device to have greater permissions. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==USB stops being recognized== | ==USB stops being recognized== |
Revision as of 17:36, 24 October 2014
Contents
Arduino Yun
Resources
need sorting ->
Current Yuns
csyun1
- wireless
- EC1757
- 159.28.141.140
Package Manager
Uses a package manager called opkg. Very similar to apt-get and yum. Has a healthy selection of software.
Comes preinstalled with
- python 2.7
- vim / nano
Serial
- Serial talks via the Arduino serial monitor
- Bridge establishes communication between Arduino and Linux processors
- Console uses bridge to establish a console (similar to serial) that can be accessed with telent from the Yun's local terminal
Boot
- The Arduino side boots up almost instantaneously.
- However, the Linux side takes about as long as a PC to boot up.
- The white light indicates that the wifi is working among other things.
Sketch Upload
- It seems normal for the USB to lose connection and to immediately reestablish connection. If the connection is not reestablished (why?) you can use the "USB stops being recognized" bit below.
troubleshooting
Network
I had trouble getting it on ECWireless. I had to go to ITS and have them register it manually. I configured the Yun to connect to ECWireless and then was able to ssh to it directly. However, I could not upload sketches via wireless.
In addition each time it is rebooted it loses access to wifi. There's a quick solution to that: tapping the 32U4 RST button twice to restart the 32U4 processor and restart the sketch. [described here]
It would be possible to use guest wireless if the Yun told us its IP (due to non-static IP addresses on guest wireless.) It could do that by ssh'ing to a server (using keys) and saving its ifconfig.
It's also possible to bypass ECWireless authentication by having ITS configure the device to have greater permissions.
USB stops being recognized
This fixed my problem: [arduino form]
- nano /usr/bin/run-avrdude
- Change the efuse value from FB to CB
- execute "/usr/bin/run-avrdude /etc/arduino/Caterina-Yun.hex"