Return to Data Mode ......................28 Set Baud Rate ........................29 Set Connectable Mode......................30 Set Encrypt Mode........................ 31 Set Escape Character ......................32 Set Flow Control........................33 Set Link Timeout ......................... 34 Set Name ..........................35 EmbeddedBlue 505 User Manual ▪ Page i...
Page 4
Set Visible Mode........................38 Switch to Command Mode....................39 Version..........................40 Firmware Upgrade........................41 Upgrading the eb505 Firmware ...................41 Error Codes..........................45 Technical Specifications .......................47 Operating Parameters ......................47 Dimensions ..........................48 Pin out..........................49 Frequently Asked Questions ....................51 Contact Information .......................53 Page ii ▪ EmbeddedBlue 505 User Manual...
Page 5
Table of Figures Table of Figures Figure 1: eb505 Module......................9 Figure 2: eb505 Dimensions....................48 EmbeddedBlue 505 User Manual ▪ Page iii...
Page 6
Table of Tables Table of Tables Table 1: eb505 Error Codes....................45 Table 2: eb505 Operating Parameters..................47 Table 3: eb505 Dimensions ....................48 Table 4: eb505 Pin out Description ..................49 Page iv ▪ EmbeddedBlue 505 User Manual...
Introduction Introduction Congratulations on your purchase of the EmbeddedBlue 505 (eb505) serial Bluetooth module. The eb505 is designed for direct connection to microcontrollers with a 5V serial interface enabling wireless communications with other Bluetooth devices including cellular phones, handheld computers, PCs, and other serial port adapters. Hobbyists, developers, and OEMs can take advantage of advanced wireless connectivity with this easy to use module.
The forum is monitored by A7 Engineering employees so that your question will be answered in a thorough and timely manner. If your question involves sensitive information you can request private support by sending an email to support@a7eng.com.
This provides robust recovery of packet errors caused by interference from another radio source at a particular frequency. Also, data is generally more secure because it is not possible to receive more than a fraction of the data EmbeddedBlue 505 User Manual ▪ Page 3...
SPP profile which enables it to appear like a traditional serial port. This virtually eliminates the need for the user to have specific Bluetooth knowledge and allows the radios to be integrated into applications very quickly. Page 4 ▪ EmbeddedBlue 505 User Manual...
The first important element of Bluetooth security is availability. If a device cannot be seen or connected with, it is obviously quite secure. Bluetooth defines both of these features as part EmbeddedBlue 505 User Manual ▪ Page 5...
Page 12
This only has an effect when security is set to either open or closed. The EmbeddedBlue module supports 56-bit encryption by default, but 128-bit encryption is available. Due to export restrictions to certain countries, firmware supporting 128-bit encryption is only available with proper approval from A7 Engineering. Page 6 ▪ EmbeddedBlue 505 User Manual...
NO further commands can be sent until the eb505 radio is disconnected or switched back to command mode by use of the mode control I/O line or the Switch to Command Mode sequence. EmbeddedBlue 505 User Manual ▪ Page 7...
The eb505 allows you to switch between data mode and command mode by issuing the Switch to Command Mode and Return to Data Mode commands or by driving the MODE control I/O line (P6) of the eb505 module. Page 8 ▪ EmbeddedBlue 505 User Manual...
CN1 is marked with a white dot (Figure 1). A full device pin out is available in the Technical Specifications section of this manual. Pin 1 Marked by White Dot Figure 1: eb505 Module EmbeddedBlue 505 User Manual ▪ Page 9...
Page 16
Hardware Connections This page intentionally left blank. Page 10 ▪ EmbeddedBlue 505 User Manual...
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 module. >command<CR> ACK | NAK<CR> Err number<CR> > EmbeddedBlue 505 User Manual ▪ Page 11...
00:0C:84:00:05:29. An optional parameter used to abort the connection request timeout after the specified number of seconds. The maximum value is 120 seconds. Example >con 00:0C:84:00:05:29<CR> ACK<CR> > Page 12 ▪ EmbeddedBlue 505 User Manual...
IEEE address which is unique for each Bluetooth unit. The format of a Bluetooth device address is a series of six hexadecimal byte values separated by colons, i.e., 00:0C:84:00:05:29. Example >del trusted 00:0C:84:00:05:29<CR> ACK<CR> > EmbeddedBlue 505 User Manual ▪ Page 13...
Command Set Disconnect The disconnect command closes the connection with the remote Bluetooth device. Syntax dis<CR> Example >dis<CR> ACK<CR> > Page 14 ▪ EmbeddedBlue 505 User Manual...
Returns The unique address of the local EmbeddedBlue device used to identify the module when making connections. In Bluetooth terminology this is the Bluetooth Device Address. Example >get address<CR> ACK<CR> 00:0C:84:00:05:29<CR> > EmbeddedBlue 505 User Manual ▪ Page 15...
The current connectable mode setting of the local EmbeddedBlue device. In Bluetooth terminology, the returned value reflects the current setting for page scan. The device will accept connections. The device will NOT accept connections. Example >get connectable<CR> ACK<CR> on<CR> > Page 16 ▪ EmbeddedBlue 505 User Manual...
This setting controls whether the module encrypts transmitted data when security is set to either open or closed. By default EmbeddedBlue modules use 56-bit encryption, but 128-bit encryption is available upon request. Contact A7 Engineering for more information about getting 128-bit encryption.
The get escape character command returns the current character used in the Switch to Command Mode command to instruct the EmbeddedBlue device to leave Data Mode and enter Command Mode. Syntax get escchar<CR> Example >get escchar<CR> ACK<CR> +<CR> > Page 18 ▪ EmbeddedBlue 505 User Manual...
The EmbeddedBlue device 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> > EmbeddedBlue 505 User Manual ▪ Page 19...
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> > Page 20 ▪ EmbeddedBlue 505 User Manual...
If you look for local Bluetooth devices from a PC or PDA, this is the value that will be displayed to the user. Syntax get name<CR> Example >get name<CR> ACK<CR> eb505<CR> > EmbeddedBlue 505 User Manual ▪ Page 21...
The module will allow any Bluetooth device that provides the correct passkey to establish a connection. closed The module will only allow trusted devices to establish a connection. Example >get security<CR> ACK<CR> open<CR> > Page 22 ▪ EmbeddedBlue 505 User Manual...
The current visible mode setting of the module. In Bluetooth terminology, the returned value reflects the current setting for inquiry scan. The module is visible to other devices. The module is NOT visible to other devices. Example >get visible<CR> ACK<CR> on<CR> > EmbeddedBlue 505 User Manual ▪ Page 23...
The EmbeddedBlue command name (con, del, dis, get, lst, command rst, 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> > Page 24 ▪ EmbeddedBlue 505 User Manual...
List of the trusted device addresses. These devices are the only ones that are allowed to connect with this module when security is set to closed. Example >lst trusted<CR> ACK<CR> 00:0C:84:00:05:29<CR> 00:80:C8:35:2C:B8<CR> > EmbeddedBlue 505 User Manual ▪ Page 25...
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 visible<CR> ACK<CR> 00:0C:84:00:05:29<CR> 00:80:C8:35:2C:B8<CR> > Page 26 ▪ EmbeddedBlue 505 User Manual...
Command Set Return to Data Mode The return to data mode command instructs the module to enter Data Mode when there is an active connection. Syntax ret<CR> Example >ret<CR> ACK<CR> > Page 28 ▪ EmbeddedBlue 505 User Manual...
An optional parameter used to persist the new setting when the module is powered down. Example >set baud 19200<CR> ACK<CR> > EmbeddedBlue 505 User Manual ▪ Page 29...
Configures the module 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 connectable off<CR> ACK<CR> > Page 30 ▪ EmbeddedBlue 505 User Manual...
When security is turned off, the transmitted data is never encrypted. By default EmbeddedBlue modules use 56-bit encryption, but 128-bit encryption is available upon request. Contact A7 Engineering for more information about getting 128-bit encryption. Syntax set encrypt on | off [*]<CR>...
The character the module should recognize as the escape character character used in the Switch to Command Mode command. An optional parameter used to persist the new setting when the module is powered down. Example >set escchar & *<CR> ACK<CR> > Page 32 ▪ EmbeddedBlue 505 User Manual...
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> > EmbeddedBlue 505 User Manual ▪ Page 33...
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> > Page 34 ▪ EmbeddedBlue 505 User Manual...
A new device name. This value can be up to 32 characters value in length and may contain any valid ASCII character. An optional parameter used to persist the new setting when the module is powered down. Example >set name eb505<CR> ACK<CR> > EmbeddedBlue 505 User Manual ▪ Page 35...
A new passkey value that is between 1 and 16 digits long. value An optional parameter used to persist the new setting when the module is powered down. Example >set passkey MyNewKey<CR> ACK<CR> > Page 36 ▪ EmbeddedBlue 505 User Manual...
Configures the module to only allow trusted devices to establish a connection. An optional parameter used to persist the new setting when the module is powered down. Example >set security open<CR> ACK<CR> > EmbeddedBlue 505 User Manual ▪ Page 37...
Configures the module so that other Bluetooth devices can NOT detect its presence. An optional parameter used to persist the new setting when the module is powered down. Example >set visible on<CR> ACK<CR> > Page 38 ▪ EmbeddedBlue 505 User Manual...
Data Mode <2 second pause>+++<2 second pause><CR> >get addr<CR> ACK<CR> Command Mode 00:0C:84:00:05:29<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> > EmbeddedBlue 505 User Manual ▪ Page 39...
An optional parameter used to return the build number, model number, serial number, and manufacturer. Example >ver all<CR> ACK<CR> Firmware Version: 2.0<CR> Firmware Build: 247<CR> Model Number: eb505<CR> Serial Number: 1008<CR> Manufacturer: A7 Engineering<CR> > Page 40 ▪ EmbeddedBlue 505 User Manual...
In this step we will install the EmbeddedBlue DFU utility onto your PC. To execute this step you must have previously downloaded the EmbeddedBlue DFU utility from the A7 Engineering web site. If you have previously installed the EmbeddedBlue DFU utility you may proceed to the next step.
Page 48
In this step we will step through the EmbeddedBlue DFU Wizard and upgrade the firmware of the eb505 module. Launch the EmbeddedBlue DFU Wizard. From the Start menu select All Programs then A7 Engineering then EmbeddedBlue DFU. The first page of the wizard is the introduction page; click Next to continue.
Page 49
RS232 Adapter. eb505 2. Che ck the version information by issuing the version command. To view the version information, type ver all at the “>” prompt and press the return key. Example: >ver all EmbeddedBlue 505 User Manual ▪ Page 43...
Page 50
Firmware Upgrade Firmware Version: 2.0 Firmware Build: 247 Model Number: eb505 Serial Number: 1008 Manufacturer: A7 Engineering > 3. Close the terminal emulator. Page 44 ▪ EmbeddedBlue 505 User Manual...
Command not valid during startup. This error occurs when a command has been issued before the EmbeddedBlue module is fully powered up and initialized. Table 1: eb505 Error Codes EmbeddedBlue 505 User Manual ▪ Page 45...
Page 52
Error Codes This page intentionally left blank. Page 46 ▪ EmbeddedBlue 505 User Manual...
Two 10x2 20 pin 0.1” headers Antenna Matched internal surface mount Bluetooth Support Version 1.2 compliant with profiles L2CAP, RFCOMM, SDP, SPP Firmware Upgradeable via PC application with RS232 adapter. Table 2: eb505 Operating Parameters EmbeddedBlue 505 User Manual ▪ Page 47...
2.0 device with the “set security off” command. I used the set visible command to make the eb505 module not visible to Question: other devices, but when I perform a scan from my PC I still see the device. Why? EmbeddedBlue 505 User Manual ▪ Page 51...
Page 58
These results are typically only cached until the Bluetooth stack is reset, so if you reboot the PC or remove and reinsert the dongle you should no longer see the device. Page 52 ▪ EmbeddedBlue 505 User Manual...
Contact Information Contact Information 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.
Need help?
Do you have a question about the EmbeddedBlue 505 and is the answer not in the manual?
Questions and answers