Installing a MS_ library in the Arduino IDE


1. Locate the version of the Arduino IDE archive for your operating system (Windows, Mac, Linux 32-bit, or Linux 64-bit), copy it to your computer, and extract the archive.

2. Copy the Machine Science code library archive (MS_BREADBOARDS) to your computer and extract the archive.

3. Move the extracted Machine Science code library to the appropriate location for your operating system:

Windows: ../Arduino(version)/libraries
Mac: ../Arduino(version)/Contents/Resources/Java/libraries
Linux: ../Arduino(version)/libraries

NOTE: In the Mac OS Finder tool, you will need to right-click on the Arduino icon, and select “Show Package Contents” in order to access the specified destination folder.


1. Launch the Arduino IDE.

2. In the File menu, select Examples and verify that the Machine Science examples (MS_BREADBOARDS) are available.

3. Connect your ATmega Board to your computer, using a USB cable. (It may take your system a few moments to detect the device and locate the drivers.)

4. In the Tools menu, select Serial Port and choose the appropriate device. On Windows machines, this will be identified as a communications port (e.g. COM 9). On Macs, this will be identified as a “usbserial” device (e.g. usbserial-A6007MDi).

5. In the Tools menu, select Board and choose any Arduino with an ATmega168 microcontroller. (This version of the Arduino hardware and bootloader is most similar to the Machine Science ATmega Board).