Resumen del contenido incluido en la página 1
Bluetooth QuickStart Kit Version 1.0 - User’s Guide
Copyright 2004-2005 © Embedded Artists AB
Bluetooth QuickStart Kit
User’s Guide
A Quick Way to Start Using and Integrate
Bluetooth in YOUR Application…
Builds on InfraBed™ technology
EA2-USG-0402 Rev A
Resumen del contenido incluido en la página 2
Bluetooth QuickStart Kit Version 1.0 - User’s Guide Page 2 Embedded Artists AB Friisgatan 33 SE-214 21 Malmö Sweden info@EmbeddedArtists.com http://www.EmbeddedArtists.com Copyright 2004-2005 © Embedded Artists AB. All rights reserved. No part of this publication may be reproduced, transmitted, transcribed, stored in a retrieval system, or translated into any language or computer language, in any form or by any means, electronic, mechanical, magnetic, optical, chemical, manual o
Resumen del contenido incluido en la página 3
Bluetooth QuickStart Kit Version 1.0 - User’s Guide Page 3 Table of Contents 1.1 Contents ......................................................................................... 4 1.2 Using Bluetooth QuickStart Kit in Products................................ 4 1.2.1 Design and Production Services ................................................... 5 1.3 Software License ........................................................................... 5 1.4 Product Registration ...........
Resumen del contenido incluido en la página 4
Bluetooth QuickStart Kit Version 1.0 - User’s Guide Page 4 1 Introduction Thank you for buying Embedded Artists’ Bluetooth QuickStart Kit based on the LPC2106 ARM7™ microcontroller from Philips and cb-OEMSPA-13i industrial Bluetooth module from connectBlue. The Bluetooth QuickStart Kit contains a pre-designed platform, both hardware and software, with all necessary infrastructure functionality for using Bluetooth in industrial applications. The kit allows you to quickly evaluate the
Resumen del contenido incluido en la página 5
Bluetooth QuickStart Kit Version 1.0 - User’s Guide Page 5 Modifications to the design for OEM production can easily be done. Contact Embedded Artists for further information about design and production services. 1.2.1 Design and Production Services Embedded Artists provide design services for custom designs, either completely new or modification to existing boards. Specific peripherals and/or I/O can easily be added to the different designs, for example communication interfaces, spe
Resumen del contenido incluido en la página 6
Bluetooth QuickStart Kit Version 1.0 - User’s Guide Page 6 2 Bluetooth QuickStart Kit This chapter provides a description of the Bluetooth QuickStart Kit; the platform (software and hardware aspects), features, and typical usage. 2.1 Software Platform The Bluetooth QuickStart Kit includes a pre-designed software platform that integrates a mayor part of the needed infrastructure for advanced Bluetooth applications. By using the platform you avoid the long and narrow “do-it-yourself”
Resumen del contenido incluido en la página 7
Bluetooth QuickStart Kit Version 1.0 - User’s Guide Page 7 • Software platform code base is easily ported and extended to other hardware, including other processor families. • Many sample applications included in order to lower the threshold to get you started. • Complete development environment is included (compiler, linker, make, editor, etc.) − Based on GCC. − Other compilers also supported, like Keil and IAR. • The user can easily add own applications and experiment with the tech
Resumen del contenido incluido en la página 8
Bluetooth QuickStart Kit Version 1.0 - User’s Guide Page 8 internal parameters in the system. Communication with the (arbitrary) embedded system can be done via the RS232 serial channel. Bluetooth QuickStart Kit PDA ANY System Expose Application Control Laptop Stationary Ethernet WWW Figure 2 – Typical Bluetooth QuickStart Application Scenario In the scenario above, the Bluetooth QuickStart Board is used to create an advanced user interface to the embedded syst
Resumen del contenido incluido en la página 9
Bluetooth QuickStart Kit Version 1.0 - User’s Guide Page 9 are many interesting business possibilities when integrating diagnostic functions in a system, like better maintenance and a profitable after market. Remote administration and remote control gives the prerequisites of lower working expenses, lower total system costs, and a profitable after market. The Bluetooth QuickStart Kit allows you to experiment and develop these kinds of applications. Copyright 2004-2005 © Embedded Ar
Resumen del contenido incluido en la página 10
Bluetooth QuickStart Kit Version 1.0 - User’s Guide Page 10 3 Bluetooth Use-Cases This chapter provides a description of typical use-cases when using Bluetooth in industrial applications. 3.1 Typical Industrial Bluetooth Use-Cases There are basically two different use-cases for industrial Bluetooth applications: • User Interface In this case, Bluetooth is used to access a system wirelessly in order to control different parameters and/or to retrieve information. A web server is use
Resumen del contenido incluido en la página 11
Bluetooth QuickStart Kit Version 1.0 - User’s Guide Page 11 3.3 Remote Control Remote control is almost the same as remote access. The only difference is the direction of the information. In remote access the information mainly flows from the remote system to (typically) a central place. In remote control the information direction is the opposite; from the central place to the remote system. A number of (typical) example applications are: • Motor control, which can for example be a s
Resumen del contenido incluido en la página 12
Bluetooth QuickStart Kit Version 1.0 - User’s Guide Page 12 decisions must be made quickly. Trends can be discovered when analyzing the data, for example that a bearing is about to break down but will hold for another two months. Maintenance can in such cases be planned in advance to minimize the operation costs. Figure 6 below illustrates a typical system with motor diagnostics. Operator Stations Vibration too high. Stopping motor! Bluetooth or direct access Wireless PDA Figure 6 –
Resumen del contenido incluido en la página 13
Bluetooth QuickStart Kit Version 1.0 - User’s Guide Page 13 A field engineer, or similar, can then easily access all relevant documents directly on site. The system becomes more self-contained since all relevant documents “follow” the system. The benefits are also in this case numerous: • Easy local access to the system • No need to physically connect to the system • Manuals and logs are always available on the system 3.6 Bluetooth Profiles What is a Bluetooth profile? Well, it is
Resumen del contenido incluido en la página 14
Bluetooth QuickStart Kit Version 1.0 - User’s Guide Page 14 incoming connection requests to the LAN Access Profile, the LAP role must be enabled in that specific device. It is possible to enable several instances of the LAP role in order to allow several parallel connections through the LAP. A device must take the DT role in order to connect to other devices supporting the LAP role. The data transfer takes place over PPP and TCP/IP, which encapsulate the actual user data. The LAN Acce
Resumen del contenido incluido en la página 15
Bluetooth QuickStart Kit Version 1.0 - User’s Guide Page 15 4 Compiling and Running Application Programs This chapter provides a description of how to develop, compile, and download applications into the Bluetooth QuickStart Board. 4.1 File Structure The pre-designed software platform is delivered as a library along with a number of header files that declare the different API:s. See BApplication Program Interface (API) for a detailed API description. The platform contains the foll
Resumen del contenido incluido en la página 16
Bluetooth QuickStart Kit Version 1.0 - User’s Guide Page 16 application and a makefile. The makefile contains directives of how to compile and link the complete application. A typical makefile is listed in Figure 11 below. /* * Example makefile that creates a program called ‘mySampleApp’ */ # name of the program Name of final program. NAME = mySampleApp PROJECT_ROOT = . # Link program to RAM or ROM (possible values for RAMROM is RAM or ROM, # if not specified = ROM) RAMRO
Resumen del contenido incluido en la página 17
Bluetooth QuickStart Kit Version 1.0 - User’s Guide Page 17 • Keil uVision (DKARM version) This is another complete development environment, but from Keil. It includes an editor, project manager, a complete compiler build environment, and a debugger. An evaluation version can be downloaded from Keils homepage. The DKARM-version is based on the GCC compiler (currently version 3.3.1 of GCC). It is this version of the compiler that can be used for application development. 4.2.1 InfraBe
Resumen del contenido incluido en la página 18
Bluetooth QuickStart Kit Version 1.0 - User’s Guide Page 18 The installation files for both programs can be found on the accompanying CD- ROM. • JTAG For specific information about program download (i.e., Flash programming) with a JTAG interface, consult the manual for the specific JTAG interface that is used (e.g., J-link from Segger, Ulink from Keil, or Wiggler from MacRaigor). Set switch SW2 in the position that enables the automatic program download feature. After program downloa
Resumen del contenido incluido en la página 19
Bluetooth QuickStart Kit Version 1.0 - User’s Guide Page 19 Figure 13 – LPC21ISP Portable Command Line ISP Screenshot A typical program download sequence may look like in Figure 14 below. As seen, the first part is the actual program download phase. Then this is done, the program switches to being a terminal (the second part) and the messages from the application program are displayed. It also sends anything typed on the keyboard back to the Bluetooth QuickStart Board. As seen the p
Resumen del contenido incluido en la página 20
Bluetooth QuickStart Kit Version 1.0 - User’s Guide Page 20 5 Schematic and Measurements The chapter describes the Bluetooth QuickStart Kit board schematic and measurements. 5.1 Schematic The Bluetooth QuickStart Kit board schematic is drawn in Figure 15 and Figure 16 below. Figure 15 – Bluetooth QuickStart Board Schematic Drawing Page 1 Copyright 2004-2005 © Embedded Artists AB