Tutorial 1: Software Setup

Similar documents
Touch Board User Guide. Introduction

Objectives: Learn how to input and output analogue values Be able to see what the Arduino is thinking by sending numbers to the screen

Arduino - DigitalReadSerial

Quickstart CHAPTER 1. Powering Up. Installing the Software

RedBoard Hookup Guide

ROBOTLINKING THE POWER SUPPLY LEARNING KIT TUTORIAL

USB Type A Female Breakout Hookup Guide

Getting Started with Energia for MSP432 LaunchPad

ETEE 2201 Electronics Lab IV ET-AVR Board: Downloading and Executing Programs Tutorial

Prototyping & Engineering Electronics Kits Basic Kit Guide

Introduction to Arduino Diagrams & Code Brown County Library

Introduction to Arduino Diagrams & Code Brown County Library

Note. The above image and many others are courtesy of - this is a wonderful resource for designing circuits.

Lab 01 Arduino 程式設計實驗. Essential Arduino Programming and Digital Signal Process

Create your own wireless motion sensor with

Usb Port On Manually Running Slow Windows 7

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

MP3 Trigger v2 User Guide

Necessary software and hardware:

Note that FLIP is an Atmel program supplied by Crossware with Atmel s permission.

MOD-RFID125 User Manual. All boards produced by Olimex are ROHS compliant. Rev.A, February 2008 Copyright(c) 2008, OLIMEX Ltd, All rights reserved

AndyMark Arduino Tutorial

MOD-RFID125-BOX User Manual

Adafruit Feather nrf52840 Express

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

How to use Arduino Uno

Exen Mini. Setup Guide - V1. nerdonic.com

1.0. Presents. techathon 3.0

ARDUINO MINI 05 Code: A000087

ESPino - Specifications

Chapter 2: Introducing the mbed tw rev

Create moving images in forward and reverse with your Arduino when you connect a motor to an H-bridge and some still images BATTERY POTENTIOMETER

Hardware Overview and Features

StenBOT Robot Kit. Stensat Group LLC, Copyright 2018

IME-100 ECE. Lab 3. Electrical and Computer Engineering Department Kettering University. G. Tewolde, IME100-ECE,

University of Hull Department of Computer Science C4DI Interfacing with Arduinos

GET YOUR DRAGONBOARD UP TO DATE

Introduction To Arduino

Arduino Programming and Interfacing

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

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

Intel Do-It-Yourself Challenge Intel Galileo and Edison Paul Guermonprez

keyestudio Keyestudio MEGA 2560 R3 Board

SiFive HiFive1 Getting Started Guide. c SiFive, Inc.

micro:bit Lesson 2. Controlling LEDs on Breadboard

Hands-on with the Sitara Linux SDK

Arduino Prof. Dr. Magdy M. Abdelhameed

IME-100 Interdisciplinary Design and Manufacturing

Arduino 07 ARDUINO WORKSHOP 2007

IDUINO for maker s life. User Manual. For IDUINO Mega2560 Board(ST1026)

Microprocessor Systems

Elektor Uno R4 Installation & Test

The Happy Face Clip Camera with DVR

BCS Raspberry Pi Launch Events Getting started with Raspberry Pi

Blinking an LED 1 PARTS: Circuit 2 LED. Wire. 330Ω Resistor

How to Download Audiobooks and Transfer them to your Audio Listening Device (Macintosh)

Instrument Software Update Instructions. X-Series Multi-touch instruments

TANGIBLE MEDIA & PHYSICAL COMPUTING MORE ARDUINO

LilyPad ProtoSnap Plus Hookup Guide

LinkSprite Technologies,.Inc. pcduino V2

MMI6070 Quick Start Guide

Instrument Software Update Instructions

Basic Electronic Toolkit for under $40

IDUINO for maker s life. User Manual. For IDUINO development Board.

Digital Pins and Constants

LinkIt ONE. Introduction. Specifications

MIDI Buddy Article Craig A. Lindley 09/16/2014

ARDUINO MICRO WITHOUT HEADERS Code: A000093

How to use the Zduino LEE Module with the Trainer Board

Raspberry Pi based MP3 jukebox with USB display board 2014 Russell Kramer

Project 2: Sensor Light

LAB #1: The CSM12C32 Module and PBMCUSLK Project Board

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

DMT80480T070-32WT User Guide

<Table of content> <Parts and description> <Circuit board Guide> <Pins> <Basics of Coding> <Intro to Arduino> <Intro> <Downloading Arduino IDO>

ECE791/792 Project Proposal

IME-100 ECE. Lab 4. Electrical and Computer Engineering Department Kettering University. G. Tewolde, IME100-ECE,

Exen Mini. Setup Guide - V2. nerdonic.com

OpenROV. Update Software Image From SD Card

The industrial technology is rapidly moving towards ARM based solutions. Keeping this in mind, we are providing a Embedded ARM Training Suite.

ARDUINO LEONARDO ETH Code: A000022

Quick-Start Guide. BNS Solutions. QSK62P Plus

Intro to the Arduino IDE, the Teensy 3.2, & ARM Technology Hardware, Software & Resources. John R. Wright, Jr. PhD, CSTM ITEC 467, Mobile Robotics

Pro Trinket Keyboard. Created by Mike Barela. Last updated on :45:13 AM EST

ECE383: Microcomputers Lab 6 Basic and Finite State Machine LED and Switch I/O Programming

DMX MP3 VMusic2 Player

CONVERGE MOBILE User Guide - Android

Make your own secret locking mechanism to keep unwanted guests out of your space!

CONVERGE MOBILE User Guide - Android

pcduino V3B XC4350 User Manual

A Slice of Raspberry Pi

MakeCode. Created by Peli de Halleux. Last updated on :29:54 AM UTC

Adapted from a lab originally written by Simon Hastings and Bill Ashmanskas

ARDUINO YÚN MINI Code: A000108

AXE Stack 18. BASIC-Programmable Microcontroller Kit. An inexpensive introduction to microcontroller technology for all ability levels

Hid usb input device

ECE 2036: Lab #3 mbed Hardware Starter Lab Category: Getting Started with MBED ~ 1 week to complete

Scratch 2.0 Wireless Programming Guide for Vortex

Beetle SKU:DFR0282. Contents. Introduction

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

Transcription:

1 of 5 11/21/2013 11:33 AM Shopping Cart Checkout Shipping Cost Download Website Home MP3 Player 8051 Tools All Projects PJRC Store Site Map You are here: Teensy Teensyduino Tutorial Setup PJRC Store Teensy 3.0, $19 Teensy 2.0, $16 Teensy++ 2.0, $24 USB Cable, $4 Teensy Main Page Getting Started How-To Tips Code Library Projects Teensyduino Main Tutorial Setup RGB LED Serial, Input Analog Input Download+Install Basic Usage Digital I/O PWM & Tone Timing USB Serial USB Keyboard USB Mouse USB Joystick USB MIDI USB Flight Sim UART Serial Libraries Reference Tutorial 1: Software Setup To use your Teensy or Teensy++ with the Arduino IDE, you will need to install a few programs. Materials Required For Tutorials Teensy with Pins, $19 Tutorial Parts Kit, $5 Solderless Breadboard, $7 USB Cable, $4 Wire Stripping Tool (#22 size) Computer with USB Install Teensy Loader The Teensy Loader application downloads programs to your Teensy board and lets you run them. When you use Arduino, this will be done automatically, but doing it manually is a simple way to check that your board works. Just download the Teensy Loader and the LED Blink samples. No special installation is needed, just double click on the Teensy Loader to run it. You should see this window: If you are using Linux, the 49-teensy.rules file must be copied to /etc/udev/rules.d/ to give non-root users permission to access the Teensy USB device. Download LED Blink Now you are ready to connect your Teensy. Plugging the Teensy into your breadboard will protect its pins and give you a solid base that doesn't move easily when you touch the cable. Then just plug in the USB cable and the LED should blink slowly.

2 of 5 11/21/2013 11:33 AM When the Teensy boots up, it always runs whatever program has been loaded. All new Teensy boards come with the slow LED blink pre-loaded. When you plugged in the cable, nothing happened with the Teensy Loader. You need to press the pushbutton to put your Teensy into programming mode. When you press the button, the window Teensy Loader should show your board. Now you can load your Teensy with a different program. Use the File->Open menu to open blink_fast.hex (available from the page where you downloaded the Teensy Loader). The bottom line will tell you which file is open and how much of the flash memory it uses. Just click the "Program" button to write this new code to your Teensy, and then click the "Reboot" button to cause it to run. Your Teensy should be blinking rapidly. You have verified everything works and you're ready to use it with Arduino. Install Arduino The next step is to download and install the Arduino Software. On Windows and Linux, the software is simply a large ZIP file. You will need to extract it. On Macintosh, starting with version 0017, the software is a disk image containing the program. You must copy it to /Applications or your home directory. Remember the location where you extracted or copied the Arduino software, since you will need it shortly. Install Teensyduino The Arduino software does not come with support for the Teensy, so you must run the Teensyduino installer to add the Teensy files to your Arduino software. The installer will only ask 1 question, the location of your Arduino software. The "Next" button will only activate until a directory containing the Arduino software is selected.

3 of 5 11/21/2013 11:33 AM Just continue clicking "Next" until the installation is completed. If you are using Windows, you should also run this Windows Serial Installer. If you choose the "USB Serial" option, this will allow the Windows Found New Hardware Wizard to properly find the driver. Start Arduino & Choose The Board Now you are ready to run Arduino. The first step is to select the board you will be using, from the Tools->Boards menu. This menu will have entries for Teensy because you ran the Teensyduino installer.

4 of 5 11/21/2013 11:33 AM Open LED Blink Example The Arduino Software comes with many examples. Use the File->Examples->Digital->Blink menu to open the LED blink example. Edit pin number The Teensy has its LED connected to a different pin, so you will need to change the pin number. Find the line "int ledpin = 13;" and change the number. Teensy 2.0 has the LED on pin 11. Teensy++ 2.0, Teensy++ 1.0 and Teensy 1.0 have the LED on pin 6.

5 of 5 11/21/2013 11:33 AM Compile and Download To compile this code, click the "Verify" button. A message will appear showing the compiled size. The Teensy Loader will automatically update with the new file. Just press the button on the Teensy to program the code. You can try changing the delay times. Just recompile and download again. When the Teensy is running a previously loaded program, you can also use the Upload button. Now that you have the software set up, you're ready to begin attaching circuits to the Teensy and writing your own code to control them! Tutorial 2 will show you how to connect and use a RGB LED.