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/18 22:03]
digistump
oak:tutorials:arduino [2016/07/19 18:12]
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 14: 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 37: Line 34:
     * With the install complete, close the "​**Boards Manager**"​ window and select the **Oak by Digistump** from the **Tools**->​**Boards** menu.  ​     * With the install complete, close the "​**Boards Manager**"​ window and select the **Oak by Digistump** from the **Tools**->​**Boards** menu.  ​
  
-  * You now must set up your Particle Cloud login so you can upload to your device. Download the OakCLI tool from here: https://​github.com/​digistump/​OakCLI ​and run it (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. ​+  * 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.2/​oakcli-1.0.2-win32.zip 
 +     * 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.2/​oakcli-1.0.2-linux32.tar.gz 
 +     * Linux 64bit: https://​github.com/​digistump/​OakCLI/​releases/​download/​1.0.2/​oakcli-1.0.2-linux64.tar.gz 
 +  * 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.txt · Last modified: 2016/07/19 18:12 by pfeerick