Home

ANDROID-232 User Manual - ACCES I/O Products, Inc.

image

Contents

1. 15 Table 6 2 Power Connector J1 Pin 15 Table 6 3 ANDROID 232 S01 RJ12 43 Connector Pin Assignments 15 Table 6 4 ANDROID 232 S01 J5 Connector Pin Assignments 15 Chapter 7 Sp cifications iii vss as Ses ped eed en antra dx OA REN UE gn 16 Customer xo ne erc iere Diar reete Cun et ae ee 17 Chapter 1 Introduction Features Android USB 2 0 Full Speed Host to industry standard RS 232 DB9M Serial Port Supports UART interface with RX TX RTS and CTS RX buffer size 5512 bytes TX buffer size 256 bytes Supports baud rates up to 460 8kbps 921 6kbps optional Use with any Android platform supporting Open Accessory Mode typically 3 1 or above Status and fault LEDs including external power charging status and USB status Supports USB charging for Android devices 15kV ESD protection on USB data lines and all RS 232 signals Type A USB connector features industrial strength high retention design Latching 5V external power input connector Includes 115VAC to 5V regulated external power supply adaptor Industrial operating temperature 40 to 85 C standard RoHS Compliant Typical Applications Connecting Android phones to serial accessories Connecting Android tablets to serial accessories Controlling instrumentation from Android devices Home aut
2. stopBits Parity flowControl stop bits parity and flow control of the UART interface The android application must send this configuration before baud rate min 300 max 921600 default set to 9600 data bits 7 7 bit databits 8 8 data bits default 8 data bits stop bits 1 l stop bits 2 2 stop bits default is set to 1 stop bits parity 0 none 1 099 2 even 3 mark and 4 space default is set to none flow control 0 none l cts rts default is set to none Please note To reliably achieve higher baud rates the use of hardware cts rts flow control is necessary and is generally a good idea at any baud rate SendData SendData byte numBytes char buffer Use this function of the FT311UARTInterface class to transmit the data buffer out the serial port numBytes number of bytes to transmit maximum 256 per transfer Buffer pointer to data buffer ReadData ReadData byte numBytes byte buffer byte actualNumBytes This function of the FT311UARTInterface class is used to receive data from the serial port numBytes number of bytes to read MAX 256 per transfer Buffer pointer to buffer pointer actualNumBytes the actual number of bytes received max 61 per transfer 14 Manual ANDROID 232 Chapter 6 Connector Pin Assignments There are two factory options for alternate RJ12 8 RJ45 connectors for the RS 232 signals and one standard DB9M connector Pin assignments are
3. USB Connector Mmm 10 DC Power 10 POWER 10 VBUS EED S e ee e ba cade Ries oats A ea curate Ciara ee Gia 10 USB Status 10 Table 3 1 USB Status LED 10 LOAD Status LED eee dpi aeo aeg edite e dee p etti 11 FAULT LED mide aont Udo opt noU Od S E 11 DBS Male ConheclOr qe educ ein xia det dex de a du ke 11 RJ12 Connector 11 Figure 3 2 ANDROID 232 S01 Dimensioned 11 RJ12 Connector Model 232 501 11 J5 Connector Model 232 501 11 RJ45 Connector Optional icc cases iioc cesses ands tocado Lc adio cu ocu d Load 11 Chapter 4 Address 12 Chapter 5 13 ABT IBnteredoeal i i ncn a e A Ma A E EC E d UE 13 PTSLID oodd ede iid adeb queues acts 13 Chapter 6 Connector Pin 5 15 Table 6 1 RS 232 Connector Pin
4. XP and up Boot your computer normally Note If you already installed the hardware Windows may detect a new plug and play device and attempt to install the drivers If it gives you the option to do so please cancel the installation wizard otherwise wait for Windows to complete the installation If your installation software was provided on CD or other media e Insert the installation media and allow the autorun software installation program to start Note If the autorun software installation program does not appear you can launch it manually by clicking on the Computer or My Computer icon double clicking on the icon for your installation media drive and then double clicking on the autorun exe file Once the autorun software installation program appears select the Install ACCES Software button This will start the software and driver installation program e Select the product from the list then either click Install or first click the Change Destination button to modify the installation path Note You can use the filter feature above the list to reduce the number of products in the list just type a few characters from the model number into the edit box You can also narrow the list by selecting a subset of product categories from the drop down list to the right e After the installation has completed we recommend you click the Settings button which will run the Settings program also ava
5. D and FT312 Data Sheets and Application Notes The device uses the FT312 but both part numbers apply FT312 UART interface FT312 provides a UART interface with baud rates from 300 to 921600 The FT312 UART transmits data in NRZ data format An FT311UARTInterface class with SetConfig ReadData WriteData routines for UART operations and ResumeAccessory DestroyAccessory functions to start and stop operations is provided For details on the use of the Java Class and functions please s Annex D of FTDIChip Document Reference No FT311D Android programmer guide FT 000532 pdf Clearance No 307 To help get you started the method to add FT311UARTInterface java into the project in the Eclipse environment is Copy the file into the src directory e g src com lt package name gt Right click on the project name in Eclipse package explore then select new file src com package name advanced link to the file FT311D UART User Layer This section describes the Serial User APIs of FT311UARTInterface class These are the most common functions of the APIs to use in your Android program 13 Manual ANDROID 232 SetConfig SetConfig int baudRate byte dataBits byte stopBits byte parity byte flowControl Use this function of the FT311UARTInterface class to set baud rate data bits Note sending any application data baudRate dataBits
6. anuals accesio com Please detail any errors you find and include your mailing address so that we can send you any manual updates ACCES 1 0 PRODUCTS INC 10623 Roselle Street San Diego CA 92121 Tel 858 550 9559 FAX 858 550 7322 www accesio com 17 Manual ANDROID 232
7. e LED labeled FAULT lights RED to indicate that the USB charging IC is experiencing over temperature or current limit conditions DB9 Male Connector The DB9 male connector provides access to the serial signals TX RX CTS RTS and GND The DB9 uses the standard RS232 serial pinout Refer to the Connector Pin Assignments chapter for the pinout RJ12 Connector Optional The RJ12 connector provides access to the serial signals TX RX and GND CTS and RTS are not accessible Refer to the Connector Pin Assignments chapter for the pinout o N o Fig ure 3 2 ANDROID 232 S01 Dimensioned Drawing RJ12 Connector Model ANDROID 232 S01 The ANDROID 232 S01 provides an RJ12 instead of a DB9M to provide access to the serial signals TX RX GND and GPS signals GPSTX GPSRX and GPSGND CTS and RTS are not accessible Refer to the Connector Pin Assignments chapter for the pinout J5 Connector Model ANDROID 232 S01 The ANDROID 232 S01 also provides a three pin PICO embedded connector for access GPS signals GPSTX GPSRX and GPSGND The mating connector is a Molex 51021 0300 or equivalent Refer to the Connector Pin Assignments chapter for the pinout RJ45 Connector Optional The RJ45 connector provides access to the serial signals TX RX CTS RTS and GND The RJ45 uses the CISCO RS232 serial pinout Refer to the Connector Pin Assignments chapter for the pinout 11 Manual ANDROID 232 Chapter 4 Address Information The unit con
8. e any difficulty installing the software in these legacy operating systems feel free to contact support for assistance Many products are provided with register level sample programs for DOS written in Borland 3 1 for DOS Please install the software to a compatible Windows computer to locate these samples The DOS samples will appear under your installation directory in a DOS subdirectory Note Linux Mac OSX DOS executables will not work in operating systems based on 4 nor any newer Windows version Please boot to Microsoft DOS 6 22 or above or any of the many free alternatives www freedos org The Linux package can be downloaded from each product page our github or in the Linux directories on the Software Master CD Consult the provided documentation files for more information OSX support for some product lines notably USB can be located on the Software Master CD in the AMAC 088 9 X directory tree If you re interested in using OSX or other versions of Apple s operating system we highly recommend discussing your project with our application engineers Hardware Installation The ANDROID 232 ships with a regulated 5V power supply Apply power to the board and then plug in the USB cable to the Android device and the ANDROID 232 Once the USB cable is plugged in and power is applied the board will go through USB enumeration After enumeration the ANDROID 232 is ready to use Plug your RS232 device
9. e arriving from use or misuse of our product The customer is responsible for all charges caused by modifications or additions to ACCES equipment not approved in writing by ACCES or if in ACCES opinion the equipment has been subjected to abnormal use Abnormal use for purposes of this warranty is defined as any use to which the equipment is exposed other than that use specified or intended as evidenced by purchase or sales representation Other than the above no other warranty expressed or implied shall apply to any and all such equipment furnished or sold by ACCES Table of Contents Chapter 1 5 AUIS PEE Eu 5 Typical ADDIICallOlS eot ed I LM dU 5 Functional Description SRM 5 Figure 1 1 Block Diagram siio ota eM o Rise alae etr 6 Ordering eae ee ede tl trei 6 Model Options x oat AA a Aa A AM PU US 6 Special Order eto deett A E 6 Included with your board rerit eeu Ser es tei 6 Optiotial ACCeSSOTLIGS oda een id a 6 Chapter 2 7 Software Installation dc i E us 7 Hardware Installation uei Ego ex CU E HAN A EA 9 Chapter 3 Hardware 10 Figure 3 1 ANDROID 232 Dimensioned Drawing 10
10. ilable in your Start menu and configure any necessary option selections for your product or simply familiarize yourself with its connectors and features before installing the hardware If your installation software was downloaded e Double click the file you downloaded typically named productname Install exe e Either click the Install button to accept the default installation paths for software and drivers or first select the Change buttons to change these paths e After the installation has completed we recommend you run the Settings Setup program available in your Start menu and configure any necessary option selections for your product before installing the hardware Then Click Finish to close the install program Note During installation you may see the Microsoft WHQL Windows Hardware Quality Labs warning please choose the Continue or Install this driver software anyway option as itis safe to do so Also note Windows security may ask you for confirmation that you want to install the device software several times You can reduce the number of times this question appears by selecting Always trust software from before clicking Install in response to this question Legacy Windows OS Support DOS Although official support for Windows operating systems older than Windows XP has ceased many products work perfectly fine in Windows 95 and up or Windows 98SE and up If you hav
11. into the DB9 or RJ12 RJ45 and now you can begin to transmit and receive data 9 Manual ANDROID 232 Chapter 3 Hardware Details End on view of J1 Power JIV 69 Er N o USB Connector Figure 3 1 ANDROID 232 Dimensioned Drawing The USB connector is a Type A high retention connector and mates with the A to micro B cable provided The USB host port provides access to peripheral hardware from any Android platform with a USB device port DC Power Connector J1 is a female 2 pin right angle latching header It is part of the Molex Mini Fit Jr series Partt 39 30 1020 It mates with the Molex Mini Fit Jr 5557 series Plug the included external regulated 5VDC power supply into this connector POWER LED The LED labeled PWR lights GREEN to indicate power to the board VBUS LED The LED labeled VBUS lights GREEN to indicate power is provided to the ANDROID USB device port USB Status LED The RED LED labeled USB STAT is used to indicate USB host status USB Status LED Indication Meaning Illuminated Steady Android device connected and functional Blinks once per second Android device not responding Blinks twice per second Android device not supported Blinks thrice per second USB Hub not supported Table 3 1 USB Status LED Indications 10 Manual ANDROID 232 LOAD Status LED The LED labeled LOAD STAT lights RED to indicate when the ANDROID device is charging FAULT LED Th
12. listed below PIN DESM RJ45 12345678 5VDC GND RETURN GND RETUR Table 6 2 Power Connector J1 Pin Assignments PIN RJ12 801 4 TX 6 GPSTX Table 6 3 ANDROID 232 S01 RJ12 J3 Connector Pin Assignments PIN J5 1 2 GPSRX 2 3 GPSGND Table 6 4 ANDROID 232 S01 J5 Connector Pin Assignments 15 Manual ANDROID 232 Chapter 7 Specifications Communications Interface I O Connection Serial Port Serial Data Rates ESD Protection Character Length Parity Stop Interval Flow Control Bus Type DB9M optional RJ45 or RJ12 RS 232 signals RX TX RTS CTS GND 460 8kbps 921 6kbps available 115 2kbps without RTS CTS flow control 15kV on all signal pins 7 or 8 bits Even Odd None Space Mark 1 or 2 bits RTS CTS USB 2 0 Full Speed USB 3 0 Compatible USB 1 1 Compatible A type A USB connector with a high retention design that complies with the class 1 Div 11 minimum withdrawal requirement of over 3 pounds of force 15 Newtons is used Environmental Operating Temp Storage Temp Humidity Board Dim Power 40 to 85 C 40 to 85 C 5 95 non condensing 1 900 x 3 750 inches 5VDC regulated lt 100mA typical plus 500mA max when charging ANDROID device 16 Manual ANDROID 232 Customer Comments If you experience any problems with this manual or just want to give us some feedback please email us at m
13. nects to the host Android device using the Android Open Accessory protocol introduced in revision 3 1 of Android In order to connect your application to any given AOA hardware device you need to know the identifiers used in that device The ANDROID 232 uses the following AOA Identifiers Manufacturer ACCES I O Products Inc Model ANDROID 232 Version 1 0 Description Single USB to RS 232 serial port adapter Refer to the various samples provided for more information if necessary 12 Manual ANDROID 232 Chapter 5 Programming The ANDROID 232 product includes an Android sample program with source which operates within the Android Open Accessory protocol available on all devices running Android 3 1 or higher some 2 3 4 ROMs are supported This program will allow you to verify proper operation of the ANDROID 232 device including sending and receiving RS 232 data A Python test program that can cooperate with the Android sample program to verify proper receipt of data as transmitted is also provided In any operating system you can communicate through the ANDROID 232 with your Android device using the standard communication terminal program of your choice in Windows we provide and highly recommend a very powerful terminal program called WinRISC Windows samples in a variety of programming languages can be used to jumpstart your Serial COM programming with full source code The following data is excerpted from the FT311
14. omation via Android devices Data logging from serial accessories Connecting serial printing devices to Android devices Functional Description The ANDROID 232 leverages the power of Android to provide a flexible interface to legacy RS 232 devices The ANDROID 232 uses the Android Open Accessory AOA protocol to convince your Android device running Android versions above 3 1 that its onboard USB port normally limited to USB slave or OTG modes is actually an RS 232 port Onboard data buffers minimize streaming jitter and full hardware flow controlled data I O at up to 921 6kbps is supported a max of 115 2kbps without flow control Onboard circuitry will provide power to charge your Android device while connected Multiple status and fault LEDs complete the package and allow simple and convenient confirmation of operational state A hard line wired connection also eliminates security concerns associated with Wi Fi and other radio frequency solutions The board is designed to be used in rugged industrial environments 40 to 85 C but it is small enough to fit nicely onto any desk or testing station The board is 3 75 by 1 90 inches and ships with 1 2 standoffs VBUS Green STAT STAT MACCES Red Red 0 9 7c PRODUCTS INC Or PWR 3 12345678 5V EXT POWER 1A 5 43 3V Green Vo REGULATOR GROUND Figure 1 1 Block Diagram 123456 a ass 2385 as O09 w
15. s iz USB Host UART o N Z 99 5 S ESD Protection lt Ww gt di o x 7 a a 7 2 Ordering Guide e ANDROID 232 Board on 12 standoffs with a DB9 Male RS 232 connector Model Options e S01 RJ12 female for RS 232 including GPS signals on RJ12 and J5 connector F 921 6kbps with flow control e 12 RJ12 female for RS 232 interface e RJ45 RJ45 female CISCO RS232 pinout for RS 232 interface Special Order e 60 Contact factory with your special requirement Some examples of special orders would be conformal coating latching I O headers etc Included with your board The following components are included with your shipment depending on options ordered Please take the time now to ensure that no items are damaged or missing ANDROID 232 board 4x 4 40 F F 12 standoffs installed 6 USB 2 0 Type A to Micro cable External AC DC 5V regulated adaptor Optional Accessories ADAP9 Screw terminal breakout board with DB9F connector CAB xxxx DB9 RJ45 and RJ12 cables are available please contact us with your exact requirement 6 Chapter 2 Installation Software Installation It is best to install the software before the hardware Your software may have been provided on a Software Master CD or other distribution media or you may need to download it from the product s webpage Windows installation Windows
16. siderations Terms and Conditions If a unit is suspected of failure contact ACCES Customer Service department Be prepared to give the unit model number serial number and a description of the failure symptom s We may suggest some simple tests to confirm the failure We will assign a Return Material Authorization RMA number which must appear on the outer label of the return package All units components should be properly packed for handling and returned with freight prepaid to the ACCES designated Service Center and will be returned to the customer s user s site freight prepaid and invoiced Coverage First Three Years Returned unit part will be repaired and or replaced at ACCES option with no charge for labor or parts not excluded by warranty Warranty commences with equipment shipment Following Years Throughout your equipments lifetime ACCES stands ready to provide on site or in plant service at reasonable rates similar to those of other manufacturers in the industry Equipment Not Manufactured by ACCES Equipment provided but not manufactured by ACCES is warranted and will be repaired according to the terms and conditions of the respective equipment manufacturer s warranty General Under this Warranty liability of ACCES is limited to replacing repairing or issuing credit at ACCES discretion for any products which are proved to be defective during the warranty period In no case is ACCES liable for consequential or special damag
17. va ACCES 1 0 PRODUCTS INC 10623 Roselle Street San Diego CA 92121 858 550 9559 FAX 858 550 7322 contactus accesio com www accesio com MODEL ANDROID 232 USB Android Host to RS 232 USER MANUAL FILE MANDROID 232 A1f Notice The information in this document is provided for reference only ACCES does not assume any liability arising out of the application or use of the information or products described herein This document may contain or reference information and products protected by copyrights or patents and does not convey any license under the patent rights of ACCES nor the rights of others Printed in USA Copyright by ACCES I O Products Inc 10623 Roselle Street San Diego CA 92121 1506 All rights reserved WARNING ALWAYS CONNECT AND DISCONNECT YOUR FIELD CABLING WITH THE COMPUTER POWER OFF ALWAYS TURN COMPUTER POWER OFF BEFORE INSTALLING A CARD CONNECTING AND DISCONNECTING CABLES OR INSTALLING CARDS INTO A SYSTEM WITH THE COMPUTER OR FIELD POWER ON MAY CAUSE DAMAGE TO THE I O CARD AND WILL VOID ALL WARRANTIES IMPLIED OR EXPRESSED Warranty Prior to shipment ACCES equipment is thoroughly inspected and tested to applicable specifications However should equipment failure occur ACCES assures its customers that prompt service and support will be available All equipment originally manufactured by ACCES which is found to be defective will be repaired or replaced subject to the following con

Download Pdf Manuals

image

Related Search

Related Contents

開催要項ダウンロード(PDFファイル 約497K)  CFO331/521 user manual  Oregon, Monterra  1 - Rc-Cam.Ru  Artison RCC600-SA User's Manual  Linksys ETHERFAST 10/100 User's Manual  deutsch, english, francais, español (PDF 3.4 MB)  Manhattan 5m USB 3.0  Petite Piscine Tubulaire Rectangulaire  Installation manual eSaver iConnect Gateway  

Copyright © All rights reserved.
Failed to retrieve file