Main Menu

search

You are here

DigiSpark Startup

[last updated: 2021-02-27]
go to: Digispark home page
-----

Setup:

Great startup tutorial/wiki: (link to:) digiStump.com
Another excellent source: (link to:) startingElectronics.org

  • install/open Arduino IDE
  • open easy blink or whatever program
  • select Tools > Board > Digispark (Default - 16.5mhz)
    • if Digispark is not on the list
      Add board:
      • in IDE: Files > Preferences > Additional Boards Manager URLs:
      • enter: http://digistump.com/package_digistump_index.json
        and click OK (you must have an active internet connection...)
      • in IDE: Tools > Board > Boards Manager
        confirm Digistump AVR Boards is installed. Click Install if not already installed.
        [2019/09/05 on Dell Tower, Digistump version 1.6.7 was installed]
        [2021/02/27 on Dell-4600, Digistump version 1.6.7 was installed]
      • Close and restart IDE
      • Tools > Board > Digispark (Default - 16.5 mhz)
      • Dell tower Status: [2019-09-06] Digispark board shows up in IDE board list, but uploading programs fails, presumably because I have not installed the driver, because my winzip has expired...
      • (maybe...) In Dell-4600: Now board shows up in Tools > Boards,
        but after connecting and powering the DigiSpark, Tools > Port is blank ...
        needs driver?

  • Join dialout group:
      Make sure you are in the dialout group:
      $ whoami ... to get current user name
      $ groups [userName] ... shows list of groups to which you belong
      If the dialout group is not in the list, then join it with:
      $ sudo adduser $USER dialout

  • Create 49-micronucleus.rules in /etc/udev/rules.d/
      It must have the following lines:
      SUBSYSTEMS=="usb", ATTRS{idVendor}=="16d0", ATTRS{idProduct}=="0753", MODE:="0666"
      KERNEL=="ttyACM*", ATTRS{idVendor}=="16d0", ATTRS{idProduct}=="0753", MODE:="0666", ENV{ID_MM_DEVICE_IGNORE}="1"

  • $ sudo apt-get install libusb-dev ?????

  • Install driver: [perhaps only needed for W-10]
    • download driver zip file from here:
      • https://github.com/digistump/DigistumpArduino/releases/download/1.6.7/Di...
      • This is a .zip file. Download options are to save to disk or to open with Archive Manager (default) (open IDE first?)
        On both Dell and Linux, selected to open with Archive Manager
        [But these following notes are for option to save to disk...]
        Digistump.Drivers.zip box opens
        select Extract
        [on Linux...]
        Extract box opens, with Home-Jay directory structure listed.
        (this time I tried...) double-click Arduino
        click Extract; "Extraction Completed Successfully" message
        clicked "show files"; double-click Digistump Drivers folder
        double-click: Install Drivers.exe; box opened too briefly to read, then closed.

  • Install Digispark in Linux:
    • The Digispark board is listed in the Tools > boards list. Selected it ... ... ...
  • Unlike other Arduino boards, Tools > Serial Port and Tools > Programmer do not seem to be needed

---------------------------------------

Programming: