Table of Contents

Advertisement

Quick Links

EmbeddedBlue
500
User Manual

Advertisement

Table of Contents
loading

Summary of Contents for A7 Engineering EmbeddedBlue 500

  • Page 1 ™ EmbeddedBlue User Manual...
  • Page 2 Copyright ©2003 A7 Engineering, Inc. All rights reserved. EmbeddedBlue is a trademark of A7 Engineering, Inc. PBASIC is a trademark and BASIC Stamp is a registered trademark of Parallax, Inc. Bluetooth and the Bluetooth logo are registered trademarks of the Bluetooth SIG.
  • Page 3: Table Of Contents

    Get Escape Character ........................70 Get Flow Control..........................71 Get Link Timeout ..........................72 Help..............................73 List ..............................74 Return to Data Mode ........................75 Set Baud Rate ..........................76 Set Connectable Mode ........................77 Set Discoverable Mode........................78 Copyright ©2003 A7 Engineering, Inc.
  • Page 4 Switch to Command Mode....................... 82 Version............................. 83 eb500 Error Codes ..........................84 Technical Specifications ........................85 Operating Parameters ........................85 Dimensions ............................86 Pinout Diagram ..........................87 Frequently Asked Questions ......................88 Contact Information ........................... 90 Copyright ©2003 A7 Engineering, Inc.
  • Page 5 Figure 12: Hello World Pocket PC Application ..............58 Figure 13: iPAQ Bluetooth Brower Dialog ................59 Figure 14: RXEB500 Pocket PC Application ................ 61 Figure 15: eb500 Dimensions....................86 Figure 16: eb500 Pinout Diagram..................87 Copyright ©2003 A7 Engineering, Inc.
  • Page 6 User Manual Table of Tables Table 1: eb500 Error Codes ....................84 Table 2: eb500 Operating Parameters ................. 85 Table 3: eb500 Dimensions ....................86 Table 4: eb500 Pinout Description..................87 Copyright ©2003 A7 Engineering, Inc.
  • Page 7: Introduction

    EmbeddedBlue 500 Introduction Congratulations on your purchase of the EmbeddedBlue 500 (eb500) module. The eb500 ® module provides Bluetooth connectivity for 8/16 bit microcontroller applications without having to know the details of Bluetooth technology. Hobbyists, developers, and OEMs can take advantage of advanced wireless connectivity with this easy to use module.
  • Page 8: Eb500 Basics

    The connection status line of the eb500 module can be monitored to determine if there is an active connection. Additionally, whenever a connection is present, the Connection Status LED (Figure 1) on the eb500 module will be on. Copyright ©2003 A7 Engineering, Inc.
  • Page 9: I/O Lines

    CD in the Samples folder in the file CmdModeSoft.bs2. '{$STAMP BS2} szData VAR BYTE(20) 'Wait for the eb500 radio to be ready PAUSE 1000 'Connect to the remote device Copyright ©2003 A7 Engineering, Inc.
  • Page 10 SERIN 0,84,[STR szData\17] SERIN 0,84,[WAIT(CR,">")] szData(17) = 0 DEBUG STR szData\17,CR 'Return to Data Mode SEROUT 1,84,["ret",CR] SERIN 0,84,[WAIT("ACK",CR)] DEBUG "In Data Mode",CR SEROUT 1,84,["My Bluetooth address is ",STR szData,CR] 'Switch to Command Mode PAUSE 2000 Copyright ©2003 A7 Engineering, Inc.
  • Page 11 IF in5 = 0 THEN WaitForConnection DEBUG "Connected",CR SEROUT 1,84,["This text is sent in data mode",CR] 'I/O Line 6 allows us to switch to Command Mode OUTPUT 6 'Switch to Command Mode LOW 6 SERIN 0,84,[WAIT(CR,">")] DEBUG "In Command Mode",CR Copyright ©2003 A7 Engineering, Inc.
  • Page 12 PAUSE 50 DEBUG "In Data Mode",CR SEROUT 1,84,["My Bluetooth address is ",STR szData,CR] 'Switch to Command Mode LOW 6 SERIN 0,84,[WAIT(CR,">")] DEBUG "In Command Mode",CR 'Disconnect from remote device SEROUT 1,84,["dis",CR] SERIN 0,84,[WAIT(CR,">")] DEBUG "Disconnected",CR Copyright ©2003 A7 Engineering, Inc.
  • Page 13: Basic Stamp Application Debugging

    ‘Switch to Command Mode LOW 6 SERIN 0,84,[WAIT(CR,”>”)] ‘Disconnect from the remote device SEROUT 1,84,[“dis”,CR] SERIN 0,84,[WAIT(CR,”>”)] GOTO Start ClearCmd: DEBUG “eb500 in Command Mode”,CR ‘Issue a carriage-return to clear any commands SEROUT 1,84,[CR] SERIN 0,84,[WAIT(“>”)] ‘************************************************************* Copyright ©2003 A7 Engineering, Inc.
  • Page 14: Hardware Connections

    1), is inserted into the VSS pin of the AppMod header on the Parallax boards. A full device pinout is available in the Technical Specifications section of this manual. Connection Status LED Pin 1 Figure 1: eb500 Module Copyright ©2003 A7 Engineering, Inc.
  • Page 15: Board Of Education

    VSS pin of the AppMod header. 15 14 13 12 6-9VDC AppMod 9 Vdc Header Battery Black VSS Pins Sout Reset Board of Education 0 1 2 www.stampsinclass.com © 2000-2003 Figure 2: Board of Education Board Copyright ©2003 A7 Engineering, Inc.
  • Page 16: Basic Stamp Activity Board

    P0=mPin P4/11 P1=zPin P3/12 6-12VAC 9-24VDC 1 2 ↓ Reset P5/7 C6C7 1 AppMod P4/11 P5/10 P6/9 P7/8 Header VSS Pins BS1-IC BS2-IC Need Tech Support? email stamptech@parallaxinc.com www.parallaxinc.com Figure 3: Basic Stamp Activity Board Copyright ©2003 A7 Engineering, Inc.
  • Page 17: Bs2P40 Demo Board

    1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 Figure 4: BS2P40 Demo Board Copyright ©2003 A7 Engineering, Inc.
  • Page 18: Javelin Stamp Demo Board

    Stamp Demo Board AppMod header, assure that you insert Pin 1 of the eb500 module, marked with a white dot and a square, into the VSS pin of the AppMod header. AppMod Header VSS Pins Figure 5: Javelin Stamp Demo Board Copyright ©2003 A7 Engineering, Inc.
  • Page 19: Sumoboard

    6). When inserting the eb500 module into the SumoBoard AppMod header, assure that you insert Pin 1 of the eb500 module, marked with a white dot and a square, into the VSS pin of the AppMod header. AppMod Header VSS Pins Figure 6: SumoBoard Copyright ©2003 A7 Engineering, Inc.
  • Page 20: Super Carrier Board

    VSS pin of the AppMod header. Rev A Need Tech Support? Send email to: stamptech@parallaxinc.com AppMod Header VSS Pins Reset  Basic Stamp Super Carrier www.parallaxinc.com (916) 624-8333 ©1999 Rocklin, CA - USA Figure 7: Super Carrier Board Copyright ©2003 A7 Engineering, Inc.
  • Page 21: Establishing A Connection

    1. Open the Basic Stamp Editor. 2. Enter the following program code into the editor. '{$STAMP BS2} szData VAR BYTE(20) 'Wait for the eb500 radio to be ready PAUSE 1000 'Get the eb500 Bluetooth Address SEROUT 1,84,["get addr",CR] SERIN 0,84,[WAIT(“ACK”,CR)] Copyright ©2003 A7 Engineering, Inc.
  • Page 22 (Figure 8). 4. On the Debug Terminal #1 dialog click Close. 5. Disconnect the power from the Board of Education board. 6. Disconnect the Board of Education board serial port from the PC. Copyright ©2003 A7 Engineering, Inc.
  • Page 23: Figure 8: Eb500 Bluetooth Address Output

    ‘{$STAMP BS2} ‘I/O Line 5 provides the connection status INPUT 5 ‘Wait for the eb500 radio to be ready PAUSE 1000 ‘Connect to the remote device SEROUT 1,84,[“con 00:0C:84:00:07:D7”,CR] SERIN 0,84,[WAIT(“ACK”,CR)] WaitForConnection: Copyright ©2003 A7 Engineering, Inc.
  • Page 24 The Connection Status LED (Figure 1) on both eb500 modules will turn on when a connection is established between the two eb500 modules. 9. Disconnect the power from the Board of Education board. 10. Disconnect power from the SumoBoard board. Copyright ©2003 A7 Engineering, Inc.
  • Page 25: Connecting A Pc With An Eb600 To A Board Of Education

    This will display the Properties dialog. 6. In the Bits per second dropdown, select 9600. 7. In the Data bits dropdown, select 8. 8. In the Parity dropdown, select None. 9. In the Stop bits dropdown, select 1. Copyright ©2003 A7 Engineering, Inc.
  • Page 26 Pin 1 of the eb500 module is inserted into the VSS pin of the AppMod header. 2. Apply power to the Board of Education board. Power can be applied by attaching a 9 Volt battery, or the AC-Adapter provided by Parallax. Copyright ©2003 A7 Engineering, Inc.
  • Page 27 3. Disconnect power from both the eb600 PC Adapter and the Board of Education boards. The removal of power resets the eb500 so that when power is restored the eb500 will boot into command mode. Copyright ©2003 A7 Engineering, Inc.
  • Page 28: Connecting A Pc With A Dbt-120 To A Boe

    Pin 1 of the eb500 module is inserted into the VSS pin of the AppMod header. 2. Apply power to the Board of Education board. Power can be applied by attaching a 9 Volt battery, or the AC-Adapter provided by Parallax. Copyright ©2003 A7 Engineering, Inc.
  • Page 29 COM port is used when a connection is established from the eb500 to the PC. 8. Click OK. 9. Select A7 Serial Port and click Disconnect from this service. This will disconnect the connection to the eb500 on the Board of Education board. Copyright ©2003 A7 Engineering, Inc.
  • Page 30 This will display the ASCII Setup dialog. 15. Check the Send line ends with line feeds checkbox. 16. Check the Echo typed characters locally checkbox. 17. Check the Append line feeds to incoming line ends checkbox. Copyright ©2003 A7 Engineering, Inc.
  • Page 31 The Connection Status LED (Figure 1) on the eb500 module will turn on when a connection is established. 2. On the Call menu, click Disconnect. This will close the connection with the eb500 on the Board of Education. Copyright ©2003 A7 Engineering, Inc.
  • Page 32: Connecting A Boe To A Pc With A Dbt-120

    3. Select the Hardware tab and note the Device Address shown in the Device Properties section of the dialog. The device address will be used in the BASIC Stamp application developed in the next step. Copyright ©2003 A7 Engineering, Inc.
  • Page 33 DEBUG “Connected”,CR ‘Wait for 20 seconds PAUSE 20000 ‘I/O Line 6 allows us to switch to Command Mode OUTPUT 6 ‘Switch to Command Mode LOW 6 SERIN 0,84,[WAIT(CR,”>”)] ‘Disconnect from the remote device SEROUT 1,84,[“dis”,CR] Copyright ©2003 A7 Engineering, Inc.
  • Page 34 The Connection Status LED (Figure 1) on the eb500 module will turn on when a connection is established. Additionally, on the My Bluetooth Places window, in the Additional Information column, the text “Connected” will be shown while a connection exists between the eb500 and the PC. Copyright ©2003 A7 Engineering, Inc.
  • Page 35: Connecting An Ipaq H1940 To A Board Of Education

    This will display the Connection Wizard Bluetooth Browser dialog containing a list of found devices. 5. Tap eb500. This will display the next page of the Connection Wizard. 6. In the Service Selection box, select A7 Serial Port. Copyright ©2003 A7 Engineering, Inc.
  • Page 36 5. Tap-and-hold the shortcut created in the previous step, eb500: A7 Serial Port. 6. Select Disconnect. This will close the connection with the eb500 on the Board of Education board. The Connection Status LED on the eb500 module will turn off. Copyright ©2003 A7 Engineering, Inc.
  • Page 37: Connecting A Board Of Education To An Ipaq H1940

    ‘{$STAMP BS2} ‘I/O Line 5 provides the connection status INPUT 5 ‘Wait for the eb500 radio to be ready Copyright ©2003 A7 Engineering, Inc.
  • Page 38 Mode. If there is no connection, the eb500 is already in Command Mode. 5. On the File menu, click Save As. 6. In the File name box, enter a file name to which to save the program just created. For example, ConnectPPC.bs2. 7. Click Save. Copyright ©2003 A7 Engineering, Inc.
  • Page 39: Figure 9: Ipaq Bluetooth Authorization Request Dialog

    On the iPAQ the connection will be shown in the Incoming Connections section of the Active Connections tab on the Bluetooth Active Connections dialog. Figure 9: iPAQ Bluetooth Authorization Request Dialog Copyright ©2003 A7 Engineering, Inc.
  • Page 40: Communications

    2. Enter the following program code into the editor, replacing the Bluetooth device address with the device address of the eb500 inserted into the Boe-Bot robot. '{$STAMP BS2} ‘I/O Line 5 provides the connection status INPUT 5 '-----[I/O Definitions]--------------------------------------- Copyright ©2003 A7 Engineering, Inc.
  • Page 41 Connect: 'Connect to Monkey-Do SEROUT 1,84,["con 00:0C:84:00:07:D7",CR] SERIN 0,84,[WAIT(“ACK”,CR)] ‘Either an Err #<CR> or a ">" will be received SERIN 0,84,[STR bBuffer\6\”>”] IF bBuffer(0) = “E” THEN ErrorCode WaitForConnection: IF in5 = 0 THEN WaitForConnection Copyright ©2003 A7 Engineering, Inc.
  • Page 42 GOTO Main Turn_Right: SEROUT 1,84,["1"] PULSOUT LMotor,LFwdFast PULSOUT RMotor,RRevFast GOTO Main Turn_Left: SEROUT 1,84,["2"] PULSOUT LMotor,LRevFast PULSOUT RMotor,RFwdFast GOTO Main Hold: GOTO Main '-----[Subroutines]--------------------------------------------- Read_IR_Sensors: FREQOUT LfIrOut,1,38500 irLeft = ~LfIrIn FREQOUT RtIrOut,1,38500 irRight = ~RtIrIn Copyright ©2003 A7 Engineering, Inc.
  • Page 43 This will create a new project window within the BASIC Stamp Editor. 2. Enter the following program code into the editor. '{$STAMP BS2} '-----[I/O Definitions]----------------------------------------- LMotor RMotor '-----[Constants]----------------------------------------------- LFwdFast 1000 LRevFast RFwdFast RRevFast 1000 '-----[Variables]----------------------------------------------- CmdData BYTE Copyright ©2003 A7 Engineering, Inc.
  • Page 44 BRANCH CmdData,[Hold, Turn_Right, Turn_left, Move_Fwd] 'If the command was invalid just loop again GOTO Main Move_Fwd: PULSOUT LMotor,LFwdFast PULSOUT RMotor,RFwdFast GOTO Main Turn_Right: PULSOUT LMotor,LFwdFast PULSOUT RMotor,RRevFast GOTO Main Turn_Left: PULSOUT LMotor,LRevFast PULSOUT RMotor,RFwdFast GOTO Main Hold: Copyright ©2003 A7 Engineering, Inc.
  • Page 45 2. Make the Boe-Bot robot mimic the movements of the SumoBot by putting your hand in front of the SumoBot IR sensors. As you move your hand left, right and forward, the SumoBot will follow your hand and the Boe-Bot will mimic the same movements. Copyright ©2003 A7 Engineering, Inc.
  • Page 46: Communicating Between A Pc With An Eb600 And A Boe

    5. In the File name box, enter a file name to which to save the program just created. For example, Receive.bs2. 6. Click Save. 7. Apply power to the Board of Education board. 8. On the Run menu, click Run. Copyright ©2003 A7 Engineering, Inc.
  • Page 47: Figure 10: Hyperterminal Input And Debug Output

    To reset the eb500 attached to the Board of Education board, disconnect the power, wait a couple of seconds, and then reconnect the power. The Reset push button on the Board of Education board will NOT reset the eb500. Copyright ©2003 A7 Engineering, Inc.
  • Page 48 IF in5 = 0 THEN WaitForConnection DEBUG “Connected”,CR FOR nCount = 1 to 10 SEROUT 1,84,[“Hello World”,CR] ‘sending data PAUSE 1000 ‘wait for 1 second NEXT ‘I/O Line 6 allows us to switch to command mode. Copyright ©2003 A7 Engineering, Inc.
  • Page 49 This will display the Download Program dialog while downloading the program to the BASIC Stamp. After the download is complete the BASIC Stamp application will transmit “Hello World” over the wireless link, and HyperTerminal will display the received data (Figure 11). Copyright ©2003 A7 Engineering, Inc.
  • Page 50: Figure 11: Hyperterminal Output - Hello World

    User Manual Figure 11: HyperTerminal Output - Hello World Copyright ©2003 A7 Engineering, Inc.
  • Page 51: Communicating Between A Pc With A Dbt-120 And A Boe

    GOTO Main The application waits for an individual byte of data to arrive and then displays the byte in the debug window and then repeats this process. 4. On the File menu, click Save As. Copyright ©2003 A7 Engineering, Inc.
  • Page 52 3. Close the BASIC Stamp Editor Debug dialog. 4. Open My Bluetooth Places by double-clicking on the desktop icon. This will display the My Bluetooth Places dialog. 5. Click View or modify configuration. This will display the Bluetooth Configuration dialog. Copyright ©2003 A7 Engineering, Inc.
  • Page 53 15. In the Bits per second dropdown, select 9600. 16. In the Data bits dropdown, select 8. 17. In the Parity dropdown, select None. 18. In the Stop bits dropdown, select 1. 19. In the Flow control dropdown, select None. Copyright ©2003 A7 Engineering, Inc.
  • Page 54 Hardware tab of the Device Properties section of the Bluetooth Configuration dialog on the PC. ‘{$STAMP BS2} nCount VAR BYTE ‘I/O Line 5 provides the connection status INPUT 5 Copyright ©2003 A7 Engineering, Inc.
  • Page 55 33. On the File menu, click Save As. This will display the Save As dialog. 34. In the File name box, enter a file name to which to save the program just created. For example, HelloWorld.bs2. 35. Click Save. Copyright ©2003 A7 Engineering, Inc.
  • Page 56 This will display the Download Program dialog while downloading the program to the BASIC Stamp. After the download is complete the BASIC Stamp application will transmit “Hello World” over the wireless link, and HyperTerminal will display the received data (Figure 11). Copyright ©2003 A7 Engineering, Inc.
  • Page 57: Communicating Between An Ipaq H1940 An A Boe

    4. On the File menu, click Save As. 5. In the File name box, enter a file name to which to save the program just created. For example, ReceivePPC.bs2. 6. Click Save. 7. Apply power to the Board of Education board. Copyright ©2003 A7 Engineering, Inc.
  • Page 58: Figure 12: Hello World Pocket Pc Application

    13. In the Bluetooth Outbound COM Port dropdown, select the COM port number that matches the Bluetooth Outbound COM Port, which we discovered in a previous action. 14. Tap the Connect button. This will display the Bluetooth Browser dialog (Figure 13). Copyright ©2003 A7 Engineering, Inc.
  • Page 59: Figure 13: Ipaq Bluetooth Brower Dialog

    Service Pack 2 and the SDK for Windows Mobile 2003-based Pocket PCs. 1. Using the BASIC Stamp Editor, on the File menu, click New. This will create a new project window within the BASIC Stamp Editor. Copyright ©2003 A7 Engineering, Inc.
  • Page 60 Once a connection is established the eb500 is in data mode, which causes further calls to SEROUT to be sent to the remote device. 3. On the File menu, click Save As. Copyright ©2003 A7 Engineering, Inc.
  • Page 61: Figure 14: Rxeb500 Pocket Pc Application

    10. In the Bluetooth Inbound COM Port dropdown, select the COM port number that matches the Bluetooth Inbound COM Port, which we discovered in a previous action. 11. Tap the Connect button. 12. Apply power to the Board of Education board. Copyright ©2003 A7 Engineering, Inc.
  • Page 62 BASIC Stamp application will transmit “Hello World” over the wireless link, and the iPAQ Pocket PC application will display the received data. 14. On the iPAQ, tap the Disconnect button to close the connection. Copyright ©2003 A7 Engineering, Inc.
  • Page 63: Eb500 Commands

    Err string followed by a space followed by an ASCII string numeric value followed by a carriage-return. A prompt (>) is then issued by the eb500. >command<CR> ACK | NAK<CR> Err number<CR> > Copyright ©2003 A7 Engineering, Inc.
  • Page 64: Basic Stamp Application Eb500 Command Error Handling

    SEROUT 1,84,["con 00:0C:84:00:07:D8",CR] SERIN 0,84,[WAIT(“ACK”,CR)] ‘Either an Err #<CR> or a ">" will be received SERIN 0,84,[STR bBuffer\6\”>”] IF bBuffer(0) = “E” THEN ErrorCode … Progam Logic … ErrorCode: bErrorCode = bBuffer(4) DEBUG “Error: “,STR bErrorCode,CR Copyright ©2003 A7 Engineering, Inc.
  • Page 65: Connect

    00:0C:84:00:07:D7. timeout An optional parameter used to abort the connection request after the specified number of seconds. The maximum value is 120 seconds. Example >con 00:0C:84:00:07:D7<CR> ACK<CR> > Copyright ©2003 A7 Engineering, Inc.
  • Page 66: Disconnect

    User Manual Disconnect The disconnect command closes the connection with the remote Bluetooth device. Syntax dis<CR> Example >dis<CR> ACK<CR> > Copyright ©2003 A7 Engineering, Inc.
  • Page 67: Get Address

    Syntax get addr<CR> Returns The unique address of the local eb500 module used to identify the module when making connections. In Bluetooth terminology this is the Bluetooth Device Address. Example >get addr<CR> ACK<CR> 00:0C:84:00:07:D7<CR> > Copyright ©2003 A7 Engineering, Inc.
  • Page 68: Get Connectable Mode

    The current connectable mode setting of the local eb500 module. In Bluetooth terminology, the returned value reflects the current setting for page scan. The eb500 will accept connections. The eb500 will NOT accept connections. Example >get con<CR> ACK<CR> on<CR> > Copyright ©2003 A7 Engineering, Inc.
  • Page 69: Get Discoverable Mode

    The current discoverable mode setting of the local eb500 module. In Bluetooth terminology, the returned value reflects the current setting for inquiry scan. The eb500 is visible to other devices. The eb500 is NOT visible to other devices. Example >get dis<CR> ACK<CR> on<CR> > Copyright ©2003 A7 Engineering, Inc.
  • Page 70: Get Escape Character

    The get escape character command returns the current character used in the Switch to Command Mode command to instruct the eb500 to leave Data Mode and enter Command Mode. Syntax get escchar<CR> Example >get escchar<CR> ACK<CR> +<CR> > Copyright ©2003 A7 Engineering, Inc.
  • Page 71: Get Flow Control

    The eb500 is configured for hardware flow control and the RTS line is used for receive flow control and the CTS line is used for transmit flow control. Example >get flow<CR> ACK<CR> none<CR> > Copyright ©2003 A7 Engineering, Inc.
  • Page 72: Get Link Timeout

    If this value is set very low, the link may be lost if interference picks up for several seconds, such as when a heavy burst of 802.11 traffic is encountered. Syntax get linktimeout<CR> Example >get linktimeout<CR> ACK<CR> 5<CR> > Copyright ©2003 A7 Engineering, Inc.
  • Page 73: Help

    The eb500 command name (con, dis, get, lst, set and ver) for which to return help. Examples >hlp<CR> ACK<CR> … Help Information … <CR> > >hlp con<CR> ACK<CR> … Help Information on the Connect Command … <CR> > Copyright ©2003 A7 Engineering, Inc.
  • Page 74: List

    An optional parameter used to abort the list request after the specified number of seconds. The default value is 30. The maximum value is 120 seconds. Returns The addresses of the Bluetooth devices that are in range and visible. Example >lst<CR> ACK<CR> 00:0C:84:00:07:D7<CR> 00:80:C8:35:2C:B8<CR> > Copyright ©2003 A7 Engineering, Inc.
  • Page 75: Return To Data Mode

    EmbeddedBlue 500 Return to Data Mode The return to data mode command instructs the eb500 to enter Data Mode when there is an active connection. Syntax ret<CR> Example >ret<CR> ACK<CR> > Copyright ©2003 A7 Engineering, Inc.
  • Page 76: Set Baud Rate

    An optional parameter used to persist the new setting when the module is powered down. Example >set baud 19200<CR> ACK<CR> > Copyright ©2003 A7 Engineering, Inc.
  • Page 77: Set Connectable Mode

    Configures the eb500 so that other Bluetooth devices may not establish a connection. An optional parameter used to persist the new setting when the module is powered down. Example >set con off<CR> ACK<CR> > Copyright ©2003 A7 Engineering, Inc.
  • Page 78: Set Discoverable Mode

    Configures the eb500 so that other Bluetooth devices may not detect the presence of this eb500. An optional parameter used to persist the new setting when the module is powered down. Example >set dis on<CR> ACK<CR> > Copyright ©2003 A7 Engineering, Inc.
  • Page 79: Set Escape Character

    Command Mode. The factory default escape character is the plus sign (+). Syntax set escchar character [*]<CR> Parameters character The character the eb500 should recognize as the escape character used in the Switch to Command Mode command. Example >set escchar & *<CR> ACK<CR> > Copyright ©2003 A7 Engineering, Inc.
  • Page 80: Set Flow Control

    CTS line is used for transmit flow control. An optional parameter used to persist the new setting when the module is powered down. Example >set flow none<CR> ACK<CR> > Copyright ©2003 A7 Engineering, Inc.
  • Page 81: Set Link Timeout

    The time it takes for the eb500 to notice that a connection has been broken. The default value is 5. The maximum value is 40 seconds. An optional parameter used to persist the new setting when the module is powered down. Example >set linktimeout 10<CR> ACK<CR> > Copyright ©2003 A7 Engineering, Inc.
  • Page 82: Switch To Command Mode

    >This text is sent in data mode<CR> Data Mode <2 second pause>+++<2 second pause><CR> >get addr<CR> ACK<CR> Command Mode 00:0C:84:00:07:D8<CR> >ret<CR> ACK<CR> >This text is sent in data mode<CR> Data Mode <2 second pause>+++<2 second pause><CR> >dis<CR> Command Mode ACK<CR> > Copyright ©2003 A7 Engineering, Inc.
  • Page 83: Version

    An optional parameter used to return the build number, model number, serial number, and manufacturer. Example >ver all<CR> ACK<CR> Firmware Version: 1.0<CR> Firmware Build: 189<CR> Model Number: eb500<CR> Serial Number: 8<CR> Manufacturer: A7 Engineering<CR> > Copyright ©2003 A7 Engineering, Inc.
  • Page 84: Eb500 Error Codes

    Command only valid while active. This error occurs when there is not an active connection and a command is issued that is only valid while connected with a remote device. Table 1: eb500 Error Codes Copyright ©2003 A7 Engineering, Inc.
  • Page 85: Technical Specifications

    10x2 AppMod compatible 20 pin header with 0.1” spacing Antenna Matched internal surface mount Bluetooth Support Version 1.1 compliant with profiles L2CAP, RFCOMM, SDP, Firmware Upgradeable with optional eb600 adapter Table 2: eb500 Operating Parameters Copyright ©2003 A7 Engineering, Inc.
  • Page 86: Dimensions

    The dimensions of the eb500 are shown below in Table 3. Please reference Figure 15 to locate the referenced dimension on the eb500. Figure 15: eb500 Dimensions Dimension inches 40.2 0.125 Table 3: eb500 Dimensions Copyright ©2003 A7 Engineering, Inc.
  • Page 87: Pinout Diagram

    CMOS/TTL input, Low for command mode / High for Mode Control weak pulled down data mode 10 - 19 Reserved Reserved for future use. Module supply, 5 to 12V DC Table 4: eb500 Pinout Description Copyright ©2003 A7 Engineering, Inc.
  • Page 88: Frequently Asked Questions

    Bluetooth discovery is not deterministic, discovery on the first attempt is not guaranteed. On the PC or iPAQ, use the refresh option to search for devices again. Verify that the discoverable mode setting in the eb500 is set to on. Copyright ©2003 A7 Engineering, Inc.
  • Page 89 Board of Education board? Answer: Currently, the eb500 does not support Bluetooth Authentication Security. However, you can achieve a measure of security for receiving connections on your iPAQ by enabling Bluetooth Authorization. Copyright ©2003 A7 Engineering, Inc.
  • Page 90: Contact Information

    888.512.1024 main 916.624.8003 fax A7 Engineering has created the EmbeddedBlue product line of easy to use wireless solutions for 8 and 16 bit embedded systems. In addition, A7 provides several levels of support for OEM product integration, certification, and even custom solutions.

This manual is also suitable for:

Eb500

Table of Contents