Getting Simula® up and running with the latest software is easy, thanks to the free, open-source Arduino IDE. You might choose to program Simula by yourself from scratch, modify our existing software, or just keep up with our latest simulations. The choice is yours.
Step 1: Download the Arduino software
To get the latest Arduino software, go here:
Arduino software is free; donations are encouraged but not required. The Arduino IDE runs on Windows, Mac, and Linux.
Step 2: Download the 3rd party libraries
Various features of Simula currently require 3rd party libraries in order to function. Some of these libraries need to be downloaded as zip files and copied to the Arduino "libraries" folder, while others can be installed automatically using the Arduino Library Manager.
- Download our clone of the StandardCplusplus library by maniacbug here, then open the Arduino IDE and select "Sketch/Include Library/Add ZIP Library..." and select the StandardCplusplus file you just downloaded.
- Next, go back to the Library Manager by selecting "Sketch/Include Library/Manage Libraries..." and then search out the following libraries, then click "Install" for each. For libraries with multiple versions, select the most recent version. (Links are provided if you'd rather download the zip.)
Step 3: Download the Simula software
The Simula software itself can be downloaded in a couple of different ways, depending on how adventurous you are. Pick one:
- If you'd like to play it safe and work with relatively stable software, you can simply add the Simula software using the Arduino Library Manager. Search for "Simula" select the latest version of "CRC Simula Library" by Chicago Robotics Corp and click "Install".
- If you are a Microsoft Visual Studio user and are interested in getting access to the very latest code, you can copy or clone the repository from GitHub here. Opening this repository in anything but Visual Studio is going to be unpleasant, so you should follow item 1 above.
Step 4: Plug in Simula and upload.
Now you can plug in Simula using a standard USB cable and configure the Arduino IDE to upload software.
- Attach a standard USB "type-B" cable to Simula and a USB port on your PC. You should see the power LED light up.
- If you are on a Windows machine, the first time you plug in Simula, a "device install" routine will start up. Once completed, you will see a new COM port on your machine.* Mac and Linux users will see the COM port instantly.
- Open the Arduino IDE and select "Tools/Board/Arduino/Genuino Mega or Mega 2560". Ensure that the Processor "ATmega2560 (Mega 2560)" has been automatically selected.
- Select the new COM port that was installed during steps 2 & 3. On Windows this is usually the highest port number in the list.
- Open a Simula example project such as Simula_BehaviorTree.ino. Click "File/Examples/CRC_Simula_Library/Simula_BehaviorTree".
- Click the "Upload" button. Congratulations, you're running the latest software, and you loaded it yourself!
*In select cases, a missing driver has been known to cause the “Tools/Port” menu inaccessible in Windows. This can be remedied by downloading the driver in question here.