User Tools

Site Tools


digispark:tutorials:connecting

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:connecting [2015/06/23 11:08]
digistump
digispark:tutorials:connecting [2016/11/16 16:35] (current)
pfeerick
Line 12: Line 12:
 =====Software:​===== =====Software:​=====
  
-The Digispark uses the Arduino IDE 1.6.5++The Digispark uses the Arduino IDE 1.6.5+ ​(Arduino 1.6.5r2 - NOT 1.6.6 or 1.6.7 strongly recommended)
  
 ====== Installation Instructions:​ ====== ====== Installation Instructions:​ ======
Line 18: Line 18:
  
   *  **First download the appropriate Arduino package at the Arduino.cc website: https://​www.arduino.cc/​en/​Main/​Software**   *  **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 - you will need to download and install the drivers manually. Download, unzip and run "​Install Drivers"​ (on 32bit systems) ​ or "​DPInst64"​ (on 64bit systems). If you get stuck, try following the steps [[https://​www.youtube.com/​watch?​v=MmDBvgrYGZs|shown in this YouTube video]]. The driver files are located here: https://​github.com/​digistump/​DigistumpArduino/​releases/​download/​1.6.7/​Digistump.Drivers.zip
   *  **Install or Unzip the Arduino application.**   *  **Install or Unzip the Arduino application.**
   *  **Run the Arduino application.**   *  **Run the Arduino application.**
Line 24: Line 25:
   *  **In the box labeled "​Additional Boards Manager URLs" enter:** <​code>​http://​digistump.com/​package_digistump_index.json</​code>​   *  **In the box labeled "​Additional Boards Manager URLs" enter:** <​code>​http://​digistump.com/​package_digistump_index.json</​code>​
 **and click OK** **and click OK**
-  *  **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 Digispark Boards"​ package and click the "​Install"​ button. 
- 
- 
  
 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. 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 |}} {{ :​digispark:​tutorials:​entry.jpg?​nolink |}}
  
-**Digistump ​Package Sources: ** https://github.com/​digistump/​DigistumpArduino+  ​ **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 from the Tools->​Boards menu. "​Digispark (Default - 16.5mhz)"​ is the board that should be selected by all new users. **  
 +{{ :​digispark:​tutorials:pickdigispark.gif?nolink |}}
  
 +  *  **The install is now complete!** (Linux users see note below)
  
  
Line 41: Line 46:
  
   * **ATTENTION LINUX USERS:** [[digispark:​tutorials:​linuxtroubleshooting|PLEASE CHECKOUT THE LINUX TROUBLESHOOTING PAGE**]]   * **ATTENTION LINUX USERS:** [[digispark:​tutorials:​linuxtroubleshooting|PLEASE CHECKOUT THE LINUX TROUBLESHOOTING PAGE**]]
 +
 +==== Sources ====
 +
 +**Digistump Package Sources: ** https://​github.com/​digistump/​DigistumpArduino
  
  
Line 105: Line 114:
   * Pin 0 -> I2C SDA, PWM (LED on Model B)   * Pin 0 -> I2C SDA, PWM (LED on Model B)
   * Pin 1 -> PWM (LED on Model A)   * Pin 1 -> PWM (LED on Model A)
-  * Pin 2 -> I2C SCK, Analog+  * Pin 2 -> I2C SCK, Analog ​In
   * Pin 3 -> Analog In (also used for USB+ when USB is in use)   * Pin 3 -> Analog In (also used for USB+ when USB is in use)
   * Pin 4 -> PWM, Analog (also used for USB- when USB is in use)   * Pin 4 -> PWM, Analog (also used for USB- when USB is in use)
Line 150: Line 159:
  
 **WINDOWS:​** **WINDOWS:​**
- +  ​* **Did you install the right driver?​** ​ 
-  ​* **Did you install the driver?**+  * Try following the [[https://​www.youtube.com/​watch?​v=MmDBvgrYGZs|steps shown in this video]], as it addresses most of the problems encountered during the driver installation on Windows, including needing to run a different installer on 64 bit versions of windows, and how to finish installing the drivers without having to plug and unplug your digispark multiple times.  ​
   * For the example programs if you are getting "​Device not found" even after installing the DigiUSB driver in the examples folder then try this: http://​digistump.com/​board/​index.php/​topic,​257.0.html   * For the example programs if you are getting "​Device not found" even after installing the DigiUSB driver in the examples folder then try this: http://​digistump.com/​board/​index.php/​topic,​257.0.html
   * If Windows does not recognize a "​DigiUSB"​ but a generic "​HID-compliant device"/"​USB Input Device"​ pair, go to the Device Manager, find in the "Human Interface Devices"​ category the USB Input Device with a vendor ID of 0x16C0 and select "​update driver"​ / "​browse my computer"​ / "let me pick from a list" and the DigiUSB should show up there.   * If Windows does not recognize a "​DigiUSB"​ but a generic "​HID-compliant device"/"​USB Input Device"​ pair, go to the Device Manager, find in the "Human Interface Devices"​ category the USB Input Device with a vendor ID of 0x16C0 and select "​update driver"​ / "​browse my computer"​ / "let me pick from a list" and the DigiUSB should show up there.
digispark/tutorials/connecting.1435082900.txt.gz · Last modified: 2015/06/23 11:08 by digistump