User Tools

Site Tools


digispark:tutorials:connectingpro

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
Next revision Both sides next revision
digispark:tutorials:connectingpro [2014/12/20 14:43]
defragster [Using the Digispark with the Arduino IDE:] note USB goes offline
digispark:tutorials:connectingpro [2015/06/25 17:13]
digistump
Line 11: Line 11:
 =====Software:​===== =====Software:​=====
  
-The Digispark Pro uses the Arduino IDE - Digistump Release ​1.5.x which is the Arduino IDE with some custom additions and supports Digispark, Digispark Pro, and DigiX. These are presented as a fully integrated package with 1.5.x that can be downloaded as an installed or zip file.+The Digispark Pro uses the Arduino IDE 1.6.5+
  
-First download the appropriate package:+====== Installation Instructions======
  
-===RELEASES REMOVED PENDING FIX - WILL BE UP LATER TODAY=== 
-<del> * Windows (now with fully signed drivers!) 
-          * Installer (recommended):​ https://​github.com/​digistump/​DigistumpArduino/​releases/​download/​v1.5.8A/​DigistumpArduinoInstall1.5.8A.exe 
-          * Zip: https://​github.com/​digistump/​DigistumpArduino/​releases/​download/​v1.5.8A/​DigistumpIDE1.5.8A.zip 
-      * Mac: https://​github.com/​digistump/​DigistumpArduino/​releases/​download/​v1.5.8A/​DigistumpIDE1.5.8AOSX.zip 
-      * Linux: See linux section below. 
-      * Note: report any issues with the builds to the forum: http://​digistump.com/​board</​del>​ 
  
-==== Windows ​Install ​====+  *  **First download the appropriate Arduino package at the Arduino.cc website: https://​www.arduino.cc/​en/​Main/​Software** 
 +  *  **Install ​or Unzip the Arduino application.** 
 +  *  **Run the Arduino application.** 
 +  *  **In the Arduino application go to the "​File"​ menu and select "​Preferences"​** 
 +{{ :​digispark:​tutorials:​preferences.gif?​nolink |}} 
 +  *  **In the box labeled "​Additional Boards Manager URLs" enter:** <​code>​http://​digistump.com/​package_digistump_index.json</​code>​ 
 +**and click OK**
  
-  * Complete these steps before plugging ​in the Digispark (Pro) +Note: If you already have additional URLs entered ​in that boxthen click the button on the right of the box and enter this URL on a new line
-  * Installer: Run the installerwhen it pops up the driver install, install ​the drivers as well. When complete run the "​Arduino IDE - Digistump Release"​ from your start menu+{{ :digispark:​tutorials:​entry.jpg?nolink |}}
-  * ZipUnzip and run the driver install - which is the "​Install Drivers.bat"​ file inside the drivers folder. Then run Arduino.exe to run the IDE.+
  
-==== Mac OS X Install====+  *  **Go to the "​Tools"​ menu and then the "​Board"​ submenu - select "​Boards Manager"​ and then from the type drop down select "​Contributed":​**  
 +  * **Select the "​Digistump AVR Boards"​ package and click the "Install" button.** 
 +{{ :​digispark:​tutorials:​digispark_install.gif?​nolink |}}
  
 +    *  **You'​ll see the download progress on the bottom bar of the "​Boards Manager"​ window, when complete it will show "​Installed"​ next to that item on the list.** ​
 +    *  **WINDOWS USERS: When complete the install with pop up a Driver Install Wizard window, please click "​Next"​ on this Window to install the drivers for Digistump Boards** (If you already have them installed, this installer will update them and install any that are missing)
 +    * **With the install complete, close the "​Boards Manager"​ window and select the "​Digispark Pro" from the Tools->​Boards menu. "​Digispark Pro (Default 16mhz)"​ is the board that should be selected by all new users. ** 
 +{{ :​digispark:​tutorials:​pickpro.gif?​nolink |}}
  
-  * Disable Gatekeeper by following this tutorial: [[digispark:​tutorials:​gatekeeper|Disabling Gatekeeper on OSX]] +  *  **The install is now complete!*(Linux users see note below)
-  ​* ​Unzip the App and drag it to your Programs folder - or whereever you would like to store it. +
-  ​Run the "​Arduino - Digistump Release"​ App that you just unzipped.  +
-  ​See the troubleshooting section ​below for any other issues.+
  
-==== :Linux Specific ==== 
  
-Compile from our github sources or use the beta package here as a starting point: http://​digispark.s3.amazonaws.com/​digisparkpro_linux.zip (very beta - someone please update?) - Linux beta build compiled by netguy204 - thanks!+==== Linux Install ====
  
-Make sure you installed ​ lib32stdc. +  * If you haven'​t before ​Install the udev rules found here: [[http://​digistump.com/​wiki/​digispark/​tutorials/​linuxtroubleshooting|Troubleshooting section]]
-by issuing: apt-get install lib32stdc++6+
  
   * **ATTENTION LINUX USERS:** [[digispark:​tutorials:​linuxtroubleshooting|PLEASE CHECKOUT THE LINUX TROUBLESHOOTING PAGE**]]   * **ATTENTION LINUX USERS:** [[digispark:​tutorials:​linuxtroubleshooting|PLEASE CHECKOUT THE LINUX TROUBLESHOOTING PAGE**]]
-  * Install the udev rules for the Digispark/​Digispark Pro (same rules for both) 
-  * Use the udev rules found here: [[http://​digistump.com/​wiki/​digispark/​tutorials/​linuxtroubleshooting|Troubleshooting section]] 
-  
  
 +==== Sources ====
 +
 +**Digistump Package Sources: ** https://​github.com/​digistump/​DigistumpArduino
 + 
  
 =====Using the Digispark with the Arduino IDE:===== =====Using the Digispark with the Arduino IDE:=====
Line 68: Line 68:
 You'll see the upload progress and then it will immediately run your code on the Digispark Pro. You'll see the upload progress and then it will immediately run your code on the Digispark Pro.
  
-If you unplug the Digispark Pro and plug it back in or attach it to another power source there will be a delay of 5 seconds before the code you programmed will run. This 5 second delay is the Digispark Pro checking to see if you are trying to program it. After the 5 second delay when the bootloader launches the stored program, the USB device will typically go away (and may report a failure to install) unless the nature of the '​sketch'​ is to act as a USB device.+If you unplug the Digispark Pro and plug it back in or attach it to another power source there will be a delay of 5 seconds before the code you programmed will run. This 5 second delay is the Digispark Pro checking to see if you are trying to program it. After the 5 second delay when the bootloader launches the stored program, the USB device will typically go away (and may report a failure to install, or "​Unknown Device"​) unless the nature of the '​sketch'​ is to act as a USB device.
  
 =====Your first upload:​===== =====Your first upload:​=====
digispark/tutorials/connectingpro.txt · Last modified: 2016/06/09 12:03 (external edit)