Difference between revisions of "Arduino Yun"

From Earlham CS Department
Jump to navigation Jump to search
Line 16: Line 16:
 
*159.28.141.140
 
*159.28.141.140
  
=Package Manager=
+
 
 +
=Details=
 +
 
 +
==Package Manager==
 
Uses a package manager called opkg. Very similar to apt-get and yum. Has a healthy selection of software.
 
Uses a package manager called opkg. Very similar to apt-get and yum. Has a healthy selection of software.
  
Line 24: Line 27:
  
  
=Serial=
+
==Boot==
*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.
 
*The Arduino side boots up almost instantaneously.
 
*However, the Linux side takes about as long as a PC to boot up.
 
*However, the Linux side takes about as long as a PC to boot up.
Line 36: Line 33:
  
  
=Sketch Upload=
+
==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.
 
*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.
 +
 +
 +
==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
  
  
Line 43: Line 46:
  
  
=Network=
+
==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.
 
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.
  

Revision as of 18:37, 24 October 2014

Arduino Yun

Resources

[product page]

[getting started]

need sorting ->

Current Yuns

csyun1

  • wireless
  • EC1757
  • 159.28.141.140


Details

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


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.


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


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]

  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]