30068 Parallax Inc, 30068 Datasheet - Page 98

EMBEDDED BLUE TRANSCEIVER APPMOD

30068

Manufacturer Part Number
30068
Description
EMBEDDED BLUE TRANSCEIVER APPMOD
Manufacturer
Parallax Inc
Datasheet

Specifications of 30068

Frequency
2.4GHz
Data Rate - Maximum
90kBaud
Modulation Or Protocol
Bluetooth v1.1, Class 2
Applications
Bluetooth v1.1
Power - Output
-4dBm
Sensitivity
-85dBm
Voltage - Supply
5 V ~ 10 V
Current - Receiving
80mA
Current - Transmitting
250mA
Data Interface
PCB, Through Hole
Antenna Connector
PCB, Surface Mount
Operating Temperature
-20°C ~ 75°C
Package / Case
Module
Product
Microcontroller Accessories
Operating Supply Voltage
5 to 12 V
Memory Size
-
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
Q2239141

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
30068
Manufacturer:
SCC
Quantity:
38
Part Number:
3006892-04
Manufacturer:
JRC
Quantity:
346
Part Number:
3006892-04
Manufacturer:
FAIRCHILD/仙童
Quantity:
20 000
Command Set
Command Error Handling in BASIC Stamp Applications
The BASIC Stamp has a software based UART; meaning it does not buffer incoming serial
data. Therefore, the checking of errors from the issuing of an eb500 command must be
performed immediately after the issuing of the command; otherwise, the data may be lost.
Below is a sample of BASIC Stamp code that issues an eb500 Connect command, waits for
the ACK<CR> response from the eb500, then waits for the error string or the prompt (>) to be
returned from the eb500. It then checks the first bye of the data returned to determine if an
error has occurred. If an error has occurred, the code jumps to the error handler code, where
an error string along with the error number is shown in the debug window of the Basic Stamp
Editor.
Page 92 ▪ EmbeddedBlue 500 User Manual
ErrorCode:
'Connect to remote Bluetooth device
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 …
bErrorCode = bBuffer(4)
DEBUG “Error: “,STR bErrorCode,CR
END

Related parts for 30068