Download MATLAB Support Package for Arduino Hardware User's Guide PDF

Matlab Support Package For Arduino Hardware User's Guide Ebook


Date : 2014-08-26
File size : 7.02 MB
Pages : 132
Author : The MathWorks, Inc.


Date ebook Published : 2014-08-26 MATLAB ® Support Package for Arduino ® Hardware User’s Guide R2014a How to Contact MathWorks Latest news: www.mathworks.com Sales and services: www.mathworks.com/sales_and_services User community: www.mathworks.com/matlabcentral Technical support: www.mathworks.com/support/contact_us Phone: 508-647-

MATLAB ® Support Package for Arduino ® Hardware User’s Guide R2014a How to Contact MathWorks Latest news: www.mathworks.com Sales and services: www.mathworks.com/sales_and_services User community: www.mathworks.com/matlabcentral Technical support: www.mathworks.com/support/contact_us Phone: 508-647-7000 The MathWorks, Inc. 3 Apple Hill Drive Natick, MA 01760-2098 MATLAB ® Support Package for Arduino ® Hardware User’s Guide © COPYRIGHT 1984–2014 by The MathWorks, Inc. The software described in this document is furnished under a license agreement. The software may be used or copied only under the terms of the license agreement. No part of this manual may be photocopied or reproduced in any form without prior written consent from The MathWorks, Inc. FEDERAL ACQUISITION: This provision applies to all acquisitions of the Program and Documentation by, for, or through the federal government of the United States. By accepting delivery of the Program or Documentation, the government hereby agrees that this software or documentation qualifies as commercial computer software or commercial computer software documentation as such terms are used or defined in FAR 12.212, DFARS Part 227.72, and DFARS 252.227-7014. Accordingly, the terms and conditions of this Agreement and only those rights specified in this Agreement, shall pertain to and govern the use, modification, reproduction, release, performance, display, and disclosure of the Program and Documentation by the federal government (or other entity acquiring for or through the federal government) and shall supersede any conflicting contractual terms or conditions. If this License fails to meet the government's needs or is inconsistent in any respect with federal procurement law, the government agrees to return the Program and Documentation, unused, to The MathWorks, Inc. Trademarks MATLAB and Simulink are registered trademarks of The MathWorks, Inc. See www.mathworks.com/trademarks for a list of additional trademarks. Other product or brand names may be trademarks or registered trademarks of their respective holders. Patents MathWorks products are protected by one or more U.S. patents. Please see www.mathworks.com/patents for more information. Revision History September 2014 Online only New for Version 14.1.0 (R2014a) iii Contents Setup and Configuration 1 Install Support for Arduino Hardware . . . . . . . . . . . . . . . . . . 1-2 Install the Support Package . . . . . . . . . . . . . . . . . . . . . . . . . 1-2 Accessing Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-5 Arduino Hardware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-6 Read Write Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-6 Supported Hardware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-7 Connect to Arduino Hardware . . . . . . . . . . . . . . . . . . . . . . . . 1-8 Read and Write to Digital Pin . . . . . . . . . . . . . . . . . . . . . . . . . 1-9 Play a Tone on a Piezo Speaker . . . . . . . . . . . . . . . . . . . . . . 1-10 Control LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-11 I2C Sensors 2 Arduino I2C Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2 I2C Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3 Communicate With an I2C Device Using EEPROM Data . . . 2-4 iv Contents SPI Sensors 3 Arduino and SPI Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2 SPI Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2 Servo Motors 4 Servo Motors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-2 Servo Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-2 Rotate a Servo Motor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-3 Add-On Shields 5 Add-On Shields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-2 Add-On Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-2 Functions — Alphabetical List 6 Troubleshooting 7 Cannot Auto Detect Arduino hardware . . . . . . . . . . . . . . . . . 7-2 Update Device Driver on a Windows System . . . . . . . . . . . . . 7-2 v Unsupported Device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-2 Manual disconnect . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-2 Why do I need to specify board type and port? . . . . . . . . . . . 7-3 Find port number on Windows . . . . . . . . . . . . . . . . . . . . . . . 7-3 Find port number on Macintosh . . . . . . . . . . . . . . . . . . . . . . 7-4 My I2C server code hangs . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-5 I lost my Arduino connection . . . . . . . . . . . . . . . . . . . . . . . . . 7-6 Unplugged hardware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-6 Board with low data memory . . . . . . . . . . . . . . . . . . . . . . . . 7-6 Too many device objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-6 Pin is Not Receiving Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-7 I see strange data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-8 Pin not receiving proper signal . . . . . . . . . . . . . . . . . . . . . . . 7-8 Board with low data memory . . . . . . . . . . . . . . . . . . . . . . . . 7-8 Incorrect input or output . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-8 Problems using pulse duration setting on Servo . . . . . . . . . . 7-9 My Servo Pulse is Not Working . . . . . . . . . . . . . . . . . . . . . . . 7-10 Hardware reserved error . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-11 Cannot stack motor shields . . . . . . . . . . . . . . . . . . . . . . . . . . 7-12 My Stepper is Not Rotating . . . . . . . . . . . . . . . . . . . . . . . . . . 7-13 My Motor is Not Working . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-14 I Need More Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-15 Examples 8

Please Wait Your download Will Start in Seconds

Your DownLoad Will start automatically

Related Books

Download MATLAB Support Package for Arduino Hardware User's Guide PDF
File size : 7.02 MB | Pages : 132 | Date :2014-08-26 | Author : The MathWorks, Inc. | Description : MATLAB ® Support Package for Arduino ® Hardware User’s Guide R2014a Ho
Download PCI Express 2.0 x1, x4 Endpoint IP Core User's Guide PDF
File size : 6.97 MB | Pages : 100 | Date :2016-02-05 | Author : Lattice Semiconductor | Description : October 2014 IPUG75_2.2 PCI Express 2.0 x1, x4 Endpoi nt IP Core User’
Download MPLAB REAL ICE In-Circuit Emulator User's Guide - Microchip PDF
File size : 1.3 MB | Pages : 168 | Date :2009-09-29 | Author : Microchip Technology Inc. | Description :  2009 Microchip Technology Inc. DS51616C MPLAB REAL ICE In-Circuit Em
Download Utlities for Windows NVIDIA nTune Generation 5.0 User’s Guide PDF
File size : 1.58 MB | Pages : 38 | Date :2006-11-09 | Author : ccampa | Description : Utlities for Windows NVIDIA nTune Generation 5.0 User’s Guide Version
Download Dell™ Latitude™ XT User's Guide PDF
File size : 7.32 MB | Pages : 248 | Date :2008-05-13 | Author : kevin_feliksa | Description : www.dell.com | support.dell.com Dell™ Latitude™ XT User’s Guide Model
Download Agilent InfiniiVision 2000 X-Series Oscilloscopes User's Guide PDF
File size : 5.15 MB | Pages : 278 | Date :2011-06-26 | Author : Agilent Technologies, Inc. | Description :   Agilent InfiniiVision 2000 X-Series Oscilloscopes User's Guide 2 A
Download ML320/321 User's Guide PDF
File size : 3.04 MB | Pages : 138 | Date :1970-01-01 | Author : Terri Schultz | Description : 320T_tp.jpg User’s Guide P/N 59270107 2 Microline 320/321 Turbo | Docu
Download HP Deskjet 6980 series User's guide PDF
File size : 3.63 MB | Pages : 182 | Date :2005-06-02 | Author : GordonP | Description : HP Deskjet 6980 series User's guide Hewlett-Packar d Company notices T
Download MPLAB IDE Simulator, Editor User's Guide PDF
File size : 1.63 MB | Pages : 280 | Date :2003-03-21 | Author : Microchip Technology | Description : MPLAB ® IDE SIMULATOR, EDITOR USER ’ S GUIDE  2002 Microchip Technolo
Download DocuMate 752 Scanner User's Guide PDF
File size : 4.96 MB | Pages : 134 | Date :2008-12-10 | Author : Visioneer, Inc. | Description : DocuMate 752 scanner user’s guide Copyright © 2008 Visioneer, Inc. Rep
Download IBM Tivoli Storage Productivity Center: User's Guide - FTP Directory  PDF
File size : 13.62 MB | Pages : 1272 | Date :2012-10-12 | Author : IBM | Description : IBM Tivoli Storage Productivity Center Version 4.2.2.3 User's Guide SC
Download ABBYY FineReader 12 User's Guide PDF
File size : 2.07 MB | Pages : 116 | Date :2018-07-20 | Author : ABBYY | Description : ABBYY ® FineReader Version 12 User’s Guide © 2013 ABBYY Production LLC
Download Dell C5765dn Color Multifunction Printer User's Guide PDF
File size : 24.45 MB | Pages : 675 | Date :2014-06-17 | Author : Dell Inc. | Description : Dell™ C5765dn Color Laser Multifunction Printer User’s Guide Regulator
Download INSTALLATION AND USER’S GUIDE - Fileburst - The Best High Speed  PDF
File size : 1.77 MB | Pages : 75 | Date :2013-03-04 | Author : Nikki Bonds | Description : “ Sharing Microsoft Outlook Calendar and Contacts without Exchange Ser
Download SMART Board 480i6 interactive whiteboard system configuration and user's guide PDF
File size : 2.61 MB | Pages : 106 | Date :2013-09-19 | Author : SMART Technologies | Description : SMART Board® 480i6 Interactive whiteboard system Configuration and use
Download IBM Tivoli Workload Scheduler: Dynamic Workload Console User's Guide PDF
File size : 2.27 MB | Pages : 201 | Date :2011-11-04 | Author : IBM | Description : Workload Scheduler Version 8.6 Dynamic Workload Console User's Guide 
Download user's guide guía de usuario user's guide guía de usuario user's guide guía de usuario PDF
File size : 6.26 MB | Pages : 212 | Date :2004-03-01 | Author : Unknown | Description : • Read this User’s Guide before you start using your P-touch. • Keep t
Download z/OS TSO/E REXX User's Guide PDF
File size : 1.26 MB | Pages : 234 | Date :2019-02-16 | Author : Unknown | Description : z/OS Version 2 Release 3 TSO/E REXX User's Guide IBM SA32-0982-30 Note
Download ANSYS LS-DYNA User's Guide PDF
File size : 1.89 MB | Pages : 208 | Date :2009-10-18 | Author : F. Barlat and J. Lian | Description : ANSYS LS-DYNA User's Guide Release 12.1 ANSYS, Inc. November 2009 Sout
Download The Complete 2012 User's Guide to the Amazing Amazon Kindle: Covers All Current Kindles Including the Kindle Fire, Kindle Touch, Kindle Keyboard, and Kindle PDF
File size : 1.6 MB | Pages : 324 | Date :2019-08-05 | Author : Grubbs, Bruce ... | Description : The Complete 2012 User's Guide to the Amazing Amazon Kindle Tips, Tric