TOOTHPIC RF Solutions, TOOTHPIC Datasheet - Page 61

MODULE, BLUETOOTH, DATA ACQUISITION

TOOTHPIC

Manufacturer Part Number
TOOTHPIC
Description
MODULE, BLUETOOTH, DATA ACQUISITION
Manufacturer
RF Solutions
Datasheet

Specifications of TOOTHPIC

Svhc
No SVHC (15-Dec-2010)
If the pin is not already configured as an output, the value will be ignored. I/O pin value commands must not
be sent for pins used for external memory and flow control purposes.
Get I/O Command
The command byte 0x04 requests a ToothPIC I/O value. The byte after the command byte is the Property
Byte, which specifies the exact I/O value being requested. The value will be read and transmitted as an I/O
value response.
If the pin is configured as digital output, the result will be the current output value. If the pin is configured as
CCP output, the result will be unpredictable. I/O pin value commands must not be sent for pins used for
external memory and flow control purposes.
BlueMatik Command
The command byte 0x05 is for the BlueMatik Commands, which are sent directly to the Bluetooth radio. They
allow device discovery, connection, transmission of raw data etc. The byte after the command byte is the
Property Byte, which specifies the BlueMatik Property being modified. The remaining bytes represent any
data associated with the command.
Page 61
9-Apr-06
Set I/O Command Examples
Set AN10 as high (binary)
Set AN10 as high (ASCII)
Set CCP2 as 33% duty cycle (binary)
Get I/O Command Properties
Property Byte
0x06
0x07
0x10 – 0x1B
0x1C – 0x20
0x21 – 0x22
0x23
0x24
0x25
0x30
0x31
0x32
Get I/O Command Examples
Get AN10 (binary)
Get AN10 (ASCII)
Get CCP2 (binary)
BlueMatik Command Properties
Property
Byte
0x01
0x02
0x03
0x04
0x06
0x07
0x08
Toothpick 3.0.00007
Property
Enter slave mode
Connect in master mode
Disconnect
Inquire
Enquire link quality
Enquire signal strength
Enter sniff mode
Property
Parallel I/O A input
Parallel I/O B input
AN0 – AN11 input
CCP1 – CCP5 input
INT0 – INT1 input
SCL input
SDA input
SDO input
Green LED
Red LED
Pushbutton
DS380-8
© FlexiPanel Ltd
0x04 0x03 0x1A 0x01
“04031A01<CR><LF>”
0x04 0x03 0x1D 0x01 0x55
0x03 0x04 0x1A
“03041A<CR><LF>”
0x03 0x04 0x1D
Remaining Byte(s)
None
6-byte Bluetooth device ID to connect to
None
1 byte inquiry duration in seconds, range
None
None
None
0x02 to 0x3C
Patents apply and/or pending
www.FlexiPanel.com

Related parts for TOOTHPIC