Using the S5U13781R01C100 Shield Graphics Library with Atmel Studio

Similar documents
CMOS MELODY IC. Enables to program up to 16 songs Provided with two built-in independent sound sources A 8-pin package OVERVIEW FEATURES

MINIMUM SYSTEM REQUIREMENTS

DC-DC Converter SCI7661C0B/M0B. 95% Typical Power Efficiency Doubled or Tripled Output Voltage Internal Voltage Regulator DESCRIPTION FEATURES

Preliminary. Charge-pump DC/DC Converter & Voltage Regulator S1F75510 DESCRIPTION FEATURES

LESSONS Lesson 1. Microcontrollers and SBCs. The Big Idea: Lesson 1: Microcontrollers and SBCs. Background: What, precisely, is computer science?

DATASHEET 4D SYSTEMS. Arduino Display Module Pack TURNING TECHNOLOGY INTO ART. Featuring a 2.4 Display Module ulcd-24-ptu-ar

UM10950 Start-up Guide for FRDM-KW41Z Evaluation Board Bluetooth Paring example with NTAG I²C plus Rev February

Low-Current Consumption, Real-Time Clock IC (General-Purpose IC)

EE-110 Introduction to Engineering & Laboratory Experience Saeid Rahimi, Ph.D. Labs Introduction to Arduino

Downloading a ROBOTC Sample Program

ZX Distance and Gesture Sensor Hookup Guide

ATF15xx Power-On Reset Hysteresis Feature. Abstract. Features. Complex Programmable Logic Device APPLICATION NOTE

AN4379 Application note

smraza Getting Start Guide Contents Arduino IDE (Integrated Development Environment)... 1 Introduction... 1 Install the Arduino Software (IDE)...

Introduction to Simulation of Verilog Designs Using ModelSim Graphical Waveform Editor. 1 Introduction. For Quartus II 13.1

Arduino STEAM Academy Arduino STEM Academy Art without Engineering is dreaming. Engineering without Art is calculating. - Steven K.

FABO ACADEMY X ELECTRONIC DESIGN

Projects Connector User Guide

RAZER GOLIATHUS CHROMA

Arduino Lesson 1. Blink. Created by Simon Monk

UHF variable capacitance diode. Voltage Controlled Oscillators (VCO) Electronic tuning in UHF television tuners

ICM Shield Hardware User Guide

TLE5014 Programmer. About this document. Application Note

Agilent E4980A Precision LCR Meter. Dielectric Constant Measurement Program Operation Manual

VMA205 WIFI ESP8266 SHIELD

swarm radio Platform & Interface Description

Tel: Fax: OMESH Networks Inc. 2011

ISSN: [Singh* et al., 6(6): June, 2017] Impact Factor: 4.116

Submittals Quick Reference Guide

UM DALI getting started guide. Document information

RAZER RAIJU TOURNAMENT EDITION

IP4220CZ6. 1. Product profile. Dual USB 2.0 integrated ESD protection. 1.1 General description. 1.2 Features and benefits. 1.

AT14164: User Calibration of Internal Temperature Sensor - SAM R21. Introduction. SMART ARM-based MCUs APPLICATION NOTE

Welcome to Arduino Day 2016

Administration Guide. BBM Enterprise. Version 1.3

RAGE TOOL KIT FAQ. Terms and Conditions What legal terms and conditions apply to the RAGE Tool Kit?

Oracle Real-Time Scheduler

BB Product profile. 2. Pinning information. 3. Ordering information. VHF variable capacitance diode. 1.1 General description. 1.

uiulearn TUTORIAL INTEGRATIONS> HOW TO USE PANOPTO (STUDENT)

Milli Developer Kit Reference Application Published on Silver Spring Networks STAGE (

MIDLAND PROGRAMING G14

pcon.planner PRO Plugin VR-Viewer

VOLTAGE. User Guide ACCESSORIES. External Sensor DT140. for MicroLog EC600 and EC V ±0.05V ±3% (before calibration)

User manual Automatic Material Alignment Beta 2

EAN-Blending. PN: EAN-Blending 11/30/2017. SightLine Applications, Inc.

CURRENT. User Guide ACCESSORIES. External Sensor DT139. for MicroLog EC600 and EC mA ±0.1mA ±3% (before calibration)

AT15291: Migrating QTouch Designs from SAM D MCUs to SAM C MCUs. Scope. Features. QTouch APPLICATION NOTE

XLR PRO Radio Frequency (RF) Modem. Getting Started Guide

TI Designs: Biometric Steering Wheel. Amy Ball TIDA-00292

Topcon Receiver Utility: GNSS Receiver Firmware Update Process. Oscar R. Cantu

VBRC 5. Radio Communicator. Installer Manual

TI Designs TIDA Automotive 1.3M Camera Module Design with OV10640, DS90UB913A and power over Coax Test Data

Firmware plugin for STSW-ESC001V1 board with ST Motor Control FOC SDK

MN E. Waveform Viewer: Power Xpert Software 2.2

Hytera. PD41X Patrol Management System. Installation and Configuration Guide

Introduction to Simulation of Verilog Designs. 1 Introduction. For Quartus II 13.0

Software Operational Manual

F²MC-8FX FAMILY MB95F200 SERIES. LED Control Reference Solution 8-BIT MICROCONTROLLER APPLICATION NOTE

RF-LAMBDA LEADER OF RF BROADBAND SOLUTIONS

Servomotor Control with Arduino Integrated Development Environment. Application Notes. Bingyang Wu Mar 27, Introduction

AVR221: Discrete PID Controller on tinyavr and megaavr devices. Introduction. AVR 8-bit Microcontrollers APPLICATION NOTE

swarm bee LE Development Kit User Guide

75 MHz, 30 db gain reverse amplifier

CONTENTS 1. PACKAGE CONTENTS / SYSTEM REQUIREMENTS REGISTRATION / TECHNICAL SUPPORT DEVICE LAYOUT... 6

RAZER CENTRAL ONLINE MASTER GUIDE

Instruction Manual. Ultrasonic and Radar

UM DALI getting started guide. Document information

IMPORTANT NOTICE. use

SKF TKTI. Thermal Camera Software. Instructions for use

Internet of Things Student STEM Project Jackson High School. Lesson 2: Arduino and LED

DEMO MANUAL DC1182A LTC2981: I 2 C Programmable Precision Reference with EEPROM DESCRIPTION

Application Note. Communication between arduino and IMU Software capturing the data

Facebook Fan Page Secrets... 3 Section 1 Social Media Optimization... 4 Set Up Your Facebook Page... 4 Section 2 Fan Page Customization...

inphoto ID Canon camera control software Automatic ID photography User Guide

Issue No: MG025 Date: 05 June McMurdo SmartFind R5 GMDSS Radio IMO MSC. 1/Circ Update procedure

MANUAL. Textron Motors Diagnostic Tool. This manual is valid for the following Textron Motors Diagnostic Tool:

Easy start with UWB technology

Lesson 3: Arduino. Goals

HART Mode. Users Guide. July Fluke Corporation. All rights reserved. All product names are trademarks of their respective companies.

Super HUD- User Guide

Reviewing Your Tax Return In Your Portal

Trillium US Inc. E350 Temperature Monitor User s Manual Rev A / February 2016

Copyright 2009 Aladdin Knowledge Systems Ltd. All rights reserved. All trade and service marks, logos and trade names(collectively, the "Marks")

Model-Based Design Toolbox

AN4014 Application Note Adjustable LED blinking frequency using a potentiometer and STM8SVLDISCOVERY Application overview

YCE13. Dealer PC Programming Software Reference Manual. Attention!

GNSS Conductor GF. User s Guide. (Document No. SE )

Easy Screen-to-Print Color Matching Guide

PN7150 Raspberry Pi SBC Kit Quick Start Guide

Introduction to Simulation of Verilog Designs. 1 Introduction

LM48821 Evaluation Board User's Guide

High power radio transmission module MR03 type

ArtRage*, part of Intel Education User Guide

INSTRUCTION MANUAL IP REMOTE CONTROL SOFTWARE RS-BA1

Two elements in series configuration in a small SMD plastic package Low diode capacitance Low diode forward resistance AEC-Q101 qualified

Grove - Collision Sensor

IMPORTANT NOTICE. use

User Manual. Copyright 2010 Lumos. All rights reserved

Printer Software Guide

TRBOnet Guard Tour Configuration and Operation Guide

Transcription:

Using the S5U13781R01C100 Shield Graphics Library with Atmel Studio Document Number: X94A-B-002-01 Status: Revision 1.0 Issue Date: 2015/07/30 SEIKO EPSON CORPORATION Rev. 1.0

Page 2 NOTICE No part of this material may be reproduced or duplicated in any form or by any means without the written permission of Seiko Epson. Seiko Epson reserves the right to make changes to this material without notice. Seiko Epson does not assume any liability of any kind arising out of any inaccuracies contained in this material or due to its application or use in any product or circuit and, further, there is no representation that this material is applicable to products requiring high level reliability, such as, medical products. Moreover, no license to any intellectual property rights is granted by implication or otherwise, and there is no representation or warranty that anything made in accordance with this material will be free from any patent or copyright infringement of a third party. This material or portions thereof may contain technology or the subject relating to strategic products under the control of the Foreign Exchange and Foreign Trade Law of Japan and may require an export license from the Ministry of Economy, Trade and Industry or other approval from another government agency. All brands or product names mentioned herein are trademarks and/or registered trademarks of their respective companies. SEIKO EPSON CORPORATION 2015, All rights reserved. Revision 1.0 Issue Date: 2015/07/30

Page 3 Table of Contents 1 Introduction... 4 2 Requirements... 5 3 Software Installation... 6 3.1 Installing Atmel Studio... 6 3.2 Installing Arduino IDE for Atmel Studio... 6 4 Configuring Arduino IDE for Atmel Studio... 8 4.1 Configuring for the Arduino Due Board... 8 4.2 Confirming the Board and Libraries... 9 4.3 Visual Micro Menu Options... 11 5 Running the Graphics Library Examples...12 5.1 Building and Running an Example Sketch... 13 6 Change Record...14 Issue Date: 2015/07/30 Revision 1.0

Page 4 1 Introduction This document explains how to use the S5U13781R01C100 Shield Graphics Library with Atmel Studio. The S5U13781R01C100 Shield Graphics Library is a software library designed to simplify the process of displaying graphics and text to a panel connected to a S5U13781R01C100 Shield. The Graphics Library is intended for use with the Arduino Sketch IDE, but some users may wish to use the extra functionality of the Atmel Studio IDE (based on Visual Studio). The S5U13781R01C100 Shield is designed to be used with the Arduino Due microcontroller board. For details on the Arduino Due, refer to the Arduino website at www.arduino.cc/. For further details on the, or the S5U13781R01C100 Shield, visit the Epson Electronics America Website at vdc.epson.com. Please visit our Youtube channel, EEAVDC Productions, where we offer videos which demonstrate the installation and use of our products. We appreciate your comments on our documentation. Please contact us via email at documentation@eea.epson.com. Revision 1.0 Issue Date: 2015/07/30

Page 5 2 Requirements The S5U13781R01C100 Shield Graphics Library is designed to simplify the process of displaying graphics and text to a panel connected to a S5U13781R01C100 Shield TFT board that is connected to an Arduino Due Controller board. This document assumes that the following hardware and software is already installed or connected to the development system. For more information on the installation and configuration of these components, refer to the S5U13781R01C100 Shield Graphics Library Users Guide, document number X94A-B-001-xx, available at vdc.epson.com. S5U13781R01C100 Shield TFT board Arduino Due Controller board LCD panel (default configuration is 480x272 @ 24bpp) Arduino Sketch IDE software v1.6.2 or greater S5U13781R01C100 Graphics Library package Micro USB cable (to power the Due and optionally use the Serial Monitor) Please check the Epson Electronics America Website at vdc.epson.com for the latest revision of the Graphics Library before beginning any development. To use the S5U13781R01C100 Shield Graphics Library with Atmel Studio, the following software is also required: Atmel Studio v6.2 (or greater) Arduino IDE for Atmel Studio plugin by Visual Micro Atmel Studio is available from Atmel s website at www.atmel.com. Arduino IDE for Atmel Studio is available from Visual Micro s website at www.visualmicro.com, or search for Arduino IDE for Atmel Studio in the Atmel Gallery at gallery.atmel.com. Issue Date: 2015/07/30 Revision 1.0

Page 6 3 Software Installation 3.1 Installing Atmel Studio Atmel Studio is an IDE based on Visual Studio and is designed as a development platform for Atmel s line of products. It is available for download at www.atmel.com. For further information on installing Atmel Studio, refer to the information available on their website. 3.2 Installing Arduino IDE for Atmel Studio Once Atmel Studio is installed, the Arduino IDE for Atmel Studio plugin can be installed. Arduino IDE for Atmel Studio provides an environment that allows Arduino Sketch IDE compatible applications and libraries to be built, run, and debugged from within Atmel Studio. Arduino IDE for Atmel Studio is available from Visual Micro s website at www.visualmicro.com, or search for Arduino IDE for Atmel Studio in the Atmel Gallery at gallery.atmel.com. Once downloaded, you should have a windows install file such as ArduinoForAtmelStudio.msi. To install: 1. Run the ArduinoForAtmelStudio.msi and select the default folder for installation as shown in the following image. Arduino IDE for Atmel Studio Folder Selection 2. Click Next. 3. Review the license agreement that follows, and check I Agree if you agree to the terms of the license. 4. Click Next and wait for the installation program to install the necessary files. Revision 1.0 Issue Date: 2015/07/30

Page 7 5. When the installation is complete, close the window and you are ready to use Arduino Sketch applications in Atmel Studio. Arduino IDE for Atmel Studio Installation Complete Issue Date: 2015/07/30 Revision 1.0

Page 8 4 Configuring Arduino IDE for Atmel Studio Once Arduino IDE for Atmel Studio is installed, some new menu options and a new toolbar are available which provide functions specifically for Arduino projects. These allow configuration of Arduino IDE for Atmel Studio and access to the Visual Micro explorer. Note: These instructions assume that the hardware and software requirements discussed in Section 2 are already setup, and that the Arduino Due is connected to the development PC using the USB Programming Port.. For more information on the installation and configuration of these components, refer to the S5U13781R01C100 Shield Graphics Library Users Guide, document number X94A-B-001-xx, available at vdc.epson.com. 4.1 Configuring for the Arduino Due Board To use Arduino IDE for Atmel Studio with the S5U13781R01C100 Shield Graphics Library, there are few settings that must be set to select the target Arduino Due board. These can be set on the toolbar as follows: Arduino Version: Arduino 1.6 Arduino Board: Arduino Due Programming Port Serial Port: COMxx Arduino Programming Port (where COMxx is the serial port used to access the Arduino Due board) The following image shows where these settings are configured. Visual Micro Explorer Serial Monitor Arduino Version Arduino Board Serial Port Arduino IDE for Atmel Studio Toolbar Note: The Arduino Sketch IDE must be already installed and configured for the Arduino Due board as Arduino IDE for Atmel Studio relies on the Arduino environment. Revision 1.0 Issue Date: 2015/07/30

Page 9 4.2 Confirming the Board and Libraries Arduino IDE for Atmel Studio uses board information and libraries that are installed in the Arduino Sketch IDE. By opening the Visual Micro Explorer (clicking on the? icon in the toolbar), the Visual Micro Explorer window is displayed. First, confirm that the Arduino Due board package is installed. It should be listed in the Installed Tab as shown below. Arduino Due (Programming Port) Visual Micro Explorer: Installed Tab Issue Date: 2015/07/30 Revision 1.0

Page 10 Next, in the Manage Libraries Tab, confirm that the Shield TFT is installed. It should be under Library Installer -> Categories -> Display -> Shield TFT by Epson. If the library is not listed, it can be installed using the Arduino Shield IDE and found using the Rescan function. Note: For some versions of Arduino IDE for Atmel Studio, it may be possible to install Arduino libraries from.zip files directly from the Visual Micro Explorer. Please confirm whether this function is available in your version at www.visualmicro.com. Rescan Libraries S5U13781R01C100 Graphics Library Visual Micro Explorer: Manage Libraries Tab Revision 1.0 Issue Date: 2015/07/30

Page 11 4.3 Visual Micro Menu Options There are further configuration options and functions available on the Tools->Visual Micro-> menu. For detailed information on these functions, click on the Visual Micro Documentation or Visual Micro Home options. Visual Micro Home Visual Micro Documentation Visual Micro Menu Options: Documentation Issue Date: 2015/07/30 Revision 1.0

Page 12 5 Running the Graphics Library Examples Now that Arduino IDE for Atmel Studio is configured, the S5U13781R01C100 Shield Graphics Libraries can be used. There are some example sketches available in the Examples Tab of the Visual Micro Explorer. They are found under Library Examples -> Shield -> as shown in the following image. S5U13781R01C100 Graphics Library Examples There are 4 example sketches: Visual Micro Explorer: Examples Tab s1d13781_graphicslibrarydemo demonstrates some of the graphics functions available in the Graphics Library s1d13781_memoryaccessexample demonstrates how to read/write memory directly s1d13781_newsketchexample provides a template for new sketches using the Graphics Library s1d13781_registeraccessexample demonstrates how to read/write registers directly Note: For more information on understanding and using the Graphics Library and example sketches, refer to the S5U13781R01C100 Shield Graphics Library Users Guide, document number X94A-B-001-xx, available at vdc.epson.com. Revision 1.0 Issue Date: 2015/07/30

Page 13 5.1 Building and Running an Example Sketch To build and run an example sketch perform the following steps. 1. Open an example sketch, click on the desired sketch name in the Examples Tab and open a copy of the sketch (unless you want to directly modify the example sketch). 2. Select whether you want to do a Debug or Release build. 3. Click the Start Debugging button to build the Arduino Sketch project and start debugging. The following image shows the Toolbar buttons used to select the build type and start debugging. Start Debugging Serial Monitor Build Type: Debug or Release Arduino IDE for Atmel Studio Toolbar: Build/Debug The example sketch should build and be uploaded to the Arduino Due. It may be helpful to enable the Serial Monitor at this time to view IO from the Arduino Due. The example sketches output helpful debug messages. For further information on using Arduino IDE for Atmel Studio, refer to the documentation as mentioned in Section 4.3, or visit their website at www.visualmicro.com. Issue Date: 2015/07/30 Revision 1.0

Page 14 6 Change Record X94A-B-002-01 Revision 1.0 - Issued: July 30, 2015 Revision 1.0 Revision 1.0 Issue Date: 2015/07/30

Page 15 Issue Date: 2015/07/30 Revision 1.0