Sunday 7 August 2016

Installing Arduino + Digispark on Linux Mint18

This was a little challenge. Where would we be without Google.

The advice on the Digistump website did NOT work.


1. Install the Arduino environment. https://www.arduino.cc/en/Guide/Linux

2. Install Digistump additional hardware https://digistump.com/wiki/digispark/tutorials/connecting

3. Per https://digistump.com/board/index.php/topic,106.msg106.html#msg106

Create a file named /etc/udev/rules.d/digispark.rules with the following line in it:

SUBSYSTEM=="usb", ATTR{idVendor}=="16d0", ATTR{idProduct}=="0753", MODE="0660", GROUP="dialout"


4. Add permission for dialout so other Arduino boards will work. 
https://www.arduino.cc/en/Guide/Linux#toc9

sudo usermod -a -G dialout <username
>

where <username> is your linux user name. You will need to log out and log in again for this change to take effect.


Note: To reload the udev rules use: 
sudo udevadm control --reload-rules

No comments: