Arduino 01: Installing the Arduino Application and Firmware. Jeffrey A. Meunier University of Connecticut

Similar documents
Arduino 02: Using the Arduino with Python. Jeffrey A. Meunier University of Connecticut

Arduino 04: Python Arduino reference. Jeffrey A. Meunier University of Connecticut

Megamark Processing 3.0 Setup Guide. Downloading and Installing Processing 3.0

Arduino 05: Digital I/O. Jeffrey A. Meunier University of Connecticut

Arduino 6: Analog I/O part 1. Jeffrey A. Meunier University of Connecticut

Arduino Micro Breadboard Laboratory Interface Processor (Micro BLIP) User Manual

SeeMeCNC Guides. Step 5: Installing the Firmware. This guide will show you how to install the firmware on your Rostock MAX v3 3D printer.

RoastLogger Arduino/TC4 driver installation for Windows 9/10/13 By John Hannon (JackH) at Homeroasters.org

Slide 1 CS 170 Java Programming 1 Duration: 00:00:49 Advance mode: Auto

These instructions were adapted from Arduino: Installing Standard Firmata which is licensed under Attribution- NonCommercial-ShareAlike 2.

INSTALLING WINDOWS ON YOUR MAC USING BOOT CAMP C188 TUTORIAL Fall, 2016

Elektor Uno R4 Installation & Test

Using Devices with Microsoft HealthVault

How to make a Work Profile for Windows 10

From using an External Harddrive, to a Google Cloud Drive; there is no one way to backup data.

Code&Drive First steps

Getting Started with Energia for MSP432 LaunchPad

Introduction. Uploading and Syncing Files. Google Drive and Docs Uploading and Syncing Files. Uploading Files to Google Drive.

ROBOTLINKING THE POWER SUPPLY LEARNING KIT TUTORIAL

SeeMeCNC Guides. RAMBo Control Firmware. This guide will show you how to install the firmware on your SeeMeCNC 3D printer.

Arduino IDE Friday, 26 October 2018

MyNIC Team Site - Document Sharing

Driver Installation. Getting Started for Windows user (Setting up your Robot)

Required software. Mac OS X In this section, you ll find instructions for downloading and configuring the Arduino IDE in Mac OS X.

OneDrive for Business

Click Here to Begin OS X. Welcome to the OS X Basics Learning Module.

CircuitPython with Jupyter Notebooks

Privacy and Security in Online Social Networks Department of Computer Science and Engineering Indian Institute of Technology, Madras

RTMS - Software Setup

Welcome to the Exporting a Report tutorial. In this tutorial, you will learn how to export a report as an excel spreadsheet or an Adobe PDF document.

Course: Google Drive Episode: Introduction. Note-Taking Guide

Barchard Introduction to SPSS Marks

My Digital Downloader Instruction Guide *WINDOWS*

Intel Do-It-Yourself Challenge Lab 1: Intel Galileo s Arduino side Nicolas Vailliet

IRONKEY D300S SECURE USB 3.0 FLASH DRIVE

Quick Start Instructions for Using Postage $aver for Parcels for Mac with Filemaker Pro files

Scratch 2.0 Wireless Programming Guide for Vortex

SeeMeCNC Guides. Configuring Artemis

Save and Restore Backups using itunes File Sharing

1. Remove any previously installed versions of the Offline Image Viewer by dragging and dropping the Offline Image Viewer icon into the Trash.

Step 7 How to convert a YouTube Video to Music As I mentioned in the YouTube Introduction, you can convert a Video to a MP3 file using Free Video To

HOW TO DOWNLOAD ELECTRONIC BOOKS ONTO YOUR E-BOOK READER

How To Set User Account Password In Windows 7 From Guest

CS 170 Java Tools. Step 1: Got Java?

Office 365 for ipad. OneDrive for Business Word Excel PowerPoint OneNote Lync OWA for ipad

Oracle Cloud. Content and Experience Cloud ios Mobile Help E

No matter where I am or whose computer I am using, as long as I have Internet access, I can mange my Google Docs account. Even from my cell phone!

Barchard Introduction to SPSS Marks

How To Install Windows Updates 8 From Usb

Contents Release Notes System Requirements Using Jive for Office

Ensuring your computer has Java

OpenROV. Update Software Image From SD Card

MEEM Memory Ltd. User Guide ios

New to the Mac? Then start with this lesson to learn the basics.

Introduction to Google Drive and Google Docs

Adobe Dreamweaver CS5 Tutorial

remember where it is, My Documents or to the Desktop are good locations. If you do not have an extract option, you can usually just COPY and PASTE the

Virtual Desktop Infrastructure Setup for MacOS

Articulate Engage 2013 Tutorial

In the first class, you'll learn how to create a simple single-view app, following a 3-step process:

Virtual Desktop Infrastructure Setup for MacOS

Storing Your Exercise Files

1 of 24 5/6/2011 2:14 PM

USB Card Reader (UISA2SE) User's Guide

How to Convert a Microsoft Word Document to PDF Format

Table of Contents 1.1. Introduction 1.2. Building Instructions Inventory & assembly Software installation 1.2.3

Linksys WRT54G v5.0 & 5.1 & 6.0

OneDrive. Office 365

Adafruit's Raspberry Pi Lesson 1. Preparing an SD Card for your Raspberry Pi

Managing Files & Folders

Exen Mini. Setup Guide - V1. nerdonic.com

Brianna Nelson Updated 6/30/15 HOW TO: Docs, Sheets, Slides, Calendar, & Drive. English

On Xp Computer Without Cd Drive

DENSITRON USB KIT HARDWARE AND SOFTWARE MANUAL. Copyright 2006 DENSITRON TECHNOLOGIES plc. All rights reserved. Proprietary Data

Placester Quick Start Guide

Initial Device Assembly Instructions Manual v1.0. Design of an Electromyographic Switch for Communication System Access Version 1.

1 Exporting Files from Maestro Ortho Studio Great Lakes Orthodontics

Getting Started with Word

Sherlock Tutorial Getting Started

Chrome. Browsing in Chrome. The Omnibox. Video: Browsing in Chrome. To use the Omnibox: Omnibox suggestion icons. Page 1

Proper Debugging of ATSAMD21 Processors

Lesson 5: LDR Control

22080 IoT2 Appendix B: Get Started with Arduino IDE & ExpLoRer

Using the Android CircuitPython Editor

Hardware Overview and Features

Exen Mini. Setup Guide - V2. nerdonic.com

Setting up the PC ready for BESA 11

Transferring photos from iphone to a PC

Pulsed Frequency TM. PlasmaBasic Software Download, Installation and User Guide

SLabs-32 User's Guide

WinDSX New Installations

Google Apps for Education: The Basics

Introduction. Using Styles. Word 2010 Styles and Themes. To Select a Style: Page 1

Customer Reporting Running Ad Hoc Reports

Securexam Mac User Guide

Renaming the Projector Adapter Advanced Settings Troubleshooting... 25

BUSINESS SOURCE PREMIER DATABASE: How to Find it, Access it, and Use it

How to use Arduino Uno

Setting up your Computer

IT Essentials v6.0 Windows 10 Software Labs

Transcription:

Arduino 01: Installing the Arduino Application and Firmware Jeffrey A. Meunier jeffm@engr.uconn.edu University of Connecticut

About: How to use this document I designed these tutorial slides to be tall and narrow so that you can display them on one side of your screen while you do other work in the rest of the display area like this: Tutorial work area Also, the pages in this tutorial are designed to be viewed as whole-page slides. I describe how to do that next. 2

Set your PDF viewer to single page mode (Mac) On a Mac, a PDF file will open in the Preview application by default. Hide the side bar and set it to Single Page. 3

Set your PDF viewer to single page mode (Windows) In Windows, a PDF file will open in the Reader application by default. You can open the menu from the icon in the upper left corner of the window and then choose Split Left or Split Right depending on your preference. Then right-click on the document and choose the One page viewing option. 4

Introduction In this tutorial you'll install the Arduino application on your computer and use it to install a firmware file on your Arduino board. This firmware will be used for all the Arduino projects this semester. 5

Objectives The objectives of this tutorial are: Installation of the Arduino application. Uploading firmware to the Arduino board. Testing the firmware to ensure that it uploaded correctly and that it's running correctly. 6

Prerequisites You must have administrator privileges on your computer in order to install software. If you're working in one of the UConn Learning Center labs then you should skip ahead to section 2. Arduino firmware installation of this tutorial. The Learning Center computers all have the Arduino application installed already. 7

Outline These are the sections you'll go through in this tutorial: 1. Install the Arduino IDE 2. Upload firmware to the Arduino 3. Test the firmware 8

1. Arduino IDE application: About The Arduino application runs on your host computer and you use it to compile and upload programs directly to the Arduino. After you install the Arduino application, you'll use it to install firmware onto your Arduino board. You need to do this only one time. After you unplug the Arduino board from your computer it will still retain the program that you upload to it. When you plug it back into your computer the program will start running again. 9

1. Arduino IDE application: Identify your operating system On the next few slides I detail the installation procedure for different computer systems. Follow the instructions for your computer: Windows Mac Linux 10

1. Arduino IDE application: Download (Windows) Go to this web site: https://www.arduino.cc/en/main/software Scroll down to the Download the Arduino IDE section and click Windows App if you have Windows 10 only. It does not work on Windows 8 despite what it says. Otherwise choose Windows Installer. It asks for a donation, but locate the JUST DOWNLOAD link and click it. Save the file somewhere convenient on your computer. 11

1. Arduino IDE application: Install (Windows) After it finishes downloading you must install the application. Double-click on it to run the installer and follow the directions it gives you. Windows 10: I didn't try this in Windows 10, so I don't know if you must do the installation step or not. The download process might also be the installation process. 12

1. Arduino IDE application: Download (Mac) Go to this web site: https://www.arduino.cc/en/main/software Scroll down to the Download the Arduino IDE section and click Max OS X. It asks for a donation, but locate the JUST DOWNLOAD link and click it. Save the file somewhere convenient on your computer. 13

1. Arduino IDE application: Install (Mac) After it finishes downloading you must install the application. Double-click on the zip file that you downloaded, then move the resulting Arduino.app file into your Applications folder. 14

1. Arduino IDE application: Installation (Linux) Go to this web site: https://www.arduino.cc/en/main/software Scroll down to the Download the Arduino IDE section and click Linux. After it finishes downloading you must install the application. Uncompress the downloaded file, move the folder somewhere convenient, and add the folder's bin folder to your path. Good luck, I didn't try it. You could probably just do an apt install arduino to automate the whole installation process. 15

Outline 1. Install the Arduino IDE 2. Upload firmware to the Arduino 3. Test the firmware 16

2. Arduino firmware: Download the firmware All users continue here! Go to this web site: http://www.engr.uconn.edu/~jeffm/arduino/f irmware/index.html Right-click on the link for ArduinoFirmware-2016.11.07a.ino and choose Save as or Save link as. Save it in Downloads or on your Desktop. It doesn't matter where, just remember where you put it. 17

2. Arduino firmware Check the file extension Be sure that the firmware file that you just downloaded has the extension.ino and not.txt. If it has the extension.txt, you must rename it to delete the.txt part leaving just the.ino part. 18

2. Arduino firmware Don't store it in OneDrive Windows users: The Arduino application is unable to upload a.ino file to the Arduino if that file is contained in OneDrive. Save the file somewhere else before opening it in the Arduino application, like on your desktop. 19

2. Arduino firmware: Open the firmware file Start the Arduino application. Choose the menu File Open and locate the Arduino firmware file you just downloaded and saved. When you open the file it will show you this warning: Click OK to let it create the folder and move the file. 20

2. Arduino firmware: Identify your board Red board If your board looks like this then you have a RoboRED board. 21

2. Arduino firmware: Identify your board Blue board If your board looks like this then you have a Robo-1 board. 22

2. Arduino firmware: Identify your board Other If you have a board other than one of these two, then it's your responsibility to be able to identify it correctly in the Arduino application. 23

2. Arduino firmware: Choose the board All users continue here! In the Arduino application, choose the Tools Board menu and choose your board type from the list. RoboRED users choose Arduino/Genuino Uno. Robo-1 users choose Arduino Duemilanove or Diecimilia. Red Blue 24

2. Arduino firmware: Choose the port (Mac) In the Arduino application, choose the Tools Port menu and choose the name of your USB port from the list. On a Mac the port will be called /dev/cu.usbmodem1411 or /dev/tty.usbmodem1411 or something very similar (the number at the end may be different). It may not say "(Arduino/Genuino Uno)" after it. Still choose that option. 25

2. Arduino firmware: Choose the port (Win) In the Arduino application, choose the Tools Port menu and choose the name of your USB port from the list. If there's more than one name and you're not sure which one it is, then un-plug the Arduino, choose Tools Serial Port to see what ports are there, plug the Arduino back in and choose Tools Serial Port again to see which port is listed that wasn't there before. That's the port you should use. Remember this port name for later! 26

2. Arduino firmware: Choose the port (Linux) Unplug the board, do an ls /dev to see what ports are there, plug in the board, do an ls /dev again and observe what port is new. That's your port. It's probably /dev/arduino or /dev/ttyacm0. I'll try to provide more details whenever I get around to doing this again in Linux. 27

2. Arduino firmware: Upload the firmware file All users continue here! Press the Upload button in the Arduino application to compile & upload the program to the Arduino board. The red arrow below points at the Upload button. 28

2. Arduino firmware: Observe the status Success Failure See the next slide for suggestions 29

2. Arduino firmware: If you had a failure Some things for you to check: Is the board actually plugged into your computer? Did you choose the right board in the Arduino application? Most likely Did you choose the right serial port? Is your USB cable faulty? Swap cables with someone and check it. Is your Arduino faulty? Swap boards with someone and check it. Not likely Fix it and try again. 30

2. Arduino firmware: If you had a failure If you had a failure and you were not able to correct it, you must get help to correct the problem before you proceed. If you do not correct the problem then the rest of this tutorial will not work. 31

Outline 1. Install the Arduino IDE 2. Upload firmware to the Arduino 3. Test the firmware 32

3. Test the firmware: Serial monitor settings Now we'll test the firmware. Open Tools Serial Monitor. Find the settings at the bottom of the Serial Monitor window. Settings On the next slide you'll change the settings. 33

3. Test the firmware: Serial monitor settings The settings originally look like this: Incorrect Change them to look like this: Correct 34

3. Test the firmware: Enter commands Type this in the top area of the Serial Monitor and press Enter: That sets the mode of digital pin 13 to output. Then enter these two commands in the same place in the Serial Monitor: dw13,1 LED turns on dw13,0 LED turns off The on-board LED should turn on and off. 35

3. Test the firmware: Didn't work? You didn't do this right: The settings originally look like this: Incorrect Change them to look like this: Correct 36

3. Test the firmware: Upload complete The firmware has been successfully uploaded to the Arduino board. Close the Arduino application. The next time you plug in your Arduino board it will start running the firmware automatically. You do not need to upload the firmware to it again. 37

Outline 1. Install the Arduino IDE 2. Upload firmware to the Arduino 3. Test the firmware You're done! 38