Installing the Arduino Ide with Ardublock
Total Page:16
File Type:pdf, Size:1020Kb
Installing the Arduino IDE v1.6 May 2, 2014 INSTALLING THE ARDUINO IDE WITH ARDUBLOCK Hello TurtleBots students and mentors! The latest Arduino IDE is bundled with the BoEBot/TurtleBot libraries already installed, and the ArduBlock tool is now part of the Arduino IDE as well. To install the latest Arduino Integrated Development Environment (Arduino IDE): 1. Uninstall any Arduino IDE that you might have installed already; this will not remove any existing .ino or .abp programs you may have written. Step a: For Windows 7 or 8, press the Windows key and type "uninstall". Select "Uninstall a program" and select "Arduino" and “Uninstall”. Step b: For Windows XP, use the Control Panel module “Add or Remove Programs”. Select “Arduino” and “Remove”. Step c: Follow the prompts to completely uninstall the existing Arduino program. 2. Delete any ardublock-all.jar files you might have installed under your "My Documents\Arduino" folder. Step a: Open a file explorer. Step b: Navigate to "C:\Users\user\Documents\Arduino\tools\" where user is your user name on your computer. If you've moved your documents folder, it might be on the D: drive instead of C:. Step c: Delete the folder named "ArduBlockTool" and all subfolders below it. 3. Create a program folder for locally installed software. The suggested folder is "C:\Program Files Local". The file explorer should now look something like: Windows (C:) : Program Files Program Files (x86) <== on 64-bit Windows only Program Files Local : 4. Download the listed files from the DropBox "Arduino IDE" location to the "Program Files Local" folder created in the previous step: https://www.dropbox.com/sh/3xqy29yltsqa2dg/G3ncIqySEv/Arduino%20IDE Files: arduino-1_6.zip installation_notes.txt (if not already downloaded) 5. Unzip (or uncompress) the arduino-1_6.zip file in the "Program Files Local" folder. The folder path will be "C:\Program Files Local\arduino" and should contain the arduino.exe program file. 6. Install the USB drivers by running (double-clicking) the "install_usb_driver.bat" file. Installing the Arduino IDE v1.6 May 2, 2014 7. If there are problems connecting your robot via USB: Step a: Connect one of your robots using the USB cable. Step b: Follow the steps in this link: http://forum.arduino.cc/index.php?topic=115415.0 Step c: Repeat steps a & b for other robots that may have been connected to your computer. Step d: Rerun the .bat file from the previous step just to be sure it’s installed. 8. Verify your installation: Step a: Double-click the arduino.exe file. If all goes well, the IDE will start up—it may take a while, so be patient. Step b: Connect your robot using the USB cable. Step c: On the IDE menu, insure "Arduino UNO" is selected under the Hardware > Set Board menu. Step d: On the IDE menu, insure the proper "COM" port is selected under the Hardware > Set Port menu. Step e: Click the Upload tool button, or select menu option Sketch > Upload, or press Ctrl+U. Wait for the compile and upload actions to finish. If all goes well, advance to the next step. Step f: Click the menu option Tools > ArduBlock and wait for the ArduBlock tool to start up. Step g: Create a simple ArduBlock program and click "Upload to Arduino". Switch back to the Arduino IDE window, and verify it has uploaded your program to the robot. If there are program errors, correct the errors and retry. You are done! .