Arduino InstallationTo install an Arduino device into the Virtual Wiring system, cable an Arduino's USB port to the Virtual Wiring system's USB port. Then, from the Scripts/Device/Arduino directory on the Scripts page, run the Arduino Script. Its parameters are:
To learn more about the USB port locations see the FAQ on port locations. Optional parameters are:
To successfully install an Arduino as an Arduino Device, the Arduino has to be running the Firmata program. Many Arduinos come with Firmata pre-installed. We support Arduinos running Firmata software version 2.2 or higher. If your Arduino does not come pre-programmed with Firmata code, see our How To Install Firmata page. If you are not sure what is running on your Arduino, try running the Arduino Script. If it runs cleanly, your Arduino is running Firmata. Note: if your Script does not run cleanly, look at the Console Log. The log may have additional error messages providing clues about what is wrong. If your installation is successful, the log will tell you details about your Arduino, including what version of Firmata is running. If for any reason you are not sure what version of Firmata is running on an Arduino, install the Arduino and check the log. Note: if you wish to run I2C devices, the Firmata software should be at version 2.3 or higher. ExampleRunning the Arduino Script with the parameters listed below will add an Arduino device with the ID "arduino", an analog sampling period of 0.1 seconds, and its I2C bus enabled. The "port_location" value will vary, depending on the system.
|