TOOTHPIC RF Solutions, TOOTHPIC Datasheet - Page 74

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)
Page 74
† Note that the master / slave distinction merely refers to which device establishes the connection. Both devices may send
data to the other. Either device may choose to disconnect; in addition, automatic disconnection will occur if they go out of
range of each other. BlueMatik commands generating an OK response (0201) should not be regarded as complete until the
OK response is generated.
Setting CCP1 as CCP output
Command
04020403
040205FF
04021C02
05031C01FF
Setting AN11 as analog input
Command
04020102
030411
Setting AN11, AN10, AN9 as parallel output
Command
04020603
04030605
Setting AN11, AN10, AN9 as parallel input
Command
04020613
030406
Bluetooth slave mode connection
Command
030501
Bluetooth inquiry & master mode connection
Command
0405040F
0905028000
46B939B0
0805104865
6C6C6F
030506
030503
9-Apr-06
Toothpick 3.0.00007
Response
0201
0201
0201
0201
Response
0201
05041103EB
Response
0201
0201
Response
0201
04040603
Response
0201
090503080046B939B0
08051048656C6C6F
030504
Response
(Busy - No immediate
response)
160505080046B939B0466C
65786950616E656C205600
16050500043E80C44B506F
636B65745F504300656C00
030504
090502800046B939B0
0201
0201
030507FF
030504
0201
DS380-8
Meaning
Set PWM time base to 3.2µs
Set PWM period to (0xFF+1) x 3.2µs = 819.2µs (1220Hz)
Set CCP1 to PWM output
Set duty cycle to 0x01FF x (3.2µs / 4) = 408.8µs
Meaning
Set parallel output A to 3-bit
Set output to 0x05 = 101 binary
Meaning
Set parallel input A to 3-bit
Read input value, result 0x03 = 011 binary
Meaning
Set AN0 and AN1 as analog inputs
Read AN1
© FlexiPanel Ltd
Meaning
Enters slave mode
Remote device with ID 80:00:46:B9:39:B0
connects
Remote device sent ASCII Hello
Remote device disconnected
Meaning
Do device inquiry for 0x0F seconds
Remote device with ID 80:00:46:B9:39:B0
found, name begins “FlexiPanel”
Remote device with ID 80:00:46:B9:39:B0
found, name begins “Pocket_PC”
End of device inquiry (command complete)
Connect to remote device with ID
00:04:3E:80:C4:4B; connection successful
Enquire link quality
Quality is reasonably good
Send ASCII “Hello” to remote device.
Disconnect from remote device
Patents apply and/or pending
www.FlexiPanel.com

Related parts for TOOTHPIC