User Tools

Site Tools


oak:tutorials:arduino

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
oak:tutorials:arduino [2016/03/21 15:54]
digistump
oak:tutorials:arduino [2016/07/19 18:12] (current)
pfeerick Removed r2 reference in 1.6.5 Arduino IDE recommendation as no longer readily available
Line 1: Line 1:
 +======Connecting and Programming Your Oak======
  
  
- 
- 
- 
- 
-======Connecting and Programming Your Oak====== 
  
  
 ====== Installation Instructions:​ ====== ====== Installation Instructions:​ ======
- 
- 
- 
  
 ---- ----
- 
  
  
Line 20: Line 12:
  
 If you are using a new Oak that has never received its initial update you must complete this tutorial first: [[oak:​tutorials:​connecting|Connecting your Oak for the first time]] If you are using a new Oak that has never received its initial update you must complete this tutorial first: [[oak:​tutorials:​connecting|Connecting your Oak for the first time]]
- 
  
 ===== Arduino IDE ===== ===== Arduino IDE =====
  
 The Oak on Arduino uses the Arduino IDE 1.6.5 or higher. ​ The Oak on Arduino uses the Arduino IDE 1.6.5 or higher. ​
-(1.6.5r2 is strongly recommended as 1.6.6 and 1.6.7 have some bugs that can cause install issues with third party boards like the Oak)+(1.6.is strongly recommended as 1.6.6 and 1.6.7 have some bugs that can cause install issues with third party boards like the Oak)
  
  
Line 44: Line 35:
  
   * You now must set up your Particle Cloud login so you can upload to your device. Download the OakCLI tool from here:    * You now must set up your Particle Cloud login so you can upload to your device. Download the OakCLI tool from here: 
-     * Windows: https://​github.com/​digistump/​OakCLI/​releases/​download/​1.0.0/​oakcli-1.0.0-win32.zip +     * Windows: https://​github.com/​digistump/​OakCLI/​releases/​download/​1.0.2/​oakcli-1.0.2-win32.zip 
-     * Mac OSX: https://​github.com/​digistump/​OakCLI/​releases/​download/​1.0.0/​oakcli-1.0.0-osx.tar.gz +     * Mac OSX: https://​github.com/​digistump/​OakCLI/​releases/​download/​1.0.2/​oakcli-1.0.2-osx.tar.gz 
-     * Linux 32bit: https://​github.com/​digistump/​OakCLI/​releases/​download/​1.0.0/​oakcli-1.0.0-linux32.tar.gz +     * Linux 32bit: https://​github.com/​digistump/​OakCLI/​releases/​download/​1.0.2/​oakcli-1.0.2-linux32.tar.gz 
-     * Linux 64bit: https://​github.com/​digistump/​OakCLI/​releases/​download/​1.0.0/​oakcli-1.0.0-linux64.tar.gz +     * Linux 64bit: https://​github.com/​digistump/​OakCLI/​releases/​download/​1.0.2/​oakcli-1.0.2-linux64.tar.gz 
-  * Run the OakCLI tool you just downloaded (from any directory), enter your [[https://​www.particle.io/​|Particle]] login data and select your device, ​then select exit. You only have to do this once or when you want to change devices. ​+  * Run the OakCLI ​(eg. ''​./​oak''​) ​tool you just downloaded (from any directory), enter your [[https://​www.particle.io/​|Particle]] login data and select your device
 + 
 +<​code>​ 
 +[1] Unnamed Device (Device ID: d9xxxxxxxxxxxxxxxxxxxxxx) 
 +[2] ------------------------ 
 +[3] Switch Particle Accounts 
 +[0] Exit 
 + 
 +Which device would you like to use? [1, 2, 3, 0] : 1 
 + 
 +Configuration saved at /​home/​user/​.oak/​config.json 
 +You can now upload files to this device. 
 +Currently selected device: Unnamed Device (Device ID: d9xxxxxxxxxxxxxxxxxxxxxx) 
 +</​code>​ 
 + 
 +  * If you are done, select exit. You only have to do this once or when you want to change devices. ​ 
   * The install is now complete!   * The install is now complete!
  
oak/tutorials/arduino.1458600850.txt.gz · Last modified: 2016/03/21 15:54 by digistump