background image

Copyright © Parallax Inc.

Easy Bluetooth (#30085)

v1.3  4/14/2010  Page 6 of 9

Troubleshooting

From time to time there may be some snags that can cause what would seem like malfunctions in the 
module. If you experience any of the symptoms listed below, here are some quick fixes to try.

Q1. Will not connect to Easy Bluetooth module?

A1. Verify that the Bluetooth device has been properly installed via the Device Manager; there may be 
drivers needed depending on the type of Bluetooth dongle/module you are using.

Q2. Bluetooth port isn’t available for selection in the new DEBUG window.
A2. Be sure that the com port is included in the port search for the BASIC Stamp editor; for details on 

how to do this, please refer to the BASIC Stamp Help file in the editor (version 2.5 or later)

Q3. Will not power up?

A3. Verify that the module is connected correctly and that Vdd and Vss have not been swapped.

Q4. Receiving Easy Bluetooth connection LED (green) blinks, but no information is displayed on the 
DEBUG screen?
A4. If the receiving modules LED is blinking, then there is a completed connection and the setting in the 

debug window is not set properly. Verify that the correct com port and baud rate is selected in the 
terminal window. If com port does not come up, please see A2 above.

Q5: What if I don’t have a Board of Education with an AppMod Header; can the Easy Bluetooth be used 

with the HomeWork Board or a breadboard?
A5: Yes you may. There are 4 connections needed to correctly connect the Easy Bluetooth module to a 
microcontroller, the Rx, Tx, Vss (ground) and Vdd (+5VDC). Here is an example that connects the Easy 

Bluetooth module to the HomeWork Board, but could as easily be another type of controller with the 
provided connections. Here are two pictures with the connections made to a HomeWork Board. Please 

keep in mind, the connections match the example program provided.

Example Application

This example application uses the RoboTech SRL GUI interface to control a Boe-Bot

®

 robot via Bluetooth. 

Easy Bluetooth module front connection

Easy Bluetooth module back connection

Summary of Contents for Easy Bluetooth

Page 1: ...board regulator the module can be connected to voltages higher than 3 3 VDC such as the Board of Education regulated supply 5 VDC without worry of damaging the unit while the RX and TX can utilize serial communication at CMOS and TTL levels Features 1 x 2 0 Bluetooth Compliant Class 2 Operation nominal range up to 30 meters 10 pin SIP package for breadboard perfboard or Board of Education AppMod H...

Page 2: ...etooth module into the AppMod header of the Board of Education insert the module in the left row of the AppMod Header and notice there are labels on the module that indicate correct pin placement Rx uses P0 Tx uses P2 Vss with Vss and Vdd with Vdd Visually confirm the module is inserted correctly using Figure 2 before powering 3 Connect a communication cable and power supply to the Board of Educat...

Page 3: ...uses the AppMod Header on the Board of Education the BASIC Stamp 2 at 9600 baud 2 The easiest way to see in your code if a Bluetooth connection has been established is to wait for a byte to be received You can copy the program below into the BASIC Stamp Editor to ensure a proper connection STAMP BS2 PBASIC 2 5 RX CON 2 Receive Pin TX CON 0 Transmit Pin Baud CON 84 9600 Baud combyte VAR Byte Commun...

Page 4: ...less alternative to RS232 data cables It can connect several devices overcoming problems of synchronization There are various versions of Bluetooth communication and the Easy Bluetooth is compatible with versions 1 x and 2 0 Precautions The Easy Bluetooth uses the microwave radio frequency spectrum in the 2 4 GHz to 2 4835 GHz range Maximum power output from this Bluetooth radio 2 5 mW Class 2 dev...

Page 5: ...yright Parallax Inc Easy Bluetooth 30085 v1 3 4 14 2010 Page 5 of 9 Connection Diagram Module Dimensions Vdd nc nc nc nc nc nc Rx Tx GND 3 3 VDC Vdd 5 VDC 1 79 in 45 65 mm 1 40 in 34 41 mm 1 79 in 45 65 mm ...

Page 6: ...ED green blinks but no information is displayed on the DEBUG screen A4 If the receiving modules LED is blinking then there is a completed connection and the setting in the debug window is not set properly Verify that the correct com port and baud rate is selected in the terminal window If com port does not come up please see A2 above Q5 What if I don t have a Board of Education with an AppMod Head...

Page 7: ...t that was previously established with the Bluetooth configuration 4 Download the program below using the BASIC Stamp Editor ctrl r to the BASIC Stamp 2 and then download the program below to the BASIC Stamp 2 using Run Run or crtl r 5 Disconnect the Boe Bot from PC 6 Click Connect in the BoeBot Remote Control application to gain control of the Boe Bot BASIC Stamp 2 Program File Easy Bluetooth bs2...

Page 8: ... used in SERIN commands with variations of WAIT buffer0 VAR Byte Buffer Start char ff buffer1 VAR Byte Message Index value buffer2 VAR Byte Command buffer3 VAR Byte Argument 1 return data 1 buffer4 VAR Byte Argument 2 return data 2 buffer VAR buffer0 For standard array indexing msgIndex VAR Byte message index rxc VAR Byte Receive Clear Initialization Program_Start LOW LED DEBUG CLS PAUSE 1000 Wait...

Page 9: ...e Get next command WAITSTR buffer 2 buffer2 buffer3 buffer4 PULSOUT 13 tLeft Servo control pulses again PULSOUT 12 tRight LOOP Reply msgIndex msgIndex 1 Increment message index for reply buffer1 msgIndex Next message from PC has to use reply s buf 1 SEROUT BT_TX BT_SPEED STR buffer 5 Subroutines Set_Servo_Speed Maps to 650 to 850 with 750 stopped tLeft buffer3 650 Decode servo speed tRight buffer4...

Page 10: ...Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information Parallax 30085 ...

Reviews: