User Tools

Site Tools


kit:software_configuration

CrowBox Software Configuration

The programmable computer brain that controls the CrowBox is the Arduino UNO microcontroller board.

On this page we'll go through the steps required to download the source code for our CrOS software and get it uploaded to an Arduino UNO board, which can then be used to control your CrowBox. The CrOS software is fully open-source and we encourage you to make changes and improvements to the program code and the machine's training protocol.

The Arduino is an extremely popular platform for makers and experimental electronics worldwide. This means that there are a great deal of resources available to help you learn more about the Arduino hardware, the Arduino IDE software, and how to program and modify programs for these great little boards.

If you run into trouble following the instructions on this page, there are a number of places to turn for help:

Step One: Download and install the Arduino IDE software

To install the CrowBox system software onto your Arduino UNO microcontroller board, you'll need a computer, a USB A to B cable, and the Arduino IDE software, which is available for free download. IDE stands for Integrated Development Environment, but that's not an important detail right now.

Let's get started! First, follow the official instructions at the Arduino website to install the version of the Arduino IDE software that matches your computer's operating system:

  • Arduino software install guide for Windows
  • Arduino software install guide for Mac OSX
  • Arduino software install guide for Linux

Step Two: Download the CrOS Software

The CrowBox is controlled by an Arduino UNO microcontroller board which runs the CrowBox Operating System software that we call 'CrOS'. In order to get your CrowBox online, you'll need to download our CrOS software and install it on your Arduino UNO board.

  1. Download the latest version of the CrOS software.
  2. You will receive a file named something like cros_v099a.zip. Double-click this file to extract the .zip archive
  3. The archive should create a folder called cros which contains the CrOS source code files, which have extensions like .h, .cpp, and a file named cros.ino

Step Three: Load CrOS software into the Arduino IDE

  1. Launch the Arduino IDE software that you downloaded and installed in steps one and two.
  2. From the Arduino menu, select FILE→OPEN
  3. In the file dialog window that appears, navigate to the 'cros_source' folder from step three and select the file named cros.ino then click Open.
  4. The CrOS project files will be loaded and you will see some tabs containing filenames that begin with 'cros'. You can click through these tabs to view the various source code files, or just ignore them if you're not interested.
  5. It's possible that at some point a window will appear near the bottom of the Arduino IDE which says “Updates are available for some of your boards and libraries”. It's a good idea to accept these updates, but you may also click the X to dismiss this message and ignore the updates.

Step Four: Connect your Arduino UNO board

  1. Plug the 'B' end (The big square end) of your USB A to B cable into the square USB socket on your Arduino UNO board. Plug the other end of the USB cable into a free USB port on your computer.
  2. Allow a moment for your operating system to detect the new device. On Windows operating systems, drivers may begin to install. If so, allow this process to finish before proceeding.
  3. In the Arduino IDE menu, select TOOLS→BOARD→ARDUINO/GENUINO UNO
  4. The details of the next step depend on your operating system:
    1. Windows
      1. In the Arduino IDE menu, select TOOLS→PORT→ and then look for a COM port numbered 3 or higher which is also labeled (Arduino/Genuino Uno) and select it.
      2. Examples: COM6 (Arduino/Genuino Uno) or COM3 (Arduino/Genuino Uno)
    2. Mac OSX
      1. In the Arduino IDE menu, select TOOLS→PORT→ and then select the port named starting with /dev/tty.usbmodem or /dev/tty.usbserial. The port name will probably end with an unusual alphanumeric string.
    3. Linux
      1. We have no instructions for this step at present!
      2. If you are familiar with the Arduino IDE on Linux, please contact us on the Google Group to contribute to this section

Step Five: Upload CrOS software to Arduino UNO

  1. At the top left of the Arduino IDE window you'll see two round buttons. Locate the round button with an arrow facing to the right. This is the Upload button.
  2. Click the Upload button. The CrOS software will compile on your computer and then be uploaded to the Arduino UNO board which you've connected to your computer with the USB cable. If you receive an error message, the best place to turn for help is the CrowBox Google Group.
  3. Once the upload is complete, leave the Arduino UNO board connected to your computer for 30 seconds before disconnecting the USB cable.

Your CrowBox software should now be ready to operate!

kit/software_configuration.txt · Last modified: 2018/09/22 15:18 by steve