Home

Free2move Bluetooth Wireless UART Firmware Tutorial - Digi-Key

image

Contents

1. D KO Free2move Bluetooth Wireless UART Firmware Tutorial CORPORATION 12 March 2007 Application Note DKANOO009A Features e Free2move Bluetooth evaluation board e Free2move F2M03AC2 Bluetooth module e Free2move Wireless UART firmware e Personal Computer PC Windows XP operating system e USB Bluetooth dongle Introduction This application note demonstrates the use of a Bluetooth enabled PC running Windows XP to implement a wireless connection to a Free2move Bluetooth module using the serial profile The demonstration uses Free2move s Bluetooth module flashed with their Wireless UART firmware A wireless link is established between two Hyper Terminal serial communication sessions running on the PC Screen shots illustrated in this application note are meant to be typical but may vary depending on the end users PC and Bluetooth device software installed and used Background Bluetooth as defined in Wikipedia is an industrial specification for wireless personal area networks PANs Bluetooth provides a way to connect and exchange information between devices such as mobile phones laptops PCs printers digital cameras and video game consoles over a secure globally unlicensed short range radio frequency In this demonstration an industry standard USB Bluetooth dongle and associated drivers were installed in a Windows XP based PC to add Bluetooth connectivity Free2move s Bluetooth configuration software was
2. The PC will now attempt to initiate a Bluetooth connection with the Free2move module A dialogue box may ask for a PIN number to pair the PC with the Free2move module if asked enter 0000 four zeroes and select Initiate pairing p Bluetooth Device Selection Select a device Remote devices must be in Discoverable mode for this computer to find them For assistance in making a remote device discoverable refer to the remote device s documentation a a B D3DHD Y61 deua MSI Star Key select Search Again Show all devices td If the device you are looking for is not in the list verify that the device has power and is operational On some devices you must press the Connect button to make the device discoverable lt Back Cancel Digi Key Corporation Page 4 of 10 Free2move Bluetooth Wireless UART Firmware Tutorial Select the SerialPort check box and then press Configure to select the SerialPort profile Bluetooth Service Selection x Select the services you are interested in The following services are available through the selected Bluetooth Device Select the service that you want to access on the selected device check i SerialPort 1 Establish a virtual serial port connection with a remote SerialPort Bluetooth device The connection can then be used by a P Refresh a Record the COM port number listed in Bluetooth Properties and pres
3. if not connected to a Hyper Terminal session within several minutes If this occurs double click the Free2move SerialPort icon to re establish the serial port connection Red LED Step 4 Demonstrate communication between the PC s physical COM port and the virtual serial port created with the Free2move Bluetooth module Two Hyper Terminal sessions will be initiated to test the connection Start the first Hyper Terminal communication session on the PC by selecting Start Programs Accessories Communications and then Hyper Terminal Establish a Hyper Terminal virtual Bluetooth serial port connection by entering a name for the new connection note name can be anything blue is used for this example and select OK Ts New Connection HyperTerminal 7 File Edit View Call Transfer Help Connection Description zi xi ay New Connection Enter a name and choose an icon for the connection Name enter name Digi Key Corporation Page 6 of 10 Free2move Bluetooth Wireless UART Firmware Tutorial Connect to the COM port established previously in Step 3 Bluetooth SerialPort configuration COM4 for this example and select OK s blue HyperTerminal a File Edit View Call Transfer Help D blue Enter details for the phone number that you want to dial Country region United states Area code fsevor Phone number SSS Connect using coma o YS sel
4. AND DAMAGE INCURRED BY THE CUSTOMER OR ANY THIRD PARTY AS A RESULT OF ANY INFORMATION OR RECOMMENDATION PROVIDED TO THE CUSTOMER OR THE CUSTOMER S RELIANCE ON SUCH INFORMATION OR RECOMMENDATION Digi Key Corporation Page 10 of 10
5. Transfer Help il sais olal slz DE ole 20 5 Recycle Bin fo Internet Explorer 4 gt 4 gt Connected 0 01 18 Auto detect 9600 8 N 1 7 Connected 0 03 27 Auto detect Auto detect Ui My Bluetooth Places Capabilities Limitations and Alterations A Windows XP based desktop PC installed with a USB Bluetooth dongle was used in this demonstration Different platforms such as a Bluetooth enabled laptop could be used as well Variations in the Bluetooth setup screens illustrated in this application note are possible depending on the specific USB Bluetooth dongle used Review of the user manual for the specific Bluetooth device used in the PC may be required to set up the Bluetooth serial port profile correctly to communicate with the Free2move module Conclusion This application note demonstrates wireless serial connectivity using the Bluetooth serial port profile between two Hyper Terminal sessions on a single PC One of the Hyper Terminal sessions is connected to the PC s physical serial port The other Hyper Terminal session is connected to the virtual serial port created with the Free2move Bluetooth module Additional Information Reference material F2MO3AC2 datasheet and Wireless UART User Manual can be downloaded from Free2move s web page at http www free2move se support php Bluetooth Modules F2M03AC2 Brief datasheet PDF file 84 kb F2MO3AC2 Full datasheet PDF file 1 2 Mb Wireless UART
6. User Manual For F2M01 F2M03C1 C2 and F2M03AC2 Wireless UART v 3 PDF file 1 2 Mb Digi Key Corporation Page 9 of 10 Free2move Bluetooth Wireless UART Firmware Tutorial Appendix A Free2move Configuration Software Free2move configuration software can be downloaded from Free2move s support page http www free2move se support php Bluetooth Configuration Software For F2M01 F2M03C1 C2 and F2M03AC2 Free2move Bluetooth Configuration Software version 3 03 EXE file 1 3 Mb Disclaimer Digi Key offers its Technical Assistance and Design Support Services as a convenience to Digi Key customers Digi Key Technical Assistance and Design Support Services personnel strive to provide useful information regarding Digi Key products DIGI KEY DOES NOT GUARANTEE THAT ANY INFORMATION OR RECOMMENDATION PROVIDED IS ACCURATE COMPLETE OR CORRECT AND DIGI KEY SHALL HAVE NO RESPONSIBILITY OR LIABILITY WHATSOEVER IN CONNECTION WITH ANY INFORMATION OR RECOMMENDATION PROVIDED OR THE CUSTOMER S RELIANCE ON SUCH INFORMATION OR RECOMMENDATION THE CUSTOMER IS SOLELY RESPONSIBLE FOR ANALYZING AND DETERMINING THE APPROPRIATENESS OF ANY INFORMATION OR RECOMMENDATION PROVIDED BY DIGI KEY TECHNICAL ASSISTANCE AND DESIGN SUPPORT SERVICES PERSONNEL AND ANY RELIANCE ON SUCH INFORMATION OR RECOMMENDATION IS AT THE CUSTOMER S SOLE RISK AND DISCRETION ACCORDINGLY THE CUSTOMER SHALL RELEASE AND HOLD DIGI KEY HARMLESS FROM AND AGAINST ANY AND ALL LOSS LIABILITY
7. also installed on the PC see Appendix A for weblink to download and installation instructions This application note utilizes the Bluetooth serial port profile there are many additional Bluetooth profiles including headset human interface advanced audio etc not covered in this application note Application Step 1 Set up the Free2move Bluetooth evaluation board Turn on the PC connect the 5VDC power supply and serial cable to the Free2move evaluation board a green power LED will light lt _ 5VDC power supply a iow Ty module at as Fim serial cable eval board green power LED Page 1 of 10 Free2move Bluetooth Wireless UART Firmware Tutorial Step 2 Configure the F2M03AC2 Bluetooth module with Free2move s serial profile firmware Run the Free2move Configuration Software on the PC by clicking on Start then All programs then Free2move note if the Free2move configuration software has not been installed refer to Appendix A fg Free2move Configuration Software a Freezmove Configuration Software g Free move Configuration Software on the web Uninstall Free move Configuration Software When the application starts choose the PC COM port connected to the eval board COM1 for this example Since the Free2move module being configured is type F2M03 check box Use hardware flow control and select OK Free move Bluetooth Co nfiguration x Choose se
8. ay o milliseconds Character delay jo milliseconds C Play sound when connecting or disconnecting ASCII Setup ASCII Receiving C Append line feeds to incoming line ends Cancel 66 gt 29 Lox J check Wrap lines C Force incoming data to 7 bit ASCII Wrap lines that exceed terminal width then select OK Start a second Hyper Terminal session by repeating the previous steps to create a new connection called serial for this example to the PC s physical COM port COM1 for this example Configure the port settings to match the virtual blue connection 9600 8 None 1 Hardware for this example Size the two Hyper Terminal sessions to fit visibly in the screen serial blue My Computer serial HyperTerminal i T x blue HyperTerminal ioj x Ele Edit View Call Transfer Help File Edit View Call Transfer Help De ols sla ala El Places Z Recycle Bin fo Internet Explorer Digi Key Corporation Page 8 of 10 Free2move Bluetooth Wireless UART Firmware Tutorial Test the wireless connection by selecting one of the Hyper Terminal sessions and type characters on the PC s keyboard Digi Key for this example The characters typed will appear on both of the Hyper Terminal sessions keystrokes are echoed locally and sent to the other COM connection serial HyperTerminal blue HyperTerminal 0 x File Edit Yiew Call Transfer Help File Edit Yiew Call
9. e PC paired with it previously Select Bluetooth Setup Wizard to initiate process to actively search for all available devices My Bluetooth Places File Edit wiew Bluetooth Favorites Tools Help sack r bi J Search Folders r Address B My Bluetooth Places Free move inna oy Freezmove SerialPort wear Mot Connected Bluetooth Tasks Bluetooth Setup Wizard my View My Bluetooth services H view devices in range Q View or modify configuration Select option I want to find a specific Bluetooth device and click on Next to start search Bluetooth Setup i xj Welcome to the Bluetooth Setup Wizard This Wizard will help you set up your Bluetooth environment What would you like to do know the service want to use and want to find a Bluetooth device that provides that service select _ Pe ea eared Pe ny ne want to find a specific Bluetooth device and configure how this computer will use its services Z Mie ay C want to configure the Bluetooth services that this computer will provide to remote devices want to change the name and or device type that this computer displays to other Bluetooth devices Cancel Several devices may be shown in the dialogue box depending on active Bluetooth devices in the area Since the Free2move module will be configured select the Free2move icon and click on Next
10. e configuration Select the Serial port tab to check the serial port settings Record the serial port settings 9600 None 8 1 Flow control On for this example You will need to enter these settings later on in the application note Final step in the configuration is to click Write configuration which programs the configuration into the Bluetooth module s flash memory When the write configuration completes close the Free2move configuration software window Toggle power to the Free2move evaluation board to boot the updated configuration At this point the Free2move Bluetooth module has been configured as an endpoint using the serial profile Free2move configuration software File Configuration Help record Serial port settings settin 2 S Baudrate 3600 hi Parity None v Data bits Stop bits N Flow control Read configuration Write configuration Step 3 Have the Bluetooth enabled PC search for the Free2move module and pair with it Pairing is the process that allows communication between the Bluetooth devices Double click on the Bluetooth icon in the tool bar to show My Bluetooth Places Bluetooth icon mee Sy 12 10 PM Digi Key Corporation Page 3 of 10 Free2move Bluetooth Wireless UART Firmware Tutorial My Bluetooth Places may list several or no devices depending on any previous devices paired with the PC In this example the Free2move module is shown which indicates th
11. ect COM port Configure the port settings to match those established in Step 2 during configuration of the Free2move Bluetooth module 9600 8 None 1 Hardware for this example and select OK blue HyperTerminal E File Edit Yiew Call Transfer Help Port Settings C OM p ort Bits per second EN setting S Data bits bo H Parity None Stop bits fi 7 Flow control Hardware Restore Defaults Cancel Apply 9 Modify the properties of the Hyper Terminal session by selecting File then Properties blue HyperTerminal fel AG Edit view Call Transfer Help New Connection Open Save Save S Page Setup Print select Properties Exit Alt F4 Displays the properties of the current session are Digi Key Corporation Page 7 of 10 Free2move Bluetooth Wireless UART Firmware Tutorial In the Properties dialogue box select the Settings tab then ASCII Setup blue Properties Connect To Settings Function arrow and ctrl keys act as select Terminal keys Windows keys Backspace key sends CthkH Del Cti H Space Ctrl H Emulation ASCII Setup Auto detect Terminal Setup In AS CII S etup ASCII Sending c6 29 Telnet terminal ID check Send line Send line ends with line feeds c6 29 Backscroll buffer lines 500 check Echo typ ed Echo typed characters locally Line del
12. rial port Choose the com port that the Freeemove Bluetooth device is connected to check box After the PC communicates successfully to the Free2move eval board Product ID and Bluetooth Device Address unique to each Bluetooth device will be displayed in Local device information under the General tab Free2move configuration software File Configuration Help Local device information Device name settings de ice in fo Product ID F2M034C2 Bluetooth Device Name y Hardware version 1000 20 02 00 Free2move Sokwara version 304 Bluetooth Service Name Article number F2M034C2 001 R1D SerialPort Bluetooth Device Address 00 Ob ce 00 9b ec Read configuration Write configuration Digi Key Corporation Page 2 of 10 Free2move Bluetooth Wireless UART Firmware Tutorial The Bluetooth module needs to be configured as an endpoint to enable the serial profile wireless connection Select Endpoint tab then select Require passkey for Security mode and enter 0000 in Passkey box A passkey provides additional security Endpoint tab Free2move configuration software File Configuration Help Device mode settings Require Passkey Device mode Require encryption Security Endpoint Bluetooth slave Passkey 0000 mode Security mode Require passkey X No authentication Require paired device Iv Ei Passkey foo foo foo foo foo foo TELEL e jeran Read configuration Writ
13. s OK note in this example the COM port used is COM4 but may be different depending on PC and configuration Bluetooth Properties f 2 x General 7 gt Free2move SerialPort IV Secure Connection record COM port COM Port coma Cancel Apply My Bluetooth Places will now show the Free2move SerialPort icon as Not Connected My Bluetooth Places File Edit View Bluetooth Favorites Tools Help Q a k Bi a Search gt Falders Address EJ My Bluetooth Places Free more Freezmove SerialPort i Nok Connected note Not Connected Bluetooth Tasks 6 Bluetooth Setup Wizard y View My Bluetooth services Y View devices in range Ea View or modify configuration Digi Key Corporation Page 5 of 10 Free2move Bluetooth Wireless UART Firmware Tutorial Double click the Free2move SerialPort icon to establish the connection My Bluetooth Places File Edit view Bluetooth Favorites Tools Help Address J My Bluetooth Places Free2move NN Free2move SeriaPortg d COM4 connected to COM4 Bluetooth Tasks 6 Bluetooth Setup Wizard eb View My Bluetooth services Y View devices in range Connected Ci Q view or modify configuration A red LED on the Free2move evaluation board will light to indicate a virtual serial connection has been established note the serial connection may break and red LED extinguish

Download Pdf Manuals

image

Related Search

Related Contents

D4K2560 - Christie  Philips Wireless Rear Audio module RWSS5510  OSPE Steering Valve Technical Information Manual  Wilsonart 1855K553764896 Use and Care Manual  vol.44 - 三井住友フィナンシャルグループ  Samsung HL-P5067W User's Manual  E4506 UK Süd IB Content dig. DL.indd  Polar RS800CX User's Manual  

Copyright © All rights reserved.
Failed to retrieve file