IDE 2.x laborary/student setup

Hello, I would like to deploy Arduino IDE 2.3.6 for two laboratories for students. I'm using a PowerShell App Deployment Toolkit script and need to follow this method for the installation. However, I haven't been able to find the certificates. Could you please provide some information on where to find them? I don't have much experience with this. Here is the procedure I need to follow. Thanks in advance

  • Navigate to: Software
  • Download the arduino-x.y.z-windows.exe to a folder created at (C:\Downloads)
  • Extract the contents of the arduino-x.y.z-windows.exe using 7-Zip to C:\Downloads\Extract
  • Navigate to C:\Downloads*Extract\drivers* folder
  • Extract the certificate from the AdafruitCircuitPlayground.cat file
    • Right-Click on the AdafruitCircuitPlayground.cat file
    • Select Properties-> Digital Signatures-> Click Adafruit Industries-> Details-> View Certificate
    • Select Details tab-> Copy to File…
    • Click Next, Next, Browse…
    • Enter AdafruitCircuitPlayground.cer for File Name and Save to “C:\Downloads*Arduino\Files\”*
    • Click Next & Finish
  • Extract the certificate from the arduino.cat file
    • Right-Click on the arduino.cat file
    • Select Properties-> Digital Signatures-> Click Arduino LLC-> Details-> View Certificate
    • Select Details tab-> Copy to File…
    • Click Next, Next, Browse…
    • Enter arduino.cer for File Name and Save to “C:\Downloads*Arduino\Files\”*
    • Click Next & Finish
  • Extract the certificate from the linino-boards_amd64.cat file
    • Right-Click on the linino-boards_amd64.cat file
    • Select Properties-> Digital Signatures-> Click Arduino srl-> Details-> View Certificate
    • Select Details tab-> Copy to File…
    • Click Next, Next, Browse…
    • Enter linino-boards_amd64.cer for File Name and Save to “C:\Downloads*Arduino\Files\”*
    • Click Next & Finish
  • Copy the arduino-x.y.z-windows.exe to “C:\Downloads*Arduino\Files\”*
    • You should now see the following files in the “C:\Downloads*Arduino\Files\” folder*
      • AdafruitCircuitPlayground.cer
      • arduino.cer
      • linino-boards_amd64.cer
      • arduino-x.y.z-windows.exe
  • Copy the PowerShell script below to “C:\Downloads*Arduino* & name it Deploy-Arduino.ps1

Your question has been moved to a dedicated topic.

Hi @asmacss. The procedure you have is for Arduino IDE 1.x. The Arduino IDE 1.x includes a bundled copy of the "Arduino AVR Boards" platform which adds support to Arduino IDE for boards like the UNO R3. For this reason, drivers for the boards of that platform were included in the Arduino IDE 1.x package.

The situation is different for Arduino IDE 2.x because its package does not contain the "Arduino AVR Boards" platform. It instead checks to see if "Arduino AVR Boards"
is already installed on the first run and if not automatically installs the platform via the Boards Manager system. The drivers are bundled with the "Arduino AVR Boards" platform, and are normally installed along with the platform.

So what this means is that you must obtain the drivers from the "Arduino AVR Boards" platform instead of from the Arduino IDE package.

There are a few different approaches you could take to obtain the files:

From the GitHub Repository

The "Arduino AVR Boards" platform is developed in this repository:

You can find the drivers in the drivers subfolder there.

From Arduino's Download Server

An alternative source for those same files is the platform's distributions package that is hosted on Arduino's download server. You can obtain the URL from this index file:

https://downloads.arduino.cc/packages/package_index.json

        {
          "name": "Arduino AVR Boards",
          "architecture": "avr",
          "version": "1.8.6",
          "category": "Arduino",
          "url": "https://downloads.arduino.cc/cores/staging/avr-1.8.6.tar.bz2",
          "archiveFileName": "avr-1.8.6.tar.bz2",
          "checksum": "SHA-256:ff1d17274b5a952f172074bd36c3924336baefded0232e10982f8999c2f7c3b6",
          "size": "7127080",

Using Arduino CLI

It might be that you want to install the "Arduino AVR Boards" platform in advance (remember that it isn't included in the Arduino IDE installation, so if you don't install it in advance then Arduino IDE will try to install it on the first run). If so, a system administrator will likely find it most convenient to do that using a command line tool. Arduino provides such a tool: Arduino CLI.

You can use Arduino CLI's core install command to install the platform:

arduino-cli core install arduino:avr

(arduino:avr is the machine identifier for the "Arduino AVR Boards" platform)

The platform will be installed to the packages/arduino/hardware/avr/1.8.6 subfolder of the Arduino data folder. You will find the drivers under that folder. By default, the location of the data directory is at $Env:LOCALAPPDATA\Arduino15\. However, it is also possible to change the location:

https://arduino.github.io/arduino-cli/latest/configuration/

The data folder location used by Arduino IDE 2.x can be configured via the Arduino CLI configuration file that is stored at $Env:HOMEDRIVE$Env:HOMEPATH\.arduinoIDE\arduino-cli.yaml

2 Likes

Thank you for your response, it is very much appreciated. I followed exactly what you recommended. However, the port is grayed out when I use a standard user, but it is functional with an administrator account

Please try this troubleshooting procedure and then report the results:


:red_exclamation_mark: This procedure is not intended to solve the problem. The purpose is to gather more information.


  1. Sign into the computer using a standard user account.
  2. Disconnect the USB cable of the Arduino board from your computer.
  3. Open the Windows Device Manager.
  4. Select View > Devices by type from the Device Manager menus.
  5. Open the "View" menu.
  6. If there is a to the left of the "Show hidden devices" menu item, click on "Show hidden devices" to disable it.
  7. Take note of the contents of the "Other devices" and "Ports (COM & LPT)" sections of the Device Manager tree.
  8. Connect the Arduino board to your computer with a USB cable.
  9. Select Action > Scan for hardware changes" from the Device Manager menus.

Now please reply here on this forum topic with the answers to the following questions:

  • Did you see any new device appear in the Device Manager tree after following those instructions?
  • If you did see a new device, where is it located in the tree, and what is it named?

You can repeat steps 5-8 multiple times if you are not sure.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.