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
digispark:tutorials:connectingpro [2014/12/17 17:42]
defragster Update notes of connection 'not recognize'
digispark:tutorials:connectingpro [2016/06/09 12:03] (current)
Line 11: Line 11:
 =====Software:​===== =====Software:​=====
  
-The Digispark Pro uses the Arduino IDE 1.5.x with some custom additionsThese will be integrated with the DigiX and Original Digispark additions and released as a package ​but for the beta release please follow the instructions below.+The Digispark Pro uses the Arduino IDE 1.6.5+  (Arduino 1.6.5r2 NOT 1.6.6 or 1.6.7 strongly recommended)
  
-First download the appropriate packages: 
  
 +====== Installation Instructions:​ ======
  
-  * Grab the Arduino IDE 1.5.x Beta (must be 1.5.7 or better!) - Page: http://​arduino.cc/​en/​Main/​Software ​ 
-  * Grab the the add-ons download for your platform: 
-      * Windows: http://​sourceforge.net/​projects/​digistump/​files/​Digistump1.5Addons-v092.zip/​download 
-      * Mac: http://​sourceforge.net/​projects/​digistump/​files/​Digistump1.5Addons-v092Mac.zip/​download 
-      * Linux: http://​digispark.s3.amazonaws.com/​digisparkpro_linux.zip (very beta - someone please update?) 
-      * Note: report any issues with the builds to the forum: http://​digistump.com/​board - Linux beta build compiled by netguy204 - thanks! 
  
-==== General ​Install ​====+  *  **First download the appropriate Arduino package at the Arduino.cc website: https://​www.arduino.cc/​en/​Main/​Software** 
 +  *  If using Arduino 1.6.6 or higher and windows - download, unzip, and run "Install ​Drivers"​ from here: https://​github.com/​digistump/​DigistumpArduino/​releases/​download/​1.6.7/​DigistumpDrivers.zip 
 +  *  **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**
  
-  * Unzip the nightly IDE to a folder. +Note: If you already have additional URLs entered in that box, then click the button ​on the right of the box and enter this URL on a new line
-  * Unzip and copy the DigiXAddOns/​Hardware folder to your (My) Documents/​Arduino folder for Mac and Windows (My Documents ​on windows) and your /​home/​[username]/​Sketchbook folder on Linux.  +{{ :​digispark:​tutorials:​entry.jpg?nolink |}}
-  * Complete ​the steps below specific to your operating system +
-  * When complete go back to the folder you unzipped ​and run the Arduino executable to open the Arduino IDE+
-  * Select Boards->​Digispark Pro before uploading. [Programmer / USBasp ] +
-  * Hit upload then plug in or restart the Digispark Pro **when it prompts you to do so**+
  
-==== Windows Specific ====+  *  **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 |}}
  
-  ​Run the Install Driver - 32-bit or 64-bit .bat file found in the Digistump Driver folder in the files you just extracted(32 bit for 32 bit windows, 64 for 64 bit windows) +    ​ ​**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.**  
-  * **If you have any issues:** see the troubleshooting section +    ​* ​ **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) 
-  * NOTE: If you use Windows 8/8.1 you must disable driver signature verification. Instructions here:​[[http://​www.howtogeek.com/​167723/​how-to-disable-driver-signature-verification-on-64-bit-windows-8.1-so-that-you-can-install-unsigned-drivers/​]] - this requirement will be removed after Beta by the use of signed drivers.+    ​* **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 |}}
  
-==== Mac OS X Specific ====+  *  **The install is now complete!** (Linux users see note below)
  
  
-Open '​System Preferences'​  +==== Linux Install ====
-{{:​digispark:​tutorials:​preferences_icon.png?​nolink&​60x54|}}+
  
-Select ​'Security and Privacy'​ from your '​System Preference'​ window {{:digispark:tutorials:​security_and_privacy_osx.png?​nolink&​71x85|}}+  * If you haven't before - Install the udev rules found here[[http://​digistump.com/​wiki/​digispark/tutorials/​linuxtroubleshooting|Troubleshooting section]]
  
-Make sure you are in under the '​General'​ view in '​Security and Privacy'​ {{:​digispark:​tutorials:​security_general_ios.png?​nolink&​330x51|}}+  * **ATTENTION LINUX USERS:** [[digispark:​tutorials:​linuxtroubleshooting|PLEASE CHECKOUT THE LINUX TROUBLESHOOTING PAGE**]]
  
-Unlock the edit icon in the lower left hand (this will require that you have an account that allows you to modify these setting.)  +==== Sources ====
-{{:​digispark:​tutorials:​login_ios_security.png?​nolink&​480x307|}}+
  
-You will know you are successful because the icon in the lower right side of the dialog will be unlocked  +**Digistump Package Sources: ** https://github.com/digistump/DigistumpArduino
-{{:​digispark:​tutorials:​unlock_security_option.png?​nolink&​320x61|}} +
- +
-Ensure that you have enabled non-Store apps under System Preferences +
-{{:​digispark:​tutorials:​anywhere_selected_ios.png?​nolink&​502x271|}} +
- +
-You can now download and unzip to a folder - hint if you use Safari it will complete the unzip for you. +
- +
-Use or install as you would any other App. If you need assistance please check the Apple site for further help - '​http://​support.apple.com/​kb/​PH11356'​. +
- +
-Why do I have to unlock my security to install the Digispark editing application?​ Is this safe?  +
- +
-//Apple has a developer policy that requires developers to choose to work inside or outside of its application ecology. Developers who work inside of the ecology register with Apple and pay licensing fees. Apple then applies criteria from its application store policy to the app. Apple does not block users from installing apps built outside of it ecology, but it requires users to accept that these apps are not Apples responsibility - http://​support.apple.com/​kb/​ht5290 // +
- +
- +
-{{:​digispark:​tutorials:​digispark_about.png?​nolink&​518x300|}} +
- +
- +
-//Currently the Digispark development tool was created outside of this ecology and is likely to stay this way. It is opensource.While the developers have not built this app under the supervision of Apple they have signed this. When the application is launched you can go to the Arduino menu and select 'about Arduino'​ where the developers have made a public who they are and what code they have modified.// ​  +
- +
-See the troubleshooting section below for any other issues. +
- +
-==== :Linux Specific ==== +
- +
-  Make sure you installed ​ lib32stdc. +
-   +
-  by issuing: apt-get install lib32stdc++6 +
- +
-  ​* **ATTENTION LINUX USERS:** [[digispark:tutorials:​linuxtroubleshooting|PLEASE CHECKOUT THE LINUX TROUBLESHOOTING PAGE**]] +
-  * Install the Udef rules for the Digispark/Digispark Pro (same rules for both) +
-  * Use the udef rules found here: [[http://digistump.com/wiki/​digispark/​tutorials/linuxtroubleshooting|Troubleshooting section]]+
    
- 
-=====Windows Installation:​===== 
- 
-Unzip to a folder. 
- 
-Before plugging in the Digispark or running the Arduino IDE you must install the driver. 
- 
-To install the driver go into the folder you just unzipped and go to the "​Digispark - Windows Driver"​ folder. Inside that folder run the InstallDriver executable file. Go through the wizard to install the Digispark driver. 
- 
- 
- 
  
 =====Using the Digispark with the Arduino IDE:===== =====Using the Digispark with the Arduino IDE:=====
Line 100: Line 57:
  
  
-From the Tools menu select Board->​Digispark Pro +From the Tools menu select Board->​Digispark Pro (16Mhz) (Default)
-(see below for the difference between the two Digispark option, but either will do for getting started)+
  
-From the Tools menu select Programmer->Digispark Pro+ 
 +(The Tools->Programmer selection does not matter)
  
 Write some code, open your code, or open a Digispark example. Write some code, open your code, or open a Digispark example.
Line 113: Line 70:
 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.+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:​=====
Line 186: Line 143:
   * If you're getting the error above and allowing unidentified apps doesn'​t fix it try this: http://​digistump.com/​board/​index.php/​topic,​119.0.html ​ - we are actively working on a fix for this issue.   * If you're getting the error above and allowing unidentified apps doesn'​t fix it try this: http://​digistump.com/​board/​index.php/​topic,​119.0.html ​ - we are actively working on a fix for this issue.
   * **2012 MBP** The USB ports on the 2012 MBPs (Retina and non) cause issues due to their USB3 controllers,​ currently the best work around is to use a cheap USB hub (non USB3) - we are working on future solutions. The hub on a Cinema display will work as well.   * **2012 MBP** The USB ports on the 2012 MBPs (Retina and non) cause issues due to their USB3 controllers,​ currently the best work around is to use a cheap USB hub (non USB3) - we are working on future solutions. The hub on a Cinema display will work as well.
- 
  
  
 **LINUX:** See the [[digispark:​tutorials:​linuxtroubleshooting|Linux troubleshooting page]] **LINUX:** See the [[digispark:​tutorials:​linuxtroubleshooting|Linux troubleshooting page]]
- 
- 
  
  
digispark/tutorials/connectingpro.1418866962.txt.gz · Last modified: 2014/12/17 17:42 by defragster