This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
digispark:tutorials:connectingpro [2014/12/19 21:43] MJD Fix misspelling of udef -> udev. |
digispark:tutorials:connectingpro [2016/06/09 12:03] (current) |
||
|---|---|---|---|
| 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+ (Arduino 1.6.5r2 - NOT 1.6.6 or 1.6.7 strongly recommended) |
| - | First download the appropriate package: | ||
| - | * Windows (now with fully signed drivers!) | + | ====== Installation Instructions: ====== |
| - | * 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 | + | |
| - | ==== Windows Install ==== | ||
| - | * Complete these steps before plugging in the Digispark (Pro) | + | * **First download the appropriate Arduino package at the Arduino.cc website: https://www.arduino.cc/en/Main/Software** |
| - | * Installer: Run the installer, when it pops up the driver install, install the drivers as well. When complete run the "Arduino IDE - Digistump Release" from your start menu. | + | * 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 |
| - | * Zip: Unzip and run the driver install - which is the "Install Drivers.bat" file inside the drivers folder. Then run Arduino.exe to run the IDE. | + | * **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** | ||
| - | ==== Mac OS X Install==== | + | 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. |
| + | {{ :digispark:tutorials:entry.jpg?nolink |}} | ||
| + | * **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 |}} | ||
| - | * Disable Gatekeeper by following this tutorial: [[digispark:tutorials:gatekeeper|Disabling Gatekeeper on OSX]] | + | * **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.** |
| - | * Unzip the App and drag it to your Programs folder - or whereever you would like to store it. | + | * **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) |
| - | * Run the "Arduino - Digistump Release" App that you just unzipped. | + | * **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. ** |
| - | * See the troubleshooting section below for any other issues. | + | {{ :digispark:tutorials:pickpro.gif?nolink |}} |
| - | ==== :Linux Specific ==== | + | * **The install is now complete!** (Linux users see note below) |
| - | 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! | ||
| - | Make sure you installed lib32stdc. | + | ==== Linux Install ==== |
| - | by issuing: apt-get install lib32stdc++6 | + | |
| + | * If you haven't before - Install the udev rules found here: [[http://digistump.com/wiki/digispark/tutorials/linuxtroubleshooting|Troubleshooting section]] | ||
| * **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 67: | 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:===== | ||