Arduino Yun

From Earlham CS Department
Revision as of 17:32, 24 October 2014 by Ghcrows13 (talk | contribs) (Boot Details)
Jump to navigation Jump to search

Arduino Yun

Resources

[product page]

[getting started]

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


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.


Boot Details

  • 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.

troubleshooting

USB stops being recognized

This fixed my problem: [arduino form]

  1. nano /usr/bin/run-avrdude
  2. Change the efuse value from FB to CB
  3. execute "/usr/bin/run-avrdude /etc/arduino/Caterina-Yun.hex"

Temboo

[Arduino Description of Temboo]

[Temboo Getting Started]