Arduino Yun

From Earlham CS Department
Revision as of 22:21, 16 October 2014 by Ghcrows13 (talk | contribs) (USB stops being recognized)
Jump to navigation Jump to search

Arduino Yun

Resources

[product page]

[getting started]

Current Yuns

csyun1

  • wireless
  • EC1757
  • 159.28.141.140

Packages

Comes preinstalled with

  • python 2.7
  • vim / nano

Uses a package manager called opkg. Very similar to apt-get and yum.


Serial

  • Serial talks via the Arduino serial monitor
  • Bridge establishes communication with Linux
  • 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.


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"

Teembo

[Arduino Description]

[Temboo Getting Started]